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

Side by Side Diff: content/shell/BUILD.gn

Issue 569923003: Make content_shell_apk build completely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-fix-apk-resources
Patch Set: Rebase + remove redundant notifications define Created 6 years, 2 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 | « content/renderer/BUILD.gn ('k') | content/shell/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/ui.gni") 6 import("//build/config/ui.gni")
7 import("//tools/grit/repack.gni") 7 import("//tools/grit/repack.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 "//content:resources", 425 "//content:resources",
426 "//content/app/resources", 426 "//content/app/resources",
427 "//content/app/strings", 427 "//content/app/strings",
428 "//content/browser/tracing:resources", 428 "//content/browser/tracing:resources",
429 "//net:net_resources", 429 "//net:net_resources",
430 "//third_party/WebKit/public:resources", 430 "//third_party/WebKit/public:resources",
431 "//ui/resources", 431 "//ui/resources",
432 "//ui/strings", 432 "//ui/strings",
433 ] 433 ]
434 434
435 if (is_android) { 435 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
436 output = "$root_out_dir/content_shell/assets/content_shell.pak" 436 deps += [ "//content/browser/devtools:resources" ]
437 } else { 437 output = "$root_out_dir/content_shell.pak"
438 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
439 deps += [ "//content/browser/devtools:resources" ]
440 output = "$root_out_dir/content_shell.pak"
441 }
442 } 438 }
443 439
444 # TODO(GYP): Figure out what this should be on android 440 # TODO(GYP): Figure out what this should be on android
445 if (!is_android) { 441 if (!is_android) {
446 442
447 executable("content_shell") { 443 executable("content_shell") {
448 testonly = true 444 testonly = true
449 # TODO(GYP) mac resource bundle stuff for this target. 445 # TODO(GYP) mac resource bundle stuff for this target.
450 # TODO(GYP) Windows content shell settings: 446 # TODO(GYP) Windows content shell settings:
451 # - Manifest. 447 # - Manifest.
(...skipping 25 matching lines...) Expand all
477 if (is_android && !is_android_webview_build) { 473 if (is_android && !is_android_webview_build) {
478 # Some tests rely on this tool. It might be nicer if these tests relied on 474 # Some tests rely on this tool. It might be nicer if these tests relied on
479 # image diff rather than having content shell depend on it. 475 # image diff rather than having content shell depend on it.
480 datadeps = [ 476 datadeps = [
481 "//tools/imagediff($host_toolchain)", 477 "//tools/imagediff($host_toolchain)",
482 ] 478 ]
483 } 479 }
484 } 480 }
485 481
486 } 482 }
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698