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

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

Issue 1950003002: gn BUILD fixes for disabling enable_extensions and use_ash feature flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving deps inclusion and disabling extensions for chromecast Created 4 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
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/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 "//third_party/libpng", 358 "//third_party/libpng",
359 "//third_party/zlib", 359 "//third_party/zlib",
360 "//ui/base:test_support", 360 "//ui/base:test_support",
361 "//ui/resources:ui_test_pak", 361 "//ui/resources:ui_test_pak",
362 "//ui/web_dialogs:test_support", 362 "//ui/web_dialogs:test_support",
363 ] 363 ]
364 364
365 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target 365 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target
366 # should be deleted and this line removed. See the 366 # should be deleted and this line removed. See the
367 # chrome_extensions_interactive_uitests target for more. 367 # chrome_extensions_interactive_uitests target for more.
368 deps += [ "//extensions:chrome_extensions_interactive_uitests" ] 368 if (enable_extensions) {
369 deps += [ "//extensions:chrome_extensions_interactive_uitests" ]
370 }
369 371
370 # Runtime dependencies 372 # Runtime dependencies
371 data_deps = [ 373 data_deps = [
372 "//ppapi:ppapi_tests", 374 "//ppapi:ppapi_tests",
373 "//third_party/mesa:osmesa", 375 "//third_party/mesa:osmesa",
374 ] 376 ]
375 377
376 if (toolkit_views) { 378 if (toolkit_views) {
377 sources += rebase_path( 379 sources += rebase_path(
378 chrome_tests_gypi_values.chrome_interactive_ui_test_views_sources, 380 chrome_tests_gypi_values.chrome_interactive_ui_test_views_sources,
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 "//base", 891 "//base",
890 "//base:i18n", 892 "//base:i18n",
891 "//base/test:test_support", 893 "//base/test:test_support",
892 "//chrome:browser_tests_pak", 894 "//chrome:browser_tests_pak",
893 "//chrome:packed_extra_resources", 895 "//chrome:packed_extra_resources",
894 "//chrome:packed_resources", 896 "//chrome:packed_resources",
895 "//chrome:resources", 897 "//chrome:resources",
896 "//chrome:strings", 898 "//chrome:strings",
897 "//chrome/browser", 899 "//chrome/browser",
898 "//chrome/browser/resources:extension_resource_demo", 900 "//chrome/browser/resources:extension_resource_demo",
899 "//chrome/common/extensions/api",
900 "//chrome/renderer", 901 "//chrome/renderer",
901 "//components/autofill/content/browser:risk_proto", 902 "//components/autofill/content/browser:risk_proto",
902 "//components/autofill/content/browser/wallet:test_support", 903 "//components/autofill/content/browser/wallet:test_support",
903 "//components/autofill/content/renderer:test_support", 904 "//components/autofill/content/renderer:test_support",
904 "//components/captive_portal:test_support", 905 "//components/captive_portal:test_support",
905 "//components/dom_distiller/content/browser", 906 "//components/dom_distiller/content/browser",
906 "//components/dom_distiller/content/renderer", 907 "//components/dom_distiller/content/renderer",
907 "//components/dom_distiller/core:test_support", 908 "//components/dom_distiller/core:test_support",
908 "//components/guest_view/browser:test_support", 909 "//components/guest_view/browser:test_support",
909 "//components/resources", 910 "//components/resources",
910 "//components/safe_browsing_db:test_database_manager", 911 "//components/safe_browsing_db:test_database_manager",
911 "//components/strings", 912 "//components/strings",
912 "//components/translate/core/common", 913 "//components/translate/core/common",
913 "//content/public/common:features", 914 "//content/public/common:features",
914 "//content/test:browsertest_base", 915 "//content/test:browsertest_base",
915 "//crypto:platform", 916 "//crypto:platform",
916 "//crypto:test_support", 917 "//crypto:test_support",
917 "//device/bluetooth:mocks", 918 "//device/bluetooth:mocks",
918 "//device/serial:test_support", 919 "//device/serial:test_support",
919 "//extensions/common/api",
920 "//google_apis:test_support", 920 "//google_apis:test_support",
921 "//media", 921 "//media",
922 "//media/base:test_support", 922 "//media/base:test_support",
923 "//media/cast:test_support", 923 "//media/cast:test_support",
924 "//net", 924 "//net",
925 "//net:test_support", 925 "//net:test_support",
926 "//sdch", 926 "//sdch",
927 "//skia", 927 "//skia",
928 "//sync", 928 "//sync",
929 "//sync:test_support_sync_api", 929 "//sync:test_support_sync_api",
930 "//testing/gmock", 930 "//testing/gmock",
931 "//testing/gtest", 931 "//testing/gtest",
932 "//testing/perf", 932 "//testing/perf",
933 "//third_party/cacheinvalidation", 933 "//third_party/cacheinvalidation",
934 "//third_party/cld_2:cld2_platform_impl", 934 "//third_party/cld_2:cld2_platform_impl",
935 "//third_party/icu", 935 "//third_party/icu",
936 "//third_party/leveldatabase", 936 "//third_party/leveldatabase",
937 "//third_party/libaddressinput", 937 "//third_party/libaddressinput",
938 "//third_party/libjingle", 938 "//third_party/libjingle",
939 "//third_party/safe_browsing:test_support", 939 "//third_party/safe_browsing:test_support",
940 "//third_party/webrtc/modules/desktop_capture", 940 "//third_party/webrtc/modules/desktop_capture",
941 "//third_party/widevine/cdm:version_h", 941 "//third_party/widevine/cdm:version_h",
942 "//ui/accessibility:test_support", 942 "//ui/accessibility:test_support",
943 "//ui/base:test_support", 943 "//ui/base:test_support",
944 "//ui/compositor:test_support", 944 "//ui/compositor:test_support",
945 "//ui/resources", 945 "//ui/resources",
946 "//ui/web_dialogs:test_support", 946 "//ui/web_dialogs:test_support",
947 "//v8", 947 "//v8",
948 ] 948 ]
949 if (enable_extensions) {
950 deps += [
951 "//chrome/common/extensions/api",
952 "//extensions/common/api",
953 ]
954 }
949 955
950 # TODO(rockot) bug 505926: The chrome_extensions_browsertests target should 956 # TODO(rockot) bug 505926: The chrome_extensions_browsertests target should
951 # be deleted and this line removed. See the chrome_extensions_browsertests 957 # be deleted and this line removed. See the chrome_extensions_browsertests
952 # target for more. 958 # target for more.
953 deps += [ "//extensions:chrome_extensions_browsertests" ] 959 if (enable_extensions) {
960 deps += [ "//extensions:chrome_extensions_browsertests" ]
961 }
954 962
955 # Runtime dependencies 963 # Runtime dependencies
956 data_deps = [ 964 data_deps = [
957 "//ppapi:ppapi_tests", 965 "//ppapi:ppapi_tests",
958 "//ppapi:power_saver_test_plugin", 966 "//ppapi:power_saver_test_plugin",
959 "//remoting/webapp:browser_test_resources", 967 "//remoting/webapp:browser_test_resources",
960 "//remoting/webapp:unit_tests", 968 "//remoting/webapp:unit_tests",
961 "//third_party/mesa:osmesa", 969 "//third_party/mesa:osmesa",
962 "//third_party/widevine/cdm:widevine_test_license_server", 970 "//third_party/widevine/cdm:widevine_test_license_server",
963 ] 971 ]
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2329 if (is_android) { 2337 if (is_android) {
2330 android_library("unit_tests_java") { 2338 android_library("unit_tests_java") {
2331 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2339 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2332 deps = [ 2340 deps = [
2333 "//base:base_java", 2341 "//base:base_java",
2334 "//chrome/android:chrome_java", 2342 "//chrome/android:chrome_java",
2335 "//content/public/android:content_java", 2343 "//content/public/android:content_java",
2336 ] 2344 ]
2337 } 2345 }
2338 } 2346 }
OLDNEW
« chrome/browser/media/router/BUILD.gn ('K') | « chrome/browser/media/router/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698