| 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 config("system_config") { | 5 config("system_config") { |
| 6 defines = [ | 6 defines = [ |
| 7 # Ensures that dependent projects import the core functions on Windows. | 7 # Ensures that dependent projects import the core functions on Windows. |
| 8 "MOJO_USE_SYSTEM_IMPL", | 8 "MOJO_USE_SYSTEM_IMPL", |
| 9 ] | 9 ] |
| 10 } | 10 } |
| 11 | 11 |
| 12 component("system") { | 12 component("system") { |
| 13 output_name = "mojo_system_impl" | 13 output_name = "mojo_system_impl" |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//base/third_party/dynamic_annotations", | 17 "//base/third_party/dynamic_annotations", |
| 18 "//mojo/public/c/system", | 18 "//mojo/edk/embedder", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 public_deps = [ "//mojo/edk/embedder" ] | |
| 22 | |
| 23 defines = [ | 21 defines = [ |
| 24 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | 22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", |
| 25 "MOJO_SYSTEM_IMPLEMENTATION", | 23 "MOJO_SYSTEM_IMPLEMENTATION", |
| 26 ] | 24 ] |
| 27 | 25 |
| 28 all_dependent_configs = [ ":system_config" ] | 26 all_dependent_configs = [ ":system_config" ] |
| 29 | 27 |
| 30 sources = [ | 28 sources = [ |
| 31 "channel.cc", | 29 "channel.cc", |
| 32 "channel.h", | 30 "channel.h", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 "waiter_list.cc", | 87 "waiter_list.cc", |
| 90 "waiter_list.h", | 88 "waiter_list.h", |
| 91 ] | 89 ] |
| 92 } | 90 } |
| 93 | 91 |
| 94 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests | 92 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests |
| 95 test("mojo_system_unittests") { | 93 test("mojo_system_unittests") { |
| 96 deps = [ | 94 deps = [ |
| 97 ":system", | 95 ":system", |
| 98 "//base", | 96 "//base", |
| 99 "//base/test:test_support", | |
| 100 "//mojo/edk/embedder:embedder_unittests", | 97 "//mojo/edk/embedder:embedder_unittests", |
| 101 "//mojo/edk/test:test_support", | 98 "//mojo/edk/test:test_support", |
| 102 "//mojo/public/c/system", | |
| 103 "//testing/gtest", | 99 "//testing/gtest", |
| 104 ] | 100 ] |
| 105 | 101 |
| 106 sources = [ | 102 sources = [ |
| 107 "../test/multiprocess_test_helper_unittest.cc", | 103 "../test/multiprocess_test_helper_unittest.cc", |
| 108 "channel_endpoint_id_unittest.cc", | 104 "channel_endpoint_id_unittest.cc", |
| 109 "channel_unittest.cc", | 105 "channel_unittest.cc", |
| 110 "core_test_base.cc", | 106 "core_test_base.cc", |
| 111 "core_test_base.h", | 107 "core_test_base.h", |
| 112 "core_unittest.cc", | 108 "core_unittest.cc", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 ] | 143 ] |
| 148 | 144 |
| 149 sources = [ | 145 sources = [ |
| 150 "message_pipe_perftest.cc", | 146 "message_pipe_perftest.cc", |
| 151 "message_pipe_test_utils.h", | 147 "message_pipe_test_utils.h", |
| 152 "message_pipe_test_utils.cc", | 148 "message_pipe_test_utils.cc", |
| 153 "test_utils.cc", | 149 "test_utils.cc", |
| 154 "test_utils.h", | 150 "test_utils.h", |
| 155 ] | 151 ] |
| 156 } | 152 } |
| OLD | NEW |