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

Side by Side Diff: chromecast/BUILD.gn

Issue 2483553002: Create cast_shell_lib target for cast_shell and browser tests. (Closed)
Patch Set: fixes android Created 4 years, 1 month 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 | chromecast/android/BUILD.gn » ('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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 cast_test_group_list("cast_junit_test_lists") { 270 cast_test_group_list("cast_junit_test_lists") {
271 test_type = "junit" 271 test_type = "junit"
272 build_list_path = "$root_out_dir/junit/build_junit_test_list.txt" 272 build_list_path = "$root_out_dir/junit/build_junit_test_list.txt"
273 run_list_path = "$root_out_dir/junit/run_junit_test_list.txt" 273 run_list_path = "$root_out_dir/junit/run_junit_test_list.txt"
274 build_tests = true 274 build_tests = true
275 test_groups = [ ":cast_junit_tests" ] 275 test_groups = [ ":cast_junit_tests" ]
276 } 276 }
277 } 277 }
278 278
279 source_set("cast_shell_common") { 279 group("cast_shell_lib") {
280 deps = [ 280 deps = [
281 ":cast_shell_pak",
282 ":chromecast_locales_pak",
283 "//chromecast/app", 281 "//chromecast/app",
284 "//chromecast/browser", 282 "//chromecast/browser",
285 "//chromecast/common", 283 "//chromecast/common",
286 "//chromecast/common/media",
287 "//chromecast/renderer", 284 "//chromecast/renderer",
288 ] 285 ]
289 }
290 286
291 source_set("cast_shell_media") { 287 if (chromecast_branding != "public") {
292 deps = [ 288 deps += [ "//chromecast/internal/shell" ]
293 "//chromecast/common/media", 289 }
294 "//chromecast/media/service",
295 "//chromecast/renderer/media",
296 ]
297 } 290 }
298 291
299 executable("cast_shell") { 292 executable("cast_shell") {
300 sources = [ 293 sources = [
301 "app/cast_main.cc", 294 "app/cast_main.cc",
302 ] 295 ]
303 296
304 deps = [ 297 deps = [
305 ":cast_shell_common", 298 ":cast_shell_lib",
306 ":cast_shell_media", 299 ":cast_shell_pak",
300 ":chromecast_locales_pak",
307 "//build/config/sanitizers:deps", 301 "//build/config/sanitizers:deps",
308 "//chromecast/app", 302 "//chromecast/app",
309 "//content/public/app:both", 303 "//content/public/app:both",
310 ] 304 ]
311
312 if (chromecast_branding != "public") {
313 deps += [ "//chromecast/internal:cast_shell_internal" ]
314 }
315 } 305 }
316 306
317 repack("cast_shell_pak") { 307 repack("cast_shell_pak") {
318 sources = [ 308 sources = [
319 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 309 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
320 "$root_gen_dir/blink/public/resources/blink_resources.pak", 310 "$root_gen_dir/blink/public/resources/blink_resources.pak",
321 "$root_gen_dir/chromecast/app/shell_resources.pak", 311 "$root_gen_dir/chromecast/app/shell_resources.pak",
322 "$root_gen_dir/chromecast/browser/cast_browser_resources.pak", 312 "$root_gen_dir/chromecast/browser/cast_browser_resources.pak",
323 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", 313 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
324 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", 314 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 apk_name = "CastShell" 419 apk_name = "CastShell"
430 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" 420 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml"
431 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest" 421 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest"
432 deps = [ 422 deps = [
433 ":cast_shell_apk_assets", 423 ":cast_shell_apk_assets",
434 "//chromecast/android:libcast_shell_android", 424 "//chromecast/android:libcast_shell_android",
435 "//chromecast/browser/android:cast_shell_java", 425 "//chromecast/browser/android:cast_shell_java",
436 ] 426 ]
437 } 427 }
438 } 428 }
OLDNEW
« no previous file with comments | « no previous file | chromecast/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698