| 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 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| (...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1412 "win/scoped_bstr_unittest.cc", | 1412 "win/scoped_bstr_unittest.cc", |
| 1413 "win/scoped_comptr_unittest.cc", | 1413 "win/scoped_comptr_unittest.cc", |
| 1414 "win/scoped_process_information_unittest.cc", | 1414 "win/scoped_process_information_unittest.cc", |
| 1415 "win/scoped_variant_unittest.cc", | 1415 "win/scoped_variant_unittest.cc", |
| 1416 "win/shortcut_unittest.cc", | 1416 "win/shortcut_unittest.cc", |
| 1417 "win/startup_information_unittest.cc", | 1417 "win/startup_information_unittest.cc", |
| 1418 "win/win_util_unittest.cc", | 1418 "win/win_util_unittest.cc", |
| 1419 "win/wrapped_window_proc_unittest.cc", | 1419 "win/wrapped_window_proc_unittest.cc", |
| 1420 ] | 1420 ] |
| 1421 | 1421 |
| 1422 defines = [] |
| 1423 |
| 1422 deps = [ | 1424 deps = [ |
| 1423 ":base", | 1425 ":base", |
| 1424 ":i18n", | 1426 ":i18n", |
| 1425 ":message_loop_tests", | 1427 ":message_loop_tests", |
| 1426 ":prefs", | 1428 ":prefs", |
| 1427 ":prefs_test_support", | 1429 ":prefs_test_support", |
| 1428 "//base/allocator", | 1430 "//base/allocator", |
| 1429 "//base/test:run_all_unittests", | 1431 "//base/test:run_all_unittests", |
| 1430 "//base/test:test_support", | 1432 "//base/test:test_support", |
| 1431 "//base/third_party/dynamic_annotations", | 1433 "//base/third_party/dynamic_annotations", |
| 1432 "//base/third_party/nspr", | 1434 "//base/third_party/nspr", |
| 1433 "//testing/gmock", | 1435 "//testing/gmock", |
| 1434 "//testing/gtest", | 1436 "//testing/gtest", |
| 1435 "//third_party/icu", | 1437 "//third_party/icu", |
| 1436 ] | 1438 ] |
| 1437 | 1439 |
| 1440 # Allow more direct string conversions on platforms with native utf8 |
| 1441 # strings |
| 1442 if (is_mac || is_ios || is_chromeos) { |
| 1443 defines += [ "SYSTEM_NATIVE_UTF8" ] |
| 1444 } |
| 1445 |
| 1438 if (is_android) { | 1446 if (is_android) { |
| 1439 apk_deps = [ | 1447 apk_deps = [ |
| 1440 ":base_java", | 1448 ":base_java", |
| 1441 ":base_java_unittest_support", | 1449 ":base_java_unittest_support", |
| 1442 ] | 1450 ] |
| 1443 } | 1451 } |
| 1444 | 1452 |
| 1445 if (is_ios) { | 1453 if (is_ios) { |
| 1446 sources -= [ | 1454 sources -= [ |
| 1447 "process/memory_unittest.cc", | 1455 "process/memory_unittest.cc", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1462 "sys_string_conversions_mac_unittest.mm", | 1470 "sys_string_conversions_mac_unittest.mm", |
| 1463 ] | 1471 ] |
| 1464 set_sources_assignment_filter(sources_assignment_filter) | 1472 set_sources_assignment_filter(sources_assignment_filter) |
| 1465 | 1473 |
| 1466 # TODO(GYP): dep on copy_test_data_ios action. | 1474 # TODO(GYP): dep on copy_test_data_ios action. |
| 1467 } | 1475 } |
| 1468 | 1476 |
| 1469 if (is_linux) { | 1477 if (is_linux) { |
| 1470 sources -= [ "file_version_info_unittest.cc" ] | 1478 sources -= [ "file_version_info_unittest.cc" ] |
| 1471 sources += [ "nix/xdg_util_unittest.cc" ] | 1479 sources += [ "nix/xdg_util_unittest.cc" ] |
| 1472 defines = [ "USE_SYMBOLIZE" ] | 1480 defines += [ "USE_SYMBOLIZE" ] |
| 1473 if (use_glib) { | 1481 if (use_glib) { |
| 1474 configs += [ "//build/config/linux:glib" ] | 1482 configs += [ "//build/config/linux:glib" ] |
| 1475 } | 1483 } |
| 1476 } | 1484 } |
| 1477 | 1485 |
| 1478 if (!is_linux || use_ozone) { | 1486 if (!is_linux || use_ozone) { |
| 1479 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 1487 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
| 1480 } | 1488 } |
| 1481 | 1489 |
| 1482 if (is_posix || is_ios) { | 1490 if (is_posix || is_ios) { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1592 | 1600 |
| 1593 # GYP: //base.gyp:base_java_unittest_support | 1601 # GYP: //base.gyp:base_java_unittest_support |
| 1594 android_library("base_java_unittest_support") { | 1602 android_library("base_java_unittest_support") { |
| 1595 deps = [ | 1603 deps = [ |
| 1596 ":base_java", | 1604 ":base_java", |
| 1597 ] | 1605 ] |
| 1598 java_files = | 1606 java_files = |
| 1599 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1607 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 1600 } | 1608 } |
| 1601 } | 1609 } |
| OLD | NEW |