| 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("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 "base/scoped_testing_local_state.cc", | 47 "base/scoped_testing_local_state.cc", |
| 48 "base/scoped_testing_local_state.h", | 48 "base/scoped_testing_local_state.h", |
| 49 "base/test_browser_window.cc", | 49 "base/test_browser_window.cc", |
| 50 "base/test_browser_window.h", | 50 "base/test_browser_window.h", |
| 51 "base/test_launcher_utils.cc", | 51 "base/test_launcher_utils.cc", |
| 52 "base/test_launcher_utils.h", | 52 "base/test_launcher_utils.h", |
| 53 "base/test_switches.cc", | 53 "base/test_switches.cc", |
| 54 "base/test_switches.h", | 54 "base/test_switches.h", |
| 55 "base/testing_browser_process.cc", | 55 "base/testing_browser_process.cc", |
| 56 "base/testing_browser_process.h", | 56 "base/testing_browser_process.h", |
| 57 "base/testing_browser_process_platform_part.cc", |
| 57 "base/testing_browser_process_platform_part.h", | 58 "base/testing_browser_process_platform_part.h", |
| 58 "base/testing_browser_process_platform_part.cc", | |
| 59 "base/testing_io_thread_state.cc", | 59 "base/testing_io_thread_state.cc", |
| 60 "base/testing_io_thread_state.h", | 60 "base/testing_io_thread_state.h", |
| 61 "base/testing_pref_service_syncable.cc", | 61 "base/testing_pref_service_syncable.cc", |
| 62 "base/testing_pref_service_syncable.h", | 62 "base/testing_pref_service_syncable.h", |
| 63 "base/testing_profile.cc", | 63 "base/testing_profile.cc", |
| 64 "base/testing_profile.h", | 64 "base/testing_profile.h", |
| 65 "base/testing_profile_manager.cc", | 65 "base/testing_profile_manager.cc", |
| 66 "base/testing_profile_manager.h", | 66 "base/testing_profile_manager.h", |
| 67 "base/tracing.cc", | 67 "base/tracing.cc", |
| 68 "base/tracing.h", | 68 "base/tracing.h", |
| (...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 sources += rebase_path( | 1440 sources += rebase_path( |
| 1441 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources, | 1441 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources, |
| 1442 ".", | 1442 ".", |
| 1443 "//chrome") | 1443 "//chrome") |
| 1444 defines += [ "FULL_SAFE_BROWSING" ] | 1444 defines += [ "FULL_SAFE_BROWSING" ] |
| 1445 if (is_chromeos) { | 1445 if (is_chromeos) { |
| 1446 sources -= [ "../browser/safe_browsing/download_protection_service_unitt
est.cc" ] | 1446 sources -= [ "../browser/safe_browsing/download_protection_service_unitt
est.cc" ] |
| 1447 } else if (is_android) { | 1447 } else if (is_android) { |
| 1448 sources -= [ | 1448 sources -= [ |
| 1449 # Android doesn't support download feedbacks. | 1449 # Android doesn't support download feedbacks. |
| 1450 "../browser/safe_browsing/download_feedback_service_unittest.cc", |
| 1450 "../browser/safe_browsing/download_feedback_unittest.cc", | 1451 "../browser/safe_browsing/download_feedback_unittest.cc", |
| 1451 "../browser/safe_browsing/download_feedback_service_unittest.cc", | |
| 1452 "../browser/safe_browsing/download_protection_service_unittest.cc", | 1452 "../browser/safe_browsing/download_protection_service_unittest.cc", |
| 1453 "../browser/safe_browsing/two_phase_uploader_unittest.cc", | 1453 "../browser/safe_browsing/two_phase_uploader_unittest.cc", |
| 1454 ] | 1454 ] |
| 1455 } | 1455 } |
| 1456 } | 1456 } |
| 1457 if (enable_autofill_dialog && !is_android) { | 1457 if (enable_autofill_dialog && !is_android) { |
| 1458 sources += rebase_path( | 1458 sources += rebase_path( |
| 1459 unit_gypi_values.chrome_unit_tests_autofill_dialog_sources, | 1459 unit_gypi_values.chrome_unit_tests_autofill_dialog_sources, |
| 1460 ".", | 1460 ".", |
| 1461 "//chrome") | 1461 "//chrome") |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1539 } | 1539 } |
| 1540 if (is_linux && is_chrome_branded && cpu_arch == "x86") { | 1540 if (is_linux && is_chrome_branded && cpu_arch == "x86") { |
| 1541 ldflags = [ "-Wl,--strip-debug" ] | 1541 ldflags = [ "-Wl,--strip-debug" ] |
| 1542 } | 1542 } |
| 1543 if (is_mac) { | 1543 if (is_mac) { |
| 1544 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources, | 1544 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources, |
| 1545 ".", | 1545 ".", |
| 1546 "//chrome") | 1546 "//chrome") |
| 1547 sources -= [ | 1547 sources -= [ |
| 1548 "../browser/ui/tests/ui_gfx_image_unittest.cc", | 1548 "../browser/ui/tests/ui_gfx_image_unittest.cc", |
| 1549 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", |
| 1549 "../tools/convert_dict/convert_dict_unittest.cc", | 1550 "../tools/convert_dict/convert_dict_unittest.cc", |
| 1550 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", | |
| 1551 ] | 1551 ] |
| 1552 | 1552 |
| 1553 # The test fetches resources which means Mac need the app bundle to exist | 1553 # The test fetches resources which means Mac need the app bundle to exist |
| 1554 # on disk so it can pull from it. | 1554 # on disk so it can pull from it. |
| 1555 deps += [ | 1555 deps += [ |
| 1556 "//third_party/google_toolbox_for_mac", | 1556 "//third_party/google_toolbox_for_mac", |
| 1557 "//third_party/ocmock", | 1557 "//third_party/ocmock", |
| 1558 ] | 1558 ] |
| 1559 | 1559 |
| 1560 # TODO(mark): We really want this for all non-static library targets, | 1560 # TODO(mark): We really want this for all non-static library targets, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1671 } | 1671 } |
| 1672 if (use_ozone) { | 1672 if (use_ozone) { |
| 1673 # crbug.com/354036 | 1673 # crbug.com/354036 |
| 1674 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] | 1674 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] |
| 1675 } | 1675 } |
| 1676 if (!enable_plugin_installation) { | 1676 if (!enable_plugin_installation) { |
| 1677 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1677 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
| 1678 } | 1678 } |
| 1679 } | 1679 } |
| 1680 } | 1680 } |
| OLD | NEW |