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

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: Created 6 years, 3 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
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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 "//content:resources", 420 "//content:resources",
421 "//content/app/resources", 421 "//content/app/resources",
422 "//content/app/strings", 422 "//content/app/strings",
423 "//content/browser/tracing:resources", 423 "//content/browser/tracing:resources",
424 "//net:net_resources", 424 "//net:net_resources",
425 "//third_party/WebKit/public:resources", 425 "//third_party/WebKit/public:resources",
426 "//ui/resources", 426 "//ui/resources",
427 "//ui/strings", 427 "//ui/strings",
428 ] 428 ]
429 429
430 if (is_android) { 430 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
431 output = "$root_out_dir/content_shell/assets/content_shell.pak" 431 deps += [ "//content/browser/devtools:resources" ]
432 } else { 432 output = "$root_out_dir/content_shell.pak"
433 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
434 deps += [ "//content/browser/devtools:resources" ]
435 output = "$root_out_dir/content_shell.pak"
436 }
437 } 433 }
438 434
439 # TODO(GYP): Figure out what this should be on android 435 # TODO(GYP): Figure out what this should be on android
440 if (!is_android) { 436 if (!is_android) {
441 437
442 executable("content_shell") { 438 executable("content_shell") {
443 testonly = true 439 testonly = true
444 # TODO(GYP) mac resource bundle stuff for this target. 440 # TODO(GYP) mac resource bundle stuff for this target.
445 # TODO(GYP) Windows content shell settings: 441 # TODO(GYP) Windows content shell settings:
446 # - Manifest. 442 # - Manifest.
(...skipping 25 matching lines...) Expand all
472 if (is_android && !is_android_webview_build) { 468 if (is_android && !is_android_webview_build) {
473 # Some tests rely on this tool. It might be nicer if these tests relied on 469 # Some tests rely on this tool. It might be nicer if these tests relied on
474 # image diff rather than having content shell depend on it. 470 # image diff rather than having content shell depend on it.
475 datadeps = [ 471 datadeps = [
476 "//tools/imagediff($host_toolchain)", 472 "//tools/imagediff($host_toolchain)",
477 ] 473 ]
478 } 474 }
479 } 475 }
480 476
481 } 477 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698