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

Side by Side Diff: android_webview/BUILD.gn

Issue 2354803002: Create Monochrome-specific repack() targets (Closed)
Patch Set: Move rules to //chrome/android. Refactor aw_resources.pak 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/config/android/internal_rules.gni » ('j') | chrome/chrome_paks.gni » ('J')
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("//tools/resources/generate_resource_whitelist.gni")
michaelbai 2016/09/20 18:49:42 Is this one still needed by Standalone webview?
agrieve 2016/09/20 19:11:11 Done.
10 import("system_webview_apk_tmpl.gni") 9 import("system_webview_apk_tmpl.gni")
11 import("webview_repack_locales.gni") 10 import("webview_repack_locales.gni")
12 11
13 declare_args() { 12 declare_args() {
14 # Package name of the system_webview_apk target. 13 # Package name of the system_webview_apk target.
15 system_webview_package_name = "com.android.webview" 14 system_webview_package_name = "com.android.webview"
16 } 15 }
17 16
18 if (!defined(use_webview_internal_framework)) { 17 if (!defined(use_webview_internal_framework)) {
19 use_webview_internal_framework = false 18 use_webview_internal_framework = false
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "$target_gen_dir/chrome_100_percent.pak", 160 "$target_gen_dir/chrome_100_percent.pak",
162 "$target_gen_dir/resources.pak", 161 "$target_gen_dir/resources.pak",
163 ] 162 ]
164 deps = [ 163 deps = [
165 ":repack_100_percent", 164 ":repack_100_percent",
166 ":repack_pack", 165 ":repack_pack",
167 ] 166 ]
168 disable_compression = true 167 disable_compression = true
169 } 168 }
170 169
171 # These assets are needed by both monochrome and stand alone WebView, but not by 170 # These assets are needed by both monochrome and standalone WebView, but not by
172 # Chrome. 171 # Chrome.
173 android_assets("monochrome_webview_assets") { 172 android_assets("monochrome_webview_assets") {
174 sources = [ 173 sources = [
175 webview_license_path, 174 webview_license_path,
176 ] 175 ]
177 deps = [ 176 deps = [
178 ":generate_webview_license_notice", 177 ":generate_webview_license_notice",
179 "//third_party/icu:icu_assets", 178 "//third_party/icu:icu_assets",
180 "//v8:v8_external_startup_data_assets", 179 "//v8:v8_external_startup_data_assets",
181 ] 180 ]
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 system_webview_apk_tmpl("system_webview_apk") { 821 system_webview_apk_tmpl("system_webview_apk") {
823 android_manifest = system_webview_android_manifest 822 android_manifest = system_webview_android_manifest
824 android_manifest_dep = ":system_webview_manifest" 823 android_manifest_dep = ":system_webview_manifest"
825 deps = [ 824 deps = [
826 ":system_webview_resources", 825 ":system_webview_resources",
827 "//android_webview/glue", 826 "//android_webview/glue",
828 ] 827 ]
829 apk_name = "SystemWebView" 828 apk_name = "SystemWebView"
830 } 829 }
831 } 830 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/internal_rules.gni » ('j') | chrome/chrome_paks.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698