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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 sources -= [ | 847 sources -= [ |
848 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", | 848 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", |
849 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", | 849 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", |
850 "../browser/media/chrome_webrtc_browsertest.cc", | 850 "../browser/media/chrome_webrtc_browsertest.cc", |
851 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", | 851 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", |
852 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", | 852 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", |
853 ] | 853 ] |
854 } | 854 } |
855 if (enable_media_router) { | 855 if (enable_media_router) { |
856 sources += rebase_path( | 856 sources += rebase_path( |
857 chrome_tests_gypi_values.chrome_browser_tests_media_router_webui_s
ources, | 857 chrome_tests_gypi_values.chrome_browser_tests_media_router_sources
, |
858 ".", | 858 ".", |
859 "//chrome") | 859 "//chrome") |
| 860 deps += [ "//chrome/browser/media/router:test_support" ] |
860 } | 861 } |
861 if (is_win) { | 862 if (is_win) { |
862 deps += [ | 863 deps += [ |
863 "//chrome:other_version", | 864 "//chrome:other_version", |
864 "//third_party/wtl", | 865 "//third_party/wtl", |
865 "//ui/resources", | 866 "//ui/resources", |
866 ] | 867 ] |
867 } else { | 868 } else { |
868 sources -= [ | 869 sources -= [ |
869 "../app/chrome_command_ids.h", | 870 "../app/chrome_command_ids.h", |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 # Some android targets still depend on --gc-sections to link. | 1277 # Some android targets still depend on --gc-sections to link. |
1277 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 1278 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
1278 ldflags = [ "-Wl,--gc-sections" ] | 1279 ldflags = [ "-Wl,--gc-sections" ] |
1279 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1280 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1280 } else { | 1281 } else { |
1281 sources += | 1282 sources += |
1282 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources, | 1283 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources, |
1283 ".", | 1284 ".", |
1284 "//chrome") | 1285 "//chrome") |
1285 } | 1286 } |
1286 | |
1287 if (is_ios || is_chromeos) { | 1287 if (is_ios || is_chromeos) { |
1288 sources -= | 1288 sources -= |
1289 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] | 1289 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] |
1290 } | 1290 } |
1291 if (enable_background) { | 1291 if (enable_background) { |
1292 sources += | 1292 sources += |
1293 rebase_path(unit_gypi_values.chrome_unit_tests_background_sources, | 1293 rebase_path(unit_gypi_values.chrome_unit_tests_background_sources, |
1294 ".", | 1294 ".", |
1295 "//chrome") | 1295 "//chrome") |
1296 } | 1296 } |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 rebase_path(unit_gypi_values.chrome_unit_tests_captive_portal_sources, | 1483 rebase_path(unit_gypi_values.chrome_unit_tests_captive_portal_sources, |
1484 ".", | 1484 ".", |
1485 "//chrome") | 1485 "//chrome") |
1486 } | 1486 } |
1487 if (enable_session_service) { | 1487 if (enable_session_service) { |
1488 sources += rebase_path( | 1488 sources += rebase_path( |
1489 unit_gypi_values.chrome_unit_tests_session_service_sources, | 1489 unit_gypi_values.chrome_unit_tests_session_service_sources, |
1490 ".", | 1490 ".", |
1491 "//chrome") | 1491 "//chrome") |
1492 } | 1492 } |
| 1493 if (enable_media_router) { |
| 1494 sources += |
| 1495 rebase_path(unit_gypi_values.chrome_unit_tests_media_router_sources, |
| 1496 ".", |
| 1497 "//chrome") |
| 1498 deps += [ "//chrome/browser/media/router:test_support" ] |
| 1499 } |
1493 if (enable_webrtc) { | 1500 if (enable_webrtc) { |
1494 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, | 1501 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, |
1495 ".", | 1502 ".", |
1496 "//chrome") | 1503 "//chrome") |
1497 } | 1504 } |
1498 if (enable_media_router) { | |
1499 deps += [ "//chrome/browser/media/router:unit_tests" ] | |
1500 } | |
1501 if (is_chromeos) { | 1505 if (is_chromeos) { |
1502 sources += | 1506 sources += |
1503 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources, | 1507 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources, |
1504 ".", | 1508 ".", |
1505 "//chrome") | 1509 "//chrome") |
1506 deps += [ | 1510 deps += [ |
1507 "//ash/resources", | 1511 "//ash/resources", |
1508 "//ui/chromeos/resources", | 1512 "//ui/chromeos/resources", |
1509 ] | 1513 ] |
1510 sources -= [ | 1514 sources -= [ |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 } | 1765 } |
1762 | 1766 |
1763 if (cld_version == 0 || cld_version == 2) { | 1767 if (cld_version == 0 || cld_version == 2) { |
1764 # Use whatever CLD2 data access mode that the | 1768 # Use whatever CLD2 data access mode that the |
1765 # application embedder is using. | 1769 # application embedder is using. |
1766 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1770 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1767 } | 1771 } |
1768 } | 1772 } |
1769 } | 1773 } |
1770 } | 1774 } |
OLD | NEW |