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/chromecast_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
11 import("//mojo/public/tools/bindings/mojom.gni") | 12 import("//mojo/public/tools/bindings/mojom.gni") |
12 import("//ppapi/features/features.gni") | 13 import("//ppapi/features/features.gni") |
13 import("//services/service_manager/public/service_manifest.gni") | 14 import("//services/service_manager/public/service_manifest.gni") |
14 import("//testing/test.gni") | 15 import("//testing/test.gni") |
15 import("//third_party/WebKit/public/public_features.gni") | 16 import("//third_party/WebKit/public/public_features.gni") |
(...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 "../common/manifest_util_unittest.cc", | 1312 "../common/manifest_util_unittest.cc", |
1312 "../common/navigation_params_unittest.cc", | 1313 "../common/navigation_params_unittest.cc", |
1313 "../common/origin_trials/trial_token_unittest.cc", | 1314 "../common/origin_trials/trial_token_unittest.cc", |
1314 "../common/origin_trials/trial_token_validator_unittest.cc", | 1315 "../common/origin_trials/trial_token_validator_unittest.cc", |
1315 "../common/origin_util_unittest.cc", | 1316 "../common/origin_util_unittest.cc", |
1316 "../common/page_state_serialization_unittest.cc", | 1317 "../common/page_state_serialization_unittest.cc", |
1317 "../common/page_zoom_unittest.cc", | 1318 "../common/page_zoom_unittest.cc", |
1318 "../common/plugin_list_unittest.cc", | 1319 "../common/plugin_list_unittest.cc", |
1319 "../common/quarantine/quarantine_linux_unittest.cc", | 1320 "../common/quarantine/quarantine_linux_unittest.cc", |
1320 "../common/quarantine/quarantine_mac_unittest.mm", | 1321 "../common/quarantine/quarantine_mac_unittest.mm", |
1321 "../common/quarantine/quarantine_unittest.cc", | |
1322 "../common/quarantine/quarantine_win_unittest.cc", | 1322 "../common/quarantine/quarantine_win_unittest.cc", |
1323 "../common/sandbox_mac_compiler_unittest.mm", | 1323 "../common/sandbox_mac_compiler_unittest.mm", |
1324 "../common/sandbox_mac_diraccess_unittest.mm", | 1324 "../common/sandbox_mac_diraccess_unittest.mm", |
1325 "../common/sandbox_mac_fontloading_unittest.mm", | 1325 "../common/sandbox_mac_fontloading_unittest.mm", |
1326 "../common/sandbox_mac_system_access_unittest.mm", | 1326 "../common/sandbox_mac_system_access_unittest.mm", |
1327 "../common/sandbox_mac_unittest_helper.h", | 1327 "../common/sandbox_mac_unittest_helper.h", |
1328 "../common/sandbox_mac_unittest_helper.mm", | 1328 "../common/sandbox_mac_unittest_helper.mm", |
1329 "../common/service_worker/service_worker_utils_unittest.cc", | 1329 "../common/service_worker/service_worker_utils_unittest.cc", |
1330 "../common/webplugininfo_unittest.cc", | 1330 "../common/webplugininfo_unittest.cc", |
1331 "../renderer/android/disambiguation_popup_helper_unittest.cc", | 1331 "../renderer/android/disambiguation_popup_helper_unittest.cc", |
(...skipping 30 matching lines...) Expand all Loading... |
1362 "../renderer/render_widget_unittest.cc", | 1362 "../renderer/render_widget_unittest.cc", |
1363 "../renderer/scheduler/resource_dispatch_throttler_unittest.cc", | 1363 "../renderer/scheduler/resource_dispatch_throttler_unittest.cc", |
1364 "../renderer/skia_benchmarking_extension_unittest.cc", | 1364 "../renderer/skia_benchmarking_extension_unittest.cc", |
1365 "fileapi_test_file_set.cc", | 1365 "fileapi_test_file_set.cc", |
1366 "fileapi_test_file_set.h", | 1366 "fileapi_test_file_set.h", |
1367 "image_decoder_test.cc", | 1367 "image_decoder_test.cc", |
1368 "image_decoder_test.h", | 1368 "image_decoder_test.h", |
1369 "run_all_unittests.cc", | 1369 "run_all_unittests.cc", |
1370 ] | 1370 ] |
1371 | 1371 |
| 1372 # Chromecasts do not have extended attributes enabled; even if it were |
| 1373 # enabled, the devices use tmpfs which restricts the extended attributes that |
| 1374 # can be set such that quarantining still would not work. (The platform |
| 1375 # specific tests include a runtime guard to skip tests that need xattr.) |
| 1376 if (!is_chromecast) { |
| 1377 sources += [ "../common/quarantine/quarantine_unittest.cc" ] |
| 1378 } |
| 1379 |
1372 # ChromeOS also defines linux but their memory-monitors conflict. | 1380 # ChromeOS also defines linux but their memory-monitors conflict. |
1373 if (is_chromeos) { | 1381 if (is_chromeos) { |
1374 sources += [ "../browser/memory/memory_monitor_chromeos_unittest.cc" ] | 1382 sources += [ "../browser/memory/memory_monitor_chromeos_unittest.cc" ] |
1375 } else { | 1383 } else { |
1376 sources += [ "../browser/memory/memory_monitor_linux_unittest.cc" ] | 1384 sources += [ "../browser/memory/memory_monitor_linux_unittest.cc" ] |
1377 } | 1385 } |
1378 | 1386 |
1379 if (is_android || is_linux || is_mac || is_win) { | 1387 if (is_android || is_linux || is_mac || is_win) { |
1380 data = [ | 1388 data = [ |
1381 "$root_out_dir/content_shell.pak", | 1389 "$root_out_dir/content_shell.pak", |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1763 if (is_android) { | 1771 if (is_android) { |
1764 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1772 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1765 } | 1773 } |
1766 } | 1774 } |
1767 | 1775 |
1768 group("fuzzers") { | 1776 group("fuzzers") { |
1769 deps = [ | 1777 deps = [ |
1770 "//content/test/fuzzer", | 1778 "//content/test/fuzzer", |
1771 ] | 1779 ] |
1772 } | 1780 } |
OLD | NEW |