OLD | NEW |
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "//chromecast/browser:unittests", | 297 "//chromecast/browser:unittests", |
298 ] | 298 ] |
299 } | 299 } |
300 | 300 |
301 test("cast_shell_browsertests") { | 301 test("cast_shell_browsertests") { |
302 deps = [ | 302 deps = [ |
303 ":cast_shell_lib", | 303 ":cast_shell_lib", |
304 "//chromecast/app:test_support", | 304 "//chromecast/app:test_support", |
305 "//chromecast/browser:browsertests", | 305 "//chromecast/browser:browsertests", |
306 ] | 306 ] |
307 | |
308 if (chromecast_branding == "public") { | |
309 # Link default libcast_media_1.0 statically not to link dummy one | |
310 # dynamically for public unittests. | |
311 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] | |
312 } | |
313 } | 307 } |
314 | 308 |
315 group("cast_shell_lib") { | 309 group("cast_shell_lib") { |
316 data_deps = [ | 310 data_deps = [ |
317 ":cast_shell_pak", | 311 ":cast_shell_pak", |
318 ] | 312 ] |
319 | 313 |
320 deps = [ | 314 deps = [ |
321 "//chromecast/app", | 315 "//chromecast/app", |
322 "//chromecast/browser", | 316 "//chromecast/browser", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] | 456 shared_libraries = [ "//chromecast/android:libcast_shell_android" ] |
463 | 457 |
464 deps = [ | 458 deps = [ |
465 ":cast_shell_apk_assets", | 459 ":cast_shell_apk_assets", |
466 "//base:base_java", | 460 "//base:base_java", |
467 "//chromecast/android:libcast_shell_android", | 461 "//chromecast/android:libcast_shell_android", |
468 "//chromecast/browser/android:cast_shell_java", | 462 "//chromecast/browser/android:cast_shell_java", |
469 ] | 463 ] |
470 } | 464 } |
471 } | 465 } |
OLD | NEW |