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