| 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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 sources += rebase_path( | 819 sources += rebase_path( |
| 820 chrome_tests_gypi_values.chrome_browser_tests_speech_sources, | 820 chrome_tests_gypi_values.chrome_browser_tests_speech_sources, |
| 821 ".", | 821 ".", |
| 822 "//chrome") | 822 "//chrome") |
| 823 } | 823 } |
| 824 if (safe_browsing_mode == 1) { | 824 if (safe_browsing_mode == 1) { |
| 825 sources += rebase_path( | 825 sources += rebase_path( |
| 826 chrome_tests_gypi_values.chrome_browser_tests_full_safe_browsing_s
ources, | 826 chrome_tests_gypi_values.chrome_browser_tests_full_safe_browsing_s
ources, |
| 827 ".", | 827 ".", |
| 828 "//chrome") | 828 "//chrome") |
| 829 defines += [ "FULL_SAFE_BROWSING" ] | |
| 830 } | 829 } |
| 831 if (enable_captive_portal_detection) { | 830 if (enable_captive_portal_detection) { |
| 832 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] | 831 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] |
| 833 } | 832 } |
| 834 if (!enable_webrtc) { | 833 if (!enable_webrtc) { |
| 835 sources -= [ | 834 sources -= [ |
| 836 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", | 835 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", |
| 837 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", | 836 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", |
| 838 "../browser/media/chrome_webrtc_browsertest.cc", | 837 "../browser/media/chrome_webrtc_browsertest.cc", |
| 839 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", | 838 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 "../browser/notifications/message_center_settings_controller_unittest.
cc", | 1415 "../browser/notifications/message_center_settings_controller_unittest.
cc", |
| 1417 ] | 1416 ] |
| 1418 } | 1417 } |
| 1419 } | 1418 } |
| 1420 if (safe_browsing_mode == 1) { | 1419 if (safe_browsing_mode == 1) { |
| 1421 # TODO(sgurun): enable tests for safe_browsing==2. | 1420 # TODO(sgurun): enable tests for safe_browsing==2. |
| 1422 sources += rebase_path( | 1421 sources += rebase_path( |
| 1423 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources, | 1422 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources, |
| 1424 ".", | 1423 ".", |
| 1425 "//chrome") | 1424 "//chrome") |
| 1426 defines += [ "FULL_SAFE_BROWSING" ] | |
| 1427 deps += [ ":test_proto" ] | 1425 deps += [ ":test_proto" ] |
| 1428 if (is_android) { | 1426 if (is_android) { |
| 1429 deps -= [ ":test_proto" ] | 1427 deps -= [ ":test_proto" ] |
| 1430 sources -= [ | 1428 sources -= [ |
| 1431 # Android doesn't support download feedbacks. | 1429 # Android doesn't support download feedbacks. |
| 1432 "../browser/safe_browsing/download_feedback_service_unittest.cc", | 1430 "../browser/safe_browsing/download_feedback_service_unittest.cc", |
| 1433 "../browser/safe_browsing/download_feedback_unittest.cc", | 1431 "../browser/safe_browsing/download_feedback_unittest.cc", |
| 1434 "../browser/safe_browsing/download_protection_service_unittest.cc", | 1432 "../browser/safe_browsing/download_protection_service_unittest.cc", |
| 1435 "../browser/safe_browsing/two_phase_uploader_unittest.cc", | 1433 "../browser/safe_browsing/two_phase_uploader_unittest.cc", |
| 1436 "../common/safe_browsing/ipc_protobuf_message_test_messages.h", | 1434 "../common/safe_browsing/ipc_protobuf_message_test_messages.h", |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1734 } | 1732 } |
| 1735 | 1733 |
| 1736 if (cld_version == 0 || cld_version == 2) { | 1734 if (cld_version == 0 || cld_version == 2) { |
| 1737 # Use whatever CLD2 data access mode that the | 1735 # Use whatever CLD2 data access mode that the |
| 1738 # application embedder is using. | 1736 # application embedder is using. |
| 1739 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1737 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
| 1740 } | 1738 } |
| 1741 } | 1739 } |
| 1742 } | 1740 } |
| 1743 } | 1741 } |
| OLD | NEW |