Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| 11 } | 11 } |
| 12 | 12 |
| 13 # TODO(vtl): Should we get rid of this? | |
|
jamesr
2015/10/23 23:12:55
yes?
viettrungluu
2015/10/24 00:04:57
Yeah, but then there's a cascade of things that re
| |
| 13 config("system_config") { | 14 config("system_config") { |
| 14 defines = [ | |
| 15 # Ensures that dependent projects import the core functions on Windows. | |
| 16 "MOJO_USE_SYSTEM_IMPL", | |
| 17 ] | |
| 18 } | 15 } |
| 19 | 16 |
| 20 component("system") { | 17 component("system") { |
| 21 output_name = "mojo_system_impl" | 18 output_name = "mojo_system_impl" |
| 22 | 19 |
| 23 sources = [ | 20 sources = [ |
| 24 "async_waiter.cc", | 21 "async_waiter.cc", |
| 25 "async_waiter.h", | 22 "async_waiter.h", |
| 26 "awakable.h", | 23 "awakable.h", |
| 27 "awakable_list.cc", | 24 "awakable_list.cc", |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 113 "slave_connection_manager.h", | 110 "slave_connection_manager.h", |
| 114 "thread_annotations.h", | 111 "thread_annotations.h", |
| 115 "transport_data.cc", | 112 "transport_data.cc", |
| 116 "transport_data.h", | 113 "transport_data.h", |
| 117 "unique_identifier.cc", | 114 "unique_identifier.cc", |
| 118 "unique_identifier.h", | 115 "unique_identifier.h", |
| 119 "waiter.cc", | 116 "waiter.cc", |
| 120 "waiter.h", | 117 "waiter.h", |
| 121 ] | 118 ] |
| 122 | 119 |
| 123 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] | |
| 124 | |
| 125 all_dependent_configs = [ ":system_config" ] | 120 all_dependent_configs = [ ":system_config" ] |
| 126 | 121 |
| 127 public_deps = [ | 122 public_deps = [ |
| 128 "../embedder", | 123 "../embedder", |
| 129 "../embedder:delegates", | 124 "../embedder:delegates", |
| 130 "../embedder:platform", | 125 "../embedder:platform", |
| 131 "../util", | 126 "../util", |
| 132 "../../public/c/system", | 127 "../../public/c/system", |
| 133 "../../public/cpp/system", | 128 "../../public/cpp/system", |
| 134 ] | 129 ] |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 244 deps = [ | 239 deps = [ |
| 245 ":system", | 240 ":system", |
| 246 ":test_utils", | 241 ":test_utils", |
| 247 "../test:test_support", | 242 "../test:test_support", |
| 248 "//base", | 243 "//base", |
| 249 "//base/test:test_support", | 244 "//base/test:test_support", |
| 250 "//base/test:test_support_perf", | 245 "//base/test:test_support_perf", |
| 251 "//testing/gtest", | 246 "//testing/gtest", |
| 252 ] | 247 ] |
| 253 } | 248 } |
| OLD | NEW |