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 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
10 } | 11 } |
11 | 12 |
12 config("system_config") { | 13 config("system_config") { |
13 defines = [ | 14 defines = [ |
14 # Ensures that dependent projects import the core functions on Windows. | 15 # Ensures that dependent projects import the core functions on Windows. |
15 "MOJO_USE_SYSTEM_IMPL", | 16 "MOJO_USE_SYSTEM_IMPL", |
(...skipping 175 matching lines...) Loading... |
191 deps = [ | 192 deps = [ |
192 ":system", | 193 ":system", |
193 ":test_utils", | 194 ":test_utils", |
194 "../test:test_support", | 195 "../test:test_support", |
195 "//base", | 196 "//base", |
196 "//base/test:test_support", | 197 "//base/test:test_support", |
197 "//base/test:test_support_perf", | 198 "//base/test:test_support_perf", |
198 "//testing/gtest", | 199 "//testing/gtest", |
199 ] | 200 ] |
200 } | 201 } |
201 | |
202 if (is_android) { | |
203 unittest_apk("mojo_system_unittests_apk") { | |
204 deps = [ | |
205 ":mojo_system_unittests", | |
206 ] | |
207 unittests_dep = ":mojo_system_unittests" | |
208 } | |
209 } | |
OLD | NEW |