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

Side by Side Diff: android_webview/BUILD.gn

Issue 2315993003: Reland of GN(Android): Stop specifying depfile under outputs (Closed)
Patch Set: Create depfile parent directory when it doesn't exist Created 4 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
« no previous file with comments | « no previous file | build/android/gyp/util/build_utils.py » ('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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 import("system_webview_apk_tmpl.gni") 9 import("system_webview_apk_tmpl.gni")
10 import("webview_repack_locales.gni") 10 import("webview_repack_locales.gni")
11 11
12 declare_args() { 12 declare_args() {
13 # Package name of the system_webview_apk target. 13 # Package name of the system_webview_apk target.
14 system_webview_package_name = "com.android.webview" 14 system_webview_package_name = "com.android.webview"
15 } 15 }
16 16
17 if (!defined(use_webview_internal_framework)) { 17 if (!defined(use_webview_internal_framework)) {
18 use_webview_internal_framework = false 18 use_webview_internal_framework = false
19 } 19 }
20 20
21 system_webview_android_manifest =
22 "$target_gen_dir/system_webview_apk/AndroidManifest.xml"
23
21 group("android_webview") { 24 group("android_webview") {
22 if (!use_webview_internal_framework) { 25 if (!use_webview_internal_framework) {
23 deps = [ 26 deps = [
24 ":system_webview_apk", 27 ":system_webview_apk",
25 ] 28 ]
26 } 29 }
27 } 30 }
28 31
29 jinja_template("system_webview_manifest") { 32 jinja_template("system_webview_manifest") {
30 input = "apk/java/AndroidManifest.xml" 33 input = "apk/java/AndroidManifest.xml"
31 output = "$target_gen_dir/system_webview_manifest/AndroidManifest.xml" 34 output = system_webview_android_manifest
32 variables = [ "package=$system_webview_package_name" ] 35 variables = [ "package=$system_webview_package_name" ]
33 } 36 }
34 37
35 webview_repack_locales("repack_locales") { 38 webview_repack_locales("repack_locales") {
36 input_locales = locales 39 input_locales = locales
37 output_locales = locales 40 output_locales = locales
38 } 41 }
39 42
40 locale_pak_resources("locale_paks") { 43 locale_pak_resources("locale_paks") {
41 sources = [ 44 sources = [
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 "values-uk/android_webview_strings.xml", 780 "values-uk/android_webview_strings.xml",
778 "values-vi/android_webview_strings.xml", 781 "values-vi/android_webview_strings.xml",
779 "values-zh-rCN/android_webview_strings.xml", 782 "values-zh-rCN/android_webview_strings.xml",
780 "values-zh-rTW/android_webview_strings.xml", 783 "values-zh-rTW/android_webview_strings.xml",
781 "values/android_webview_strings.xml", 784 "values/android_webview_strings.xml",
782 ] 785 ]
783 } 786 }
784 787
785 if (!use_webview_internal_framework) { 788 if (!use_webview_internal_framework) {
786 system_webview_apk_tmpl("system_webview_apk") { 789 system_webview_apk_tmpl("system_webview_apk") {
787 android_manifest = get_target_outputs(":system_webview_manifest") 790 android_manifest = system_webview_android_manifest
788 android_manifest = android_manifest[1]
789 android_manifest_dep = ":system_webview_manifest" 791 android_manifest_dep = ":system_webview_manifest"
790 deps = [ 792 deps = [
791 ":system_webview_resources", 793 ":system_webview_resources",
792 "//android_webview/glue", 794 "//android_webview/glue",
793 ] 795 ]
794 apk_name = "SystemWebView" 796 apk_name = "SystemWebView"
795 } 797 }
796 } 798 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/util/build_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698