| 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 if (is_android) { |
| 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") |
| 8 } |
| 9 |
| 5 config("system_config") { | 10 config("system_config") { |
| 6 defines = [ | 11 defines = [ |
| 7 # Ensures that dependent projects import the core functions on Windows. | 12 # Ensures that dependent projects import the core functions on Windows. |
| 8 "MOJO_USE_SYSTEM_IMPL", | 13 "MOJO_USE_SYSTEM_IMPL", |
| 9 ] | 14 ] |
| 10 } | 15 } |
| 11 | 16 |
| 12 component("system") { | 17 component("system") { |
| 13 output_name = "mojo_system_impl" | 18 output_name = "mojo_system_impl" |
| 14 | 19 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 141 |
| 137 deps = [ | 142 deps = [ |
| 138 ":system", | 143 ":system", |
| 139 "//base", | 144 "//base", |
| 140 "//base/test:test_support", | 145 "//base/test:test_support", |
| 141 "//mojo/edk/embedder:embedder_unittests", | 146 "//mojo/edk/embedder:embedder_unittests", |
| 142 "//mojo/edk/test:test_support", | 147 "//mojo/edk/test:test_support", |
| 143 "//testing/gtest", | 148 "//testing/gtest", |
| 144 ] | 149 ] |
| 145 | 150 |
| 151 if (is_android) { |
| 152 deps += [ |
| 153 "//testing/android:native_test_native_code", |
| 154 ] |
| 155 } |
| 156 |
| 146 allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ] | 157 allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ] |
| 147 } | 158 } |
| 148 | 159 |
| 149 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests | 160 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests |
| 150 test("mojo_message_pipe_perftests") { | 161 test("mojo_message_pipe_perftests") { |
| 151 sources = [ | 162 sources = [ |
| 152 "message_pipe_perftest.cc", | 163 "message_pipe_perftest.cc", |
| 153 "message_pipe_test_utils.h", | 164 "message_pipe_test_utils.h", |
| 154 "message_pipe_test_utils.cc", | 165 "message_pipe_test_utils.cc", |
| 155 "test_utils.cc", | 166 "test_utils.cc", |
| 156 "test_utils.h", | 167 "test_utils.h", |
| 157 ] | 168 ] |
| 158 | 169 |
| 159 deps = [ | 170 deps = [ |
| 160 ":system", | 171 ":system", |
| 161 "//base", | 172 "//base", |
| 162 "//base/test:test_support", | 173 "//base/test:test_support", |
| 163 "//base/test:test_support_perf", | 174 "//base/test:test_support_perf", |
| 164 "//mojo/edk/test:test_support", | 175 "//mojo/edk/test:test_support", |
| 165 "//testing/gtest", | 176 "//testing/gtest", |
| 166 ] | 177 ] |
| 167 } | 178 } |
| 179 |
| 180 if (is_android) { |
| 181 unittest_apk("mojo_system_unittests_apk") { |
| 182 deps = [ |
| 183 ":mojo_system_unittests", |
| 184 ] |
| 185 unittests_dep = ":mojo_system_unittests" |
| 186 } |
| 187 } |
| OLD | NEW |