blob: 4ca08a0e29ca098943dcaf78f7a403a47e0a3fe7 [file] [log] [blame]
prashantv4025129e2015-04-21 21:54:221# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
slan7d09f9e2016-04-08 15:47:025import("//build/buildflag_header.gni")
slanca520532015-11-05 20:35:336import("//build/config/features.gni")
7import("//build/config/locales.gni")
mbjorge47b1c9b2016-09-20 22:23:038import("//build/config/sanitizers/sanitizers.gni")
slanca520532015-11-05 20:35:339import("//build/config/ui.gni")
slan87db9d12015-10-05 20:37:3810import("//chromecast/build/tests/cast_test.gni")
prashantv4025129e2015-04-21 21:54:2211import("//chromecast/chromecast.gni")
slan25bb71f22016-01-06 21:23:5512import("//media/media_options.gni")
slan0c9838b2015-08-05 18:37:4013import("//tools/grit/repack.gni")
14import("//ui/ozone/ozone.gni")
machenbachd65ec5c2016-07-22 09:05:2315import("//v8/gni/v8.gni")
prashantv4025129e2015-04-21 21:54:2216
slan074ec342016-01-29 23:52:2617if (is_android) {
18 import("//build/config/android/rules.gni")
19}
20
halliwell5240d4d2016-04-22 14:34:3221config("playready_config") {
22 if (use_playready) {
slan62afce42015-11-13 22:53:5823 defines = [ "PLAYREADY_CDM_AVAILABLE" ]
prashantv4025129e2015-04-21 21:54:2224 }
25}
26
slan87db9d12015-10-05 20:37:3827# A list of all public test() binaries. This is an organizational target that
28# cannot be depended upon or built directly. Build cast_group_test_list instead.
29cast_test_group("cast_tests") {
mbjorgeb64c791f2016-09-20 18:04:5630 filters = []
slan87db9d12015-10-05 20:37:3831 tests = [
32 "//base:base_unittests",
slanf48fe872015-06-23 19:41:5233 "//chromecast/base:cast_base_unittests",
kmackayfa656b092016-02-04 23:23:5434 "//chromecast/base/component:cast_component_unittests",
gunsch5ed6d7d2015-08-31 22:56:1935 "//chromecast/crypto:cast_crypto_unittests",
sanfin2de00582017-02-09 19:24:4036 "//chromecast/media:cast_media_unittests",
mbjorgec83cce952016-07-27 02:40:3137 "//chromecast/system/reboot:cast_reboot_unittests",
slan87db9d12015-10-05 20:37:3838 "//content/test:content_unittests",
39 "//crypto:crypto_unittests",
slan87db9d12015-10-05 20:37:3840 "//media:media_unittests",
41 "//media/midi:midi_unittests",
42 "//net:net_unittests",
slan87db9d12015-10-05 20:37:3843 "//sandbox/linux:sandbox_linux_unittests",
44 "//sql:sql_unittests",
pwnall1e6964dbe2016-10-11 18:15:4745 "//storage/browser:storage_unittests",
slan87db9d12015-10-05 20:37:3846 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
47 "//ui/base:ui_base_unittests",
slanf48fe872015-06-23 19:41:5248 ]
slan87db9d12015-10-05 20:37:3849
mbjorgeb64c791f2016-09-20 18:04:5650 if (!is_cast_audio_only) {
51 tests += [ "//gpu:gpu_unittests" ]
jlevasseurff442c02017-01-30 17:19:4052
53 if (use_aura) {
54 tests += [ "//chromecast/graphics:cast_graphics_unittests" ]
55 }
mbjorgeb64c791f2016-09-20 18:04:5656 }
57
sanfin09990de52015-11-16 19:08:1958 if (is_linux) {
59 tests += [ "//chromecast/crash:cast_crash_unittests" ]
60 }
61
mbjorgeb64c791f2016-09-20 18:04:5662 if (!is_android && use_alsa) {
63 tests += [ "//chromecast/media/cma/backend/alsa:cast_alsa_cma_backend_unittests" ]
64 }
slan87db9d12015-10-05 20:37:3865
mbjorgeb64c791f2016-09-20 18:04:5666 if (!is_android) {
67 tests += [
alokpe3bd5ed2016-11-16 15:57:1068 ":cast_shell_browsertests",
69 ":cast_shell_unittests",
sanfin2de00582017-02-09 19:24:4070 "//chromecast/media/cma:cast_cma_unittests",
mbjorgeb64c791f2016-09-20 18:04:5671 "//ipc:ipc_tests",
72 "//jingle:jingle_unittests",
73 "//url:url_unittests",
74 ]
slan87db9d12015-10-05 20:37:3875
mbjorgeb64c791f2016-09-20 18:04:5676 cast_media_unittests_filter = {
77 test_name = "cast_media_unittests"
78
79 # --test-launcher-jobs=1 => so internal code can bind to port
80 args = [ "--test-launcher-jobs=1" ]
81 }
82 filters += [ cast_media_unittests_filter ]
83
alokpe3bd5ed2016-11-16 15:57:1084 cast_shell_browsertests_filter = {
85 test_name = "cast_shell_browsertests"
mbjorgeb64c791f2016-09-20 18:04:5686
87 # --enable-local-file-accesses => to load sample media files
88 # --test-launcher-jobs=1 => so internal code can bind to port
89 args = [
90 "--no-sandbox",
91 "--enable-local-file-accesses",
mbjorgeb64c791f2016-09-20 18:04:5692 "--test-launcher-jobs=1",
93 ]
kmackay96fd40e2017-01-04 19:27:3294 if (is_cast_audio_only) {
95 args += [ "--ozone-platform=headless" ]
96 } else {
97 args += [ "--ozone-platform=cast" ]
98 }
mbjorgeb64c791f2016-09-20 18:04:5699 if (!is_cast_desktop_build) {
100 args += [ "--use-gpu-in-tests" ]
mbjorgee37679292016-12-13 23:53:06101
102 # TODO(derekjchow): Make these tests pass on Chromecast devices.
103 # Once all of the CastMediaBlockerTest.* have been un-DISABLEd and
104 # are running successfully, revisit these tests and see if they pass
105 # on devices. (crbug/665118, internal b/32023194)
106 gtest_excludes = [
107 "CastMediaBlockerBrowserTest.Video_BlockUnblock",
108 "CastMediaBlockerBrowserTest.Audio_BlockUnblock",
109 ]
mbjorgeb64c791f2016-09-20 18:04:56110 }
111 }
alokpe3bd5ed2016-11-16 15:57:10112 filters += [ cast_shell_browsertests_filter ]
mbjorgeb64c791f2016-09-20 18:04:56113
114 ipc_tests_filter = {
115 test_name = "ipc_tests"
116
117 # --test-launcher-jobs=1 => so internal code can bind to port
118 args = [ "--test-launcher-jobs=1" ]
119 }
120 filters += [ ipc_tests_filter ]
121
122 url_unittests_filter = {
123 test_name = "url_unittests"
124
125 if (target_os == "linux" && !is_cast_desktop_build) {
126 # DoAppendUTF8Invalid fails because of dcheck_always_on flag in Eng builds
127 gtest_excludes = [ "URLCanonTest.DoAppendUTF8Invalid" ]
128 }
129 }
130 filters += [ url_unittests_filter ]
131 }
132
133 base_unittests_filter = {
134 test_name = "base_unittests"
135 if (target_os == "linux" && !is_cast_desktop_build) {
136 # Disable ProcessMetricsTest.GetNumberOfThreads (b/15610509)
137 # Disable ProcessUtilTest.* (need to define OS_ANDROID)
138 # Disable StackContainer.BufferAlignment (don't support 16-byte alignment)
139 # Disable SystemMetrics2Test.GetSystemMemoryInfo (buffers>0 can't be guaranteed)
mbjorgeb51704e2017-02-14 01:11:25140 # Disable TimeFormattingTest.TimeFormat* for flakiness on devices (crbug/671429)
mbjorgeb64c791f2016-09-20 18:04:56141 gtest_excludes = [
142 "ProcessMetricsTest.GetNumberOfThreads",
143 "ProcessUtilTest.*",
144 "StackContainer.BufferAlignment",
145 "SystemMetrics2Test.GetSystemMemoryInfo",
mbjorgeb51704e2017-02-14 01:11:25146 "TimeFormattingTest.TimeFormat*",
mbjorgeb64c791f2016-09-20 18:04:56147 ]
148
149 if (is_cast_audio_only) {
150 # Also disable TimeFormattingTest on audio-only builds, since we don't
151 # include the necessary info in icudtl.dat.
152 gtest_excludes += [ "TimeFormattingTest.*" ]
153 }
154 }
155 }
156 filters += [ base_unittests_filter ]
157
158 content_unittests_filter = {
159 test_name = "content_unittests"
bshaya27e79282016-12-09 23:41:16160 gtest_excludes = []
mbjorgeb64c791f2016-09-20 18:04:56161 if (target_os == "linux" && !is_cast_desktop_build) {
slan87db9d12015-10-05 20:37:38162 # DesktopCaptureDeviceTest.*: No capture device on Eureka
163 # Disable PepperGamepadHostTest.WaitForReply (pepper not supported on Eureka)
164 # Disable GpuDataManagerImplPrivateTest.SetGLStrings and
165 # RenderWidgetHostTest.Background because we disable the blacklist to enable WebGL (b/16142554)
bshaya27e79282016-12-09 23:41:16166 gtest_excludes += [
mbjorgeb64c791f2016-09-20 18:04:56167 "DOMStorageDatabaseTest.TestCanOpenAndReadWebCoreDatabase",
168 "DesktopCaptureDeviceTest.Capture",
169 "GamepadProviderTest.PollingAccess",
170 "GpuDataManagerImplPrivateTest.SetGLStrings",
171 "PepperGamepadHostTest.WaitForReply",
172 "RenderWidgetHostTest.Background",
173 ]
174 }
bshaya27e79282016-12-09 23:41:16175 if (is_cast_audio_only) {
176 # No way to display URL's on audio only cast devices.
177 gtest_excludes += [ "NavigationEntryTest.NavigationEntryURLs" ]
178 }
mbjorgeb64c791f2016-09-20 18:04:56179 }
180 filters += [ content_unittests_filter ]
slan87db9d12015-10-05 20:37:38181
mbjorgeb64c791f2016-09-20 18:04:56182 media_unittests_filter = {
183 test_name = "media_unittests"
184 if (target_os == "linux" && !is_cast_desktop_build) {
slan87db9d12015-10-05 20:37:38185 # Disable VP9 related tests (b/18593324)
186 # PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM
187 # PipelineIntegrationTest.BasicPlayback_VideoOnly_VP9_WebM
188 # PipelineIntegrationTest.BasicPlayback_VP9*
189 # PipelineIntegrationTest.P444_VP9_WebM
190 # Disable VP8A tests (b/18593324)
191 # PipelineIntegrationTest.BasicPlayback_VP8A*
192 # Disable OpusAudioDecoderTest/AudioDecoderTest.ProduceAudioSamples/0 (unit
193 # test fails when Opus decoder uses fixed-point)
194 # Due to b/16456550, disable the following four test cases:
195 # AudioOutputControllerTest.PlayDivertSwitchDeviceRevertClose
196 # AudioOutputControllerTest.PlaySwitchDeviceClose
197 # AudioStreamHandlerTest.Play
198 # SoundsManagerTest.Play
199 # Disable AudioStreamHandlerTest.ConsecutivePlayRequests (b/16539293)
mbjorgeb64c791f2016-09-20 18:04:56200 gtest_excludes = [
201 "AudioOutputControllerTest.PlayDivertSwitchDeviceRevertClose",
202 "AudioOutputControllerTest.PlaySwitchDeviceClose",
203 "AudioStreamHandlerTest.Play",
204 "AudioStreamHandlerTest.ConsecutivePlayRequests",
205 "PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM",
206 "PipelineIntegrationTest.BasicPlayback_VideoOnly_VP9_WebM",
207 "PipelineIntegrationTest.BasicPlayback_VP9*",
208 "PipelineIntegrationTest.P444_VP9_WebM",
209 "PipelineIntegrationTest.BasicPlayback_VP8A*",
210 "OpusAudioDecoderTest/AudioDecoderTest.ProduceAudioSamples/0",
211 "SoundsManagerTest.Play",
212 ]
213 } else if (target_os == "android" || is_cast_desktop_build) {
214 # Disable PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM (not supported)
215 gtest_excludes =
216 [ "PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM" ]
almasrymina93bf2752016-06-29 20:40:57217 }
mbjorgeb64c791f2016-09-20 18:04:56218 }
219 filters += [ media_unittests_filter ]
220
221 net_unittests_filter = {
222 test_name = "net_unittests"
mbjorgef3f79af2016-10-14 00:13:04223 if (using_sanitizer) {
224 # TODO(mbjorge): net_unittests do not complete when run with sanitizers,
225 # (in particular, TSAN and UBSAN), resulting in build machines getting stuck
226 # for many hours. Disable them for now, since these are getting run on
227 # Chromium bots anyway. (internal b/31279943)
228 gtest_excludes = [ "*" ]
229 } else if (target_os == "linux" && !is_cast_desktop_build) {
mbjorgeb64c791f2016-09-20 18:04:56230 # Run net_unittests first to avoid random failures due to slow python startup
mbjorgeb64c791f2016-09-20 18:04:56231 # URLRequestTestHTTP.GetTest_ManyCookies takes roughly 55s to run. Increase
232 # timeout to 90s from 45s to allow it to pass (b/19821476)
233 # ProxyScriptFetcherImplTest.HttpMimeType is flaking (b/19848784)
derekjchowac29ce32016-12-06 17:11:59234 # Running a batch of net_unittests has high overhead. Run tests in batches of 50 to reduce number of batches (b/23156294).
rsleevi5d916f6c2016-12-21 22:39:41235 gtest_excludes = [ "ProxyScriptFetcherImplTest.HttpMimeType" ]
mbjorgeb64c791f2016-09-20 18:04:56236 args = [
237 "--test-launcher-timeout=90000",
derekjchowac29ce32016-12-06 17:11:59238 "--test-launcher-batch-limit=50",
mbjorgeb64c791f2016-09-20 18:04:56239 ]
240 } else if (is_cast_desktop_build || target_os == "android") {
mbjorge1641c3f2016-06-17 18:39:47241 # URLRequestTestHTTP.GetTest_ManyCookies takes roughly 55s to run. Increase
242 # timeout to 90s from 45s to allow it to pass (b/19821476) (b/29415636).
243 # CTLogVerifierTest.VerifiesValidConsistencyProofsFromReferenceGenerator
244 # times out occasionally, paricularly on the CQ bots; disable to reduce
245 # CQ flakiness (crbug/598406) (b/29415636).
246 # Running a batch of net_unittests has high overhead, so
247 # run tests in batches of 25 to reduce number of batches (b/23156294).
mbjorgeb64c791f2016-09-20 18:04:56248 gtest_excludes = [ "CTLogVerifierTest.VerifiesValidConsistencyProofsFromReferenceGenerator" ]
249 args = [
250 "--test-launcher-timeout=90000",
251 "--test-launcher-batch-limit=25",
252 ]
slan25bb71f22016-01-06 21:23:55253 }
slan87db9d12015-10-05 20:37:38254 }
mbjorgeb64c791f2016-09-20 18:04:56255 filters += [ net_unittests_filter ]
slan87db9d12015-10-05 20:37:38256}
257
258# Creates the build and run lists for all test targets.
259cast_test_group_list("cast_test_lists") {
260 build_list_path = "$root_out_dir/tests/build_test_list.txt"
mbjorge3ca202d2017-01-19 23:19:31261 runtime_deps_path = "$root_out_dir/tests/runtime_deps.json"
slan87db9d12015-10-05 20:37:38262 run_list_path = "$root_out_dir/tests/run_test_list.txt"
263
mbjorge697d8ae152016-06-21 03:48:57264 additional_options = [ "--ozone-platform=headless --test-launcher-bot-mode" ]
slan87db9d12015-10-05 20:37:38265
266 build_tests = true
267
268 test_groups = [ ":cast_tests" ]
269
270 if (chromecast_branding != "public") {
271 test_groups += [ "//chromecast/internal:internal_cast_tests" ]
272 }
slanf48fe872015-06-23 19:41:52273}
slan0c9838b2015-08-05 18:37:40274
sanfin23024072016-06-18 01:02:06275if (is_android) {
276 cast_test_group("cast_junit_tests") {
277 test_type = "junit"
278 tests = [
279 "//base:base_junit_tests",
280 "//content/public/android:content_junit_tests",
281 "//net/android:net_junit_tests",
282 "//testing/android/junit:junit_unit_tests",
283 "//ui/android:ui_junit_tests",
284 ]
285 }
286
287 cast_test_group_list("cast_junit_test_lists") {
288 test_type = "junit"
289 build_list_path = "$root_out_dir/junit/build_junit_test_list.txt"
mbjorge3ca202d2017-01-19 23:19:31290 runtime_deps_path = "$root_out_dir/junit/runtime_deps.json"
sanfin23024072016-06-18 01:02:06291 run_list_path = "$root_out_dir/junit/run_junit_test_list.txt"
292 build_tests = true
293 test_groups = [ ":cast_junit_tests" ]
294 }
295}
296
alokpe3bd5ed2016-11-16 15:57:10297test("cast_shell_unittests") {
298 deps = [
299 ":cast_shell_lib",
300 "//chromecast/app:test_support",
301 "//chromecast/app:unittests",
302 "//chromecast/browser:unittests",
derekjchow3a461eeb2017-01-10 19:03:33303 "//ui/gl:test_support",
alokpe3bd5ed2016-11-16 15:57:10304 ]
305}
306
307test("cast_shell_browsertests") {
308 deps = [
309 ":cast_shell_lib",
310 "//chromecast/app:test_support",
311 "//chromecast/browser:browsertests",
312 ]
alokpe3bd5ed2016-11-16 15:57:10313}
314
alokpcd91e6032016-11-10 22:13:07315group("cast_shell_lib") {
mbjorge095af3442016-11-16 02:41:46316 data_deps = [
317 ":cast_shell_pak",
318 ]
319
slan0c9838b2015-08-05 18:37:40320 deps = [
slan0c9838b2015-08-05 18:37:40321 "//chromecast/app",
322 "//chromecast/browser",
323 "//chromecast/common",
slan0c9838b2015-08-05 18:37:40324 "//chromecast/renderer",
325 ]
slan0c9838b2015-08-05 18:37:40326
alokpcd91e6032016-11-10 22:13:07327 if (chromecast_branding != "public") {
328 deps += [ "//chromecast/internal/shell" ]
329 }
slan0c9838b2015-08-05 18:37:40330}
331
332executable("cast_shell") {
333 sources = [
334 "app/cast_main.cc",
335 ]
336
337 deps = [
alokpcd91e6032016-11-10 22:13:07338 ":cast_shell_lib",
alokpcd91e6032016-11-10 22:13:07339 ":chromecast_locales_pak",
brettwba7a73d2015-08-31 22:17:39340 "//build/config/sanitizers:deps",
slan0c9838b2015-08-05 18:37:40341 "//chromecast/app",
342 "//content/public/app:both",
343 ]
slan0c9838b2015-08-05 18:37:40344}
345
346repack("cast_shell_pak") {
347 sources = [
348 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
349 "$root_gen_dir/blink/public/resources/blink_resources.pak",
350 "$root_gen_dir/chromecast/app/shell_resources.pak",
rockot97597152016-10-03 06:27:38351 "$root_gen_dir/chromecast/browser/cast_browser_resources.pak",
slan0c9838b2015-08-05 18:37:40352 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
353 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
354 "$root_gen_dir/content/content_resources.pak",
355 "$root_gen_dir/net/net_resources.pak",
356 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
357 "$root_gen_dir/ui/resources/webui_resources.pak",
358 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
359 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
360 ]
361
slan0c9838b2015-08-05 18:37:40362 output = "$root_out_dir/assets/cast_shell.pak"
363
364 deps = [
365 "//chromecast/app:resources",
rockot97597152016-10-03 06:27:38366 "//chromecast/browser:resources",
slan0c9838b2015-08-05 18:37:40367 "//content:resources",
368 "//content/app/resources",
369 "//content/app/strings",
370 "//net:net_resources",
slan0c9838b2015-08-05 18:37:40371 "//third_party/WebKit/public:image_resources_grit",
agrieved7a71c882015-11-20 19:53:28372 "//third_party/WebKit/public:resources",
slan0c9838b2015-08-05 18:37:40373 "//ui/resources",
374 "//ui/strings",
375 ]
376
slan9ccf3592015-09-10 19:40:33377 if (chromecast_branding != "public") {
slan65a12682016-02-10 01:24:39378 sources += [ "$root_gen_dir/chromecast/internal/cast_shell_internal.pak" ]
slan9ccf3592015-09-10 19:40:33379
slan65a12682016-02-10 01:24:39380 deps += [ "//chromecast/internal:cast_shell_internal_pak" ]
slan0c9838b2015-08-05 18:37:40381 }
382}
slanca520532015-11-05 20:35:33383
slanca520532015-11-05 20:35:33384action("chromecast_locales_pak") {
385 script = "//chromecast/tools/build/chromecast_repack_locales.py"
386
387 # .pak resources in |grit_out_dir| with the same suffix are packed into a
388 # single resource and placed in |locales_dir|. The original .pak resources
389 # are generated by this target's dependencies.
390 grit_out_dir = "$root_gen_dir/chromecast_strings"
391 locales_dir = "$root_out_dir/chromecast_locales"
392
393 sources = []
394 outputs = []
395
396 # |locales| is an array of suffixes declared in //build/config/locals.gni.
397 foreach(locale, locales) {
398 sources += [ "$grit_out_dir/chromecast_settings_$locale.pak" ]
399 outputs += [ "$locales_dir/$locale.pak" ]
400 }
401 deps = [
402 "//chromecast/app:chromecast_settings",
403 ]
404
gfhuangb15dff22016-09-07 02:21:59405 # Include string and other localized resources for internal builds.
slanca520532015-11-05 20:35:33406 if (chromecast_branding != "public") {
407 foreach(locale, locales) {
408 sources += [ "$grit_out_dir/app_strings_$locale.pak" ]
gfhuang79ceb4f2016-09-07 06:43:03409 if (enable_chromecast_webui) {
410 sources += [ "$grit_out_dir/webui_localized_$locale.pak" ]
411 }
slanca520532015-11-05 20:35:33412 }
413 deps += [ "//chromecast/internal/webui:chromecast_app_strings" ]
gfhuang79ceb4f2016-09-07 06:43:03414 if (enable_chromecast_webui) {
415 deps += [ "//chromecast/internal/webui:chromecast_webui_localized" ]
416 }
slanca520532015-11-05 20:35:33417 }
418
419 # This script only accepts the following values for branding:
420 assert(chromecast_branding == "public" || chromecast_branding == "internal" ||
421 chromecast_branding == "google")
422 args = [
mbjorgeb64c791f2016-09-20 18:04:56423 "-b",
424 "$chromecast_branding",
425 "-g",
426 rebase_path("$root_gen_dir/chromecast_strings"),
427 "-x",
428 rebase_path("$root_out_dir/chromecast_locales"),
429 ]
gfhuang79ceb4f2016-09-07 06:43:03430 if (enable_chromecast_webui) {
431 args += [ "-u" ]
432 }
433 args += locales
slanca520532015-11-05 20:35:33434}
slan074ec342016-01-29 23:52:26435
slan7d09f9e2016-04-08 15:47:02436buildflag_header("chromecast_features") {
437 header = "chromecast_features.h"
slana0671e42016-09-01 13:40:19438 flags = [ "IS_CAST_AUDIO_ONLY=$is_cast_audio_only" ]
slan7d09f9e2016-04-08 15:47:02439}
440
slan074ec342016-01-29 23:52:26441if (is_android) {
slan074ec342016-01-29 23:52:26442 android_assets("cast_shell_apk_assets") {
443 assert(v8_use_external_startup_data)
444
445 sources = [
446 "$root_out_dir/assets/cast_shell.pak",
447 ]
448
449 deps = [
450 ":cast_shell_pak",
451 "//third_party/icu:icu_assets",
452 "//v8:v8_external_startup_data_assets",
453 ]
sanfin52f72e82016-04-13 22:36:05454 disable_compression = true
slan074ec342016-01-29 23:52:26455 }
456
slan074ec342016-01-29 23:52:26457 android_apk("cast_shell_apk") {
458 apk_name = "CastShell"
459 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml"
460 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest"
yucliu5c1cc482016-12-01 20:35:10461
462 shared_libraries = [ "//chromecast/android:libcast_shell_android" ]
463
slan074ec342016-01-29 23:52:26464 deps = [
465 ":cast_shell_apk_assets",
yucliu5c1cc482016-12-01 20:35:10466 "//base:base_java",
slan074ec342016-01-29 23:52:26467 "//chromecast/android:libcast_shell_android",
468 "//chromecast/browser/android:cast_shell_java",
469 ]
470 }
471}