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

Side by Side Diff: chromecast/BUILD.gn

Issue 2429963002: Use only headless Ozone on Cast audio-only platforms (Closed)
Patch Set: Fix cast_shell_browsertests args Created 3 years, 12 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 | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chromecast/build/tests/cast_test.gni") 10 import("//chromecast/build/tests/cast_test.gni")
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 filters += [ cast_media_unittests_filter ] 78 filters += [ cast_media_unittests_filter ]
79 79
80 cast_shell_browsertests_filter = { 80 cast_shell_browsertests_filter = {
81 test_name = "cast_shell_browsertests" 81 test_name = "cast_shell_browsertests"
82 82
83 # --enable-local-file-accesses => to load sample media files 83 # --enable-local-file-accesses => to load sample media files
84 # --test-launcher-jobs=1 => so internal code can bind to port 84 # --test-launcher-jobs=1 => so internal code can bind to port
85 args = [ 85 args = [
86 "--no-sandbox", 86 "--no-sandbox",
87 "--enable-local-file-accesses", 87 "--enable-local-file-accesses",
88 "--ozone-platform=cast",
89 "--test-launcher-jobs=1", 88 "--test-launcher-jobs=1",
90 ] 89 ]
90 if (is_cast_audio_only) {
91 args += [ "--ozone-platform=headless" ]
92 } else {
93 args += [ "--ozone-platform=cast" ]
94 }
91 if (!is_cast_desktop_build) { 95 if (!is_cast_desktop_build) {
92 args += [ "--use-gpu-in-tests" ] 96 args += [ "--use-gpu-in-tests" ]
93 97
94 # TODO(derekjchow): Make these tests pass on Chromecast devices. 98 # TODO(derekjchow): Make these tests pass on Chromecast devices.
95 # Once all of the CastMediaBlockerTest.* have been un-DISABLEd and 99 # Once all of the CastMediaBlockerTest.* have been un-DISABLEd and
96 # are running successfully, revisit these tests and see if they pass 100 # are running successfully, revisit these tests and see if they pass
97 # on devices. (crbug/665118, internal b/32023194) 101 # on devices. (crbug/665118, internal b/32023194)
98 gtest_excludes = [ 102 gtest_excludes = [
99 "CastMediaBlockerBrowserTest.Video_BlockUnblock", 103 "CastMediaBlockerBrowserTest.Video_BlockUnblock",
100 "CastMediaBlockerBrowserTest.Audio_BlockUnblock", 104 "CastMediaBlockerBrowserTest.Audio_BlockUnblock",
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] 454 shared_libraries = [ "//chromecast/android:libcast_shell_android" ]
451 455
452 deps = [ 456 deps = [
453 ":cast_shell_apk_assets", 457 ":cast_shell_apk_assets",
454 "//base:base_java", 458 "//base:base_java",
455 "//chromecast/android:libcast_shell_android", 459 "//chromecast/android:libcast_shell_android",
456 "//chromecast/browser/android:cast_shell_java", 460 "//chromecast/browser/android:cast_shell_java",
457 ] 461 ]
458 } 462 }
459 } 463 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698