| # Copyright 2016 The Chromium Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| source_set("synchronization") { | |
| sources = [ | |
| "debug_thread_checker.h", | |
| "pipeline.cc", | |
| "pipeline.h", | |
| "semaphore.cc", | |
| "semaphore.h", | |
| ] | |
| deps = [ | |
| "//flutter/glue", | |
| "//lib/ftl", | |
| ] | |
| } | |
| executable("synchronization_unittests") { | |
| testonly = true | |
| sources = [ | |
| "semaphore_unittest.cc", | |
| ] | |
| deps = [ | |
| ":synchronization", | |
| "//flutter/testing", | |
| ] | |
| } |