| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") |
| 6 | 7 |
| 7 if (is_android) { | 8 if (is_android) { |
| 8 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 9 } | 10 } |
| 10 | 11 |
| 11 component("base") { | 12 component("base") { |
| 12 sources = [ | 13 sources = [ |
| 13 "third_party/dmg_fp/dmg_fp.h", | 14 "third_party/dmg_fp/dmg_fp.h", |
| 14 "third_party/dmg_fp/g_fmt.cc", | 15 "third_party/dmg_fp/g_fmt.cc", |
| 15 "third_party/dmg_fp/dtoa_wrapper.cc", | 16 "third_party/dmg_fp/dtoa_wrapper.cc", |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 ":prefs_test_support", | 1371 ":prefs_test_support", |
| 1371 "//base/allocator", | 1372 "//base/allocator", |
| 1372 "//base/test:run_all_unittests", | 1373 "//base/test:run_all_unittests", |
| 1373 "//base/test:test_support", | 1374 "//base/test:test_support", |
| 1374 "//base/third_party/dynamic_annotations", | 1375 "//base/third_party/dynamic_annotations", |
| 1375 "//testing/gmock", | 1376 "//testing/gmock", |
| 1376 "//testing/gtest", | 1377 "//testing/gtest", |
| 1377 "//third_party/icu", | 1378 "//third_party/icu", |
| 1378 ] | 1379 ] |
| 1379 | 1380 |
| 1381 if (is_android) { |
| 1382 apk_deps = [ |
| 1383 ":base_java", |
| 1384 ":base_java_unittest_support", |
| 1385 ] |
| 1386 } |
| 1387 |
| 1380 if (is_ios) { | 1388 if (is_ios) { |
| 1381 sources -= [ | 1389 sources -= [ |
| 1382 "metrics/stats_table_uinittest.cc", # Requires spawning a process. | 1390 "metrics/stats_table_uinittest.cc", # Requires spawning a process. |
| 1383 "process/memory_unittest.cc", | 1391 "process/memory_unittest.cc", |
| 1384 "process/memory_unittest_mac.h", | 1392 "process/memory_unittest_mac.h", |
| 1385 "process/memory_unittest_mac.mm", | 1393 "process/memory_unittest_mac.mm", |
| 1386 "process/process_unittest.cc", | 1394 "process/process_unittest.cc", |
| 1387 "process/process_util_unittest.cc", | 1395 "process/process_util_unittest.cc", |
| 1388 ] | 1396 ] |
| 1389 | 1397 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 } | 1532 } |
| 1525 | 1533 |
| 1526 # GYP: //base.gyp:base_java_unittest_support | 1534 # GYP: //base.gyp:base_java_unittest_support |
| 1527 android_library("base_java_unittest_support") { | 1535 android_library("base_java_unittest_support") { |
| 1528 deps = [ | 1536 deps = [ |
| 1529 ":base_java", | 1537 ":base_java", |
| 1530 ] | 1538 ] |
| 1531 java_files = | 1539 java_files = |
| 1532 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1540 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 1533 } | 1541 } |
| 1534 | |
| 1535 # GYP: //base.gyp:base_unittests_apk | |
| 1536 unittest_apk("base_unittests_apk") { | |
| 1537 deps = [ | |
| 1538 ":base_java", | |
| 1539 ":base_java_unittest_support", | |
| 1540 ":base_unittests", | |
| 1541 ] | |
| 1542 unittests_dep = ":base_unittests" | |
| 1543 } | |
| 1544 } | 1542 } |
| OLD | NEW |