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

Side by Side Diff: chromecast/BUILD.gn

Issue 1528533002: [Chromecast] Replace architecure-based conditionals with flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Correct declare_args bug. Created 5 years 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 | « build/config/chromecast_build.gni ('k') | chromecast/chromecast.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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/locales.gni") 6 import("//build/config/locales.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chromecast/build/tests/cast_test.gni") 8 import("//chromecast/build/tests/cast_test.gni")
9 import("//chromecast/chromecast.gni") 9 import("//chromecast/chromecast.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "//ui/base:ui_base_unittests", 43 "//ui/base:ui_base_unittests",
44 "//url:url_unittests", 44 "//url:url_unittests",
45 ] 45 ]
46 46
47 if (is_linux) { 47 if (is_linux) {
48 tests += [ "//chromecast/crash:cast_crash_unittests" ] 48 tests += [ "//chromecast/crash:cast_crash_unittests" ]
49 } 49 }
50 50
51 filters = [] 51 filters = []
52 52
53 if (target_cpu == "arm" && target_os == "linux") { 53 # Apply filters to embedded linux devices.
54 if (target_os == "linux" && !is_cast_desktop_build) {
54 filters += [ 55 filters += [
55 # Run net_unittests first to avoid random failures due to slow python star tup 56 # Run net_unittests first to avoid random failures due to slow python star tup
56 # KeygenHandlerTest.SmokeTest and KeygenHandlerTest.ConcurrencyTest fail d ue to 57 # KeygenHandlerTest.SmokeTest and KeygenHandlerTest.ConcurrencyTest fail d ue to
57 # readonly certdb (b/8153161) 58 # readonly certdb (b/8153161)
58 # URLRequestTestHTTP.GetTest_ManyCookies takes roughly 55s to run. Increas e 59 # URLRequestTestHTTP.GetTest_ManyCookies takes roughly 55s to run. Increas e
59 # timeout to 90s from 45s to allow it to pass (b/19821476) 60 # timeout to 90s from 45s to allow it to pass (b/19821476)
60 # ProxyScriptFetcherImplTest.HttpMimeType is flaking (b/19848784) 61 # ProxyScriptFetcherImplTest.HttpMimeType is flaking (b/19848784)
61 # Running a batch of net_unittests has high overhead. Run tests in batches of 25 to reduce number of batches (b/23156294). 62 # Running a batch of net_unittests has high overhead. Run tests in batches of 25 to reduce number of batches (b/23156294).
62 "net_unittests --gtest_filter=-KeygenHandlerTest.SmokeTest:KeygenHandlerTe st.ConcurrencyTest:ProxyScriptFetcherImplTest.HttpMimeType --test-launcher-timeo ut=90000 --test-launcher-batch-limit=25", 63 "net_unittests --gtest_filter=-KeygenHandlerTest.SmokeTest:KeygenHandlerTe st.ConcurrencyTest:ProxyScriptFetcherImplTest.HttpMimeType --test-launcher-timeo ut=90000 --test-launcher-batch-limit=25",
63 64
(...skipping 23 matching lines...) Expand all
87 # AudioOutputControllerTest.PlaySwitchDeviceClose 88 # AudioOutputControllerTest.PlaySwitchDeviceClose
88 # AudioStreamHandlerTest.Play 89 # AudioStreamHandlerTest.Play
89 # SoundsManagerTest.Play 90 # SoundsManagerTest.Play
90 # Disable AudioStreamHandlerTest.ConsecutivePlayRequests (b/16539293) 91 # Disable AudioStreamHandlerTest.ConsecutivePlayRequests (b/16539293)
91 "media_unittests --gtest_filter=-AudioOutputControllerTest.PlayDivertSwitc hDeviceRevertClose:AudioOutputControllerTest.PlaySwitchDeviceClose:AudioStreamHa ndlerTest.Play:AudioStreamHandlerTest.ConsecutivePlayRequests:PipelineIntegratio nTest.BasicPlayback_MediaSource_VP9_WebM:PipelineIntegrationTest.BasicPlayback_V ideoOnly_VP9_WebM:PipelineIntegrationTest.BasicPlayback_VP9*:PipelineIntegration Test.P444_VP9_WebM:PipelineIntegrationTest.BasicPlayback_VP8A*:OpusAudioDecoderT est/AudioDecoderTest.ProduceAudioSamples/0:SoundsManagerTest.Play", 92 "media_unittests --gtest_filter=-AudioOutputControllerTest.PlayDivertSwitc hDeviceRevertClose:AudioOutputControllerTest.PlaySwitchDeviceClose:AudioStreamHa ndlerTest.Play:AudioStreamHandlerTest.ConsecutivePlayRequests:PipelineIntegratio nTest.BasicPlayback_MediaSource_VP9_WebM:PipelineIntegrationTest.BasicPlayback_V ideoOnly_VP9_WebM:PipelineIntegrationTest.BasicPlayback_VP9*:PipelineIntegration Test.P444_VP9_WebM:PipelineIntegrationTest.BasicPlayback_VP8A*:OpusAudioDecoderT est/AudioDecoderTest.ProduceAudioSamples/0:SoundsManagerTest.Play",
92 "sync_unit_tests --gtest_filter=-SyncHttpBridgeTest.*", 93 "sync_unit_tests --gtest_filter=-SyncHttpBridgeTest.*",
93 94
94 # DoAppendUTF8Invalid fails because of dcheck_always_on flag in Eng builds 95 # DoAppendUTF8Invalid fails because of dcheck_always_on flag in Eng builds
95 "url_unittests --gtest_filter=-URLCanonTest.DoAppendUTF8Invalid", 96 "url_unittests --gtest_filter=-URLCanonTest.DoAppendUTF8Invalid",
96 ] 97 ]
97 } else if (target_cpu != "arm" || target_os == "android") { 98 } else if (is_cast_desktop_build || target_os == "android") {
byungchul 2015/12/15 23:14:17 It can be just "else".
slan 2015/12/16 02:48:00 This was done to be explicit about the condition:
98 filters += [ 99 filters += [
99 # Disable PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM (not supported) 100 # Disable PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM (not supported)
100 "media_unittests --gtest_filter=-PipelineIntegrationTest.BasicPlayback_Med iaSource_VP9_WebM", 101 "media_unittests --gtest_filter=-PipelineIntegrationTest.BasicPlayback_Med iaSource_VP9_WebM",
101 ] 102 ]
102 } 103 }
103 104
104 if (!is_android) { 105 if (!is_android) {
105 tests += [ 106 tests += [
106 "//chromecast/app:cast_shell_unittests", 107 "//chromecast/app:cast_shell_unittests",
107 "//chromecast/browser:cast_shell_browser_test", 108 "//chromecast/browser:cast_shell_browser_test",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 chromecast_branding == "google") 267 chromecast_branding == "google")
267 args = [ 268 args = [
268 "-b", 269 "-b",
269 "$chromecast_branding", 270 "$chromecast_branding",
270 "-g", 271 "-g",
271 rebase_path("$root_gen_dir/chromecast_strings"), 272 rebase_path("$root_gen_dir/chromecast_strings"),
272 "-x", 273 "-x",
273 rebase_path("$root_out_dir/chromecast_locales"), 274 rebase_path("$root_out_dir/chromecast_locales"),
274 ] + locales 275 ] + locales
275 } 276 }
OLDNEW
« no previous file with comments | « build/config/chromecast_build.gni ('k') | chromecast/chromecast.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698