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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1482 rebase_path(unit_gypi_values.chrome_unit_tests_captive_portal_sources, | 1482 rebase_path(unit_gypi_values.chrome_unit_tests_captive_portal_sources, |
1483 ".", | 1483 ".", |
1484 "//chrome") | 1484 "//chrome") |
1485 } | 1485 } |
1486 if (enable_session_service) { | 1486 if (enable_session_service) { |
1487 sources += rebase_path( | 1487 sources += rebase_path( |
1488 unit_gypi_values.chrome_unit_tests_session_service_sources, | 1488 unit_gypi_values.chrome_unit_tests_session_service_sources, |
1489 ".", | 1489 ".", |
1490 "//chrome") | 1490 "//chrome") |
1491 } | 1491 } |
| 1492 if (enable_media_router) { |
| 1493 sources += |
| 1494 rebase_path(unit_gypi_values.chrome_unit_tests_media_router_sources, |
| 1495 ".", |
| 1496 "//chrome") |
| 1497 deps += [ "//chrome/browser/media/router:test_support" ] |
| 1498 } |
1492 if (enable_webrtc) { | 1499 if (enable_webrtc) { |
1493 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, | 1500 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, |
1494 ".", | 1501 ".", |
1495 "//chrome") | 1502 "//chrome") |
1496 } | 1503 } |
1497 if (enable_media_router) { | |
1498 deps += [ "//chrome/browser/media/router:unit_tests" ] | |
1499 } | |
1500 if (is_chromeos) { | 1504 if (is_chromeos) { |
1501 sources += | 1505 sources += |
1502 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources, | 1506 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources, |
1503 ".", | 1507 ".", |
1504 "//chrome") | 1508 "//chrome") |
1505 deps += [ | 1509 deps += [ |
1506 "//ash/resources", | 1510 "//ash/resources", |
1507 "//ui/chromeos/resources", | 1511 "//ui/chromeos/resources", |
1508 ] | 1512 ] |
1509 sources -= [ | 1513 sources -= [ |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1760 } | 1764 } |
1761 | 1765 |
1762 if (cld_version == 0 || cld_version == 2) { | 1766 if (cld_version == 0 || cld_version == 2) { |
1763 # Use whatever CLD2 data access mode that the | 1767 # Use whatever CLD2 data access mode that the |
1764 # application embedder is using. | 1768 # application embedder is using. |
1765 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1769 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1766 } | 1770 } |
1767 } | 1771 } |
1768 } | 1772 } |
1769 } | 1773 } |
OLD | NEW |