Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: chrome/test/BUILD.gn

Issue 1140183002: Revert of Media Router GYP/GN cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_sources , 857 chrome_tests_gypi_values.chrome_browser_tests_media_router_webui_s ources,
858 ".", 858 ".",
859 "//chrome") 859 "//chrome")
860 deps += [ "//chrome/browser/media/router:test_support" ]
861 } 860 }
862 if (is_win) { 861 if (is_win) {
863 deps += [ 862 deps += [
864 "//chrome:other_version", 863 "//chrome:other_version",
865 "//third_party/wtl", 864 "//third_party/wtl",
866 "//ui/resources", 865 "//ui/resources",
867 ] 866 ]
868 } else { 867 } else {
869 sources -= [ 868 sources -= [
870 "../app/chrome_command_ids.h", 869 "../app/chrome_command_ids.h",
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 # Some android targets still depend on --gc-sections to link. 1276 # Some android targets still depend on --gc-sections to link.
1278 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). 1277 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
1279 ldflags = [ "-Wl,--gc-sections" ] 1278 ldflags = [ "-Wl,--gc-sections" ]
1280 deps += [ "//testing/android/native_test:native_test_native_code" ] 1279 deps += [ "//testing/android/native_test:native_test_native_code" ]
1281 } else { 1280 } else {
1282 sources += 1281 sources +=
1283 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources, 1282 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources,
1284 ".", 1283 ".",
1285 "//chrome") 1284 "//chrome")
1286 } 1285 }
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
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 }
1499 if (enable_webrtc) { 1492 if (enable_webrtc) {
1500 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, 1493 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources,
1501 ".", 1494 ".",
1502 "//chrome") 1495 "//chrome")
1503 } 1496 }
1497 if (enable_media_router) {
1498 deps += [ "//chrome/browser/media/router:unit_tests" ]
1499 }
1504 if (is_chromeos) { 1500 if (is_chromeos) {
1505 sources += 1501 sources +=
1506 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources, 1502 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources,
1507 ".", 1503 ".",
1508 "//chrome") 1504 "//chrome")
1509 deps += [ 1505 deps += [
1510 "//ash/resources", 1506 "//ash/resources",
1511 "//ui/chromeos/resources", 1507 "//ui/chromeos/resources",
1512 ] 1508 ]
1513 sources -= [ 1509 sources -= [
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 } 1760 }
1765 1761
1766 if (cld_version == 0 || cld_version == 2) { 1762 if (cld_version == 0 || cld_version == 2) {
1767 # Use whatever CLD2 data access mode that the 1763 # Use whatever CLD2 data access mode that the
1768 # application embedder is using. 1764 # application embedder is using.
1769 deps += [ "//third_party/cld_2:cld2_platform_impl" ] 1765 deps += [ "//third_party/cld_2:cld2_platform_impl" ]
1770 } 1766 }
1771 } 1767 }
1772 } 1768 }
1773 } 1769 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698