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

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

Issue 1989893004: media: Use platform specific folders for CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 ".", 1344 ".",
1345 "//chrome") 1345 "//chrome")
1346 } 1346 }
1347 if (enable_supervised_users) { 1347 if (enable_supervised_users) {
1348 sources += rebase_path( 1348 sources += rebase_path(
1349 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces, 1349 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces,
1350 ".", 1350 ".",
1351 "//chrome") 1351 "//chrome")
1352 } 1352 }
1353 if (enable_pepper_cdms) { 1353 if (enable_pepper_cdms) {
1354 sources += [
1355 "../browser/media/pepper_cdm_test_helper.cc",
1356 "../browser/media/pepper_cdm_test_helper.h",
1357 ]
1358
1359 # Runtime dependencies. 1354 # Runtime dependencies.
1360 data_deps += [ 1355 data_deps += [
1361 "//media/cdm/ppapi:clearkeycdmadapter", 1356 "//media/cdm/ppapi:clearkeycdmadapter",
1362 "//third_party/widevine/cdm:widevinecdmadapter", 1357 "//third_party/widevine/cdm:widevinecdmadapter",
1363 ] 1358 ]
1364 } 1359 }
1365 if (!enable_print_preview) { 1360 if (!enable_print_preview) {
1366 sources -= [ 1361 sources -= [
1367 "../browser/extensions/api/cloud_print_private/cloud_print_private_apite st.cc", 1362 "../browser/extensions/api/cloud_print_private/cloud_print_private_apite st.cc",
1368 "../browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc" , 1363 "../browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc" ,
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 assert_no_deps = [ "//chrome" ] 1590 assert_no_deps = [ "//chrome" ]
1596 } 1591 }
1597 1592
1598 # Executable to measure time to load libraries. 1593 # Executable to measure time to load libraries.
1599 test("load_library_perf_tests") { 1594 test("load_library_perf_tests") {
1600 sources = [ 1595 sources = [
1601 "../browser/load_library_perf_test.cc", 1596 "../browser/load_library_perf_test.cc",
1602 ] 1597 ]
1603 1598
1604 deps = [ 1599 deps = [
1600 ":test_support",
1605 "//base/test:test_support_perf", 1601 "//base/test:test_support_perf",
1606 "//testing/gtest", 1602 "//testing/gtest",
1607 "//testing/perf", 1603 "//testing/perf",
1608 "//third_party/widevine/cdm:version_h", 1604 "//third_party/widevine/cdm:version_h",
1609 ] 1605 ]
1610 1606
1611 if (enable_pepper_cdms) { 1607 if (enable_pepper_cdms) {
1608 deps += [ "//media" ]
1612 data_deps = [ 1609 data_deps = [
1613 "//media/cdm/ppapi:clearkeycdmadapter", 1610 "//media/cdm/ppapi:clearkeycdmadapter",
1614 "//third_party/widevine/cdm:widevinecdmadapter", 1611 "//third_party/widevine/cdm:widevinecdmadapter",
1615 ] 1612 ]
1616 } 1613 }
1617 1614
1618 # This target should not require the Chrome executable to run. 1615 # This target should not require the Chrome executable to run.
1619 assert_no_deps = [ "//chrome" ] 1616 assert_no_deps = [ "//chrome" ]
1620 } 1617 }
1621 } 1618 }
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 if (is_android) { 2385 if (is_android) {
2389 android_library("unit_tests_java") { 2386 android_library("unit_tests_java") {
2390 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2387 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2391 deps = [ 2388 deps = [
2392 "//base:base_java", 2389 "//base:base_java",
2393 "//chrome/android:chrome_java", 2390 "//chrome/android:chrome_java",
2394 "//content/public/android:content_java", 2391 "//content/public/android:content_java",
2395 ] 2392 ]
2396 } 2393 }
2397 } 2394 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698