Chromium Code Reviews| OLD | NEW |
|---|---|
| 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("//android_webview/system_webview_apk_tmpl.gni") | 5 import("//android_webview/system_webview_apk_tmpl.gni") |
| 6 import("//android_webview/webview_repack_locales.gni") | 6 import("//android_webview/webview_repack_locales.gni") |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//components/spellcheck/spellcheck_build_features.gni") | 10 import("//components/spellcheck/spellcheck_build_features.gni") |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 if (enable_resource_whitelist_generation) { | 105 if (enable_resource_whitelist_generation) { |
| 106 repack_whitelist = system_webview_pak_whitelist | 106 repack_whitelist = system_webview_pak_whitelist |
| 107 deps = [ | 107 deps = [ |
| 108 ":system_webview_pak_whitelist", | 108 ":system_webview_pak_whitelist", |
| 109 ] | 109 ] |
| 110 } | 110 } |
| 111 } | 111 } |
| 112 | 112 |
| 113 android_assets("locale_pak_assets") { | 113 android_assets("locale_pak_assets") { |
| 114 disable_compression = true | 114 disable_compression = true |
| 115 sources = [] | 115 renaming_sources = [] |
| 116 renaming_destinations = [] | |
| 116 foreach(_locale, locales) { | 117 foreach(_locale, locales) { |
| 117 sources += [ "$root_out_dir/android_webview/locales/$_locale.pak" ] | 118 renaming_sources += [ "$root_out_dir/android_webview/locales/$_locale.pak" ] |
| 119 renaming_destinations += [ "stored/$_locale.pak" ] | |
|
agrieve
2017/05/17 19:29:44
It's a bit odd that our other non-compressed .pak
F
2017/05/17 19:45:21
Done.
| |
| 118 } | 120 } |
| 119 deps = [ | 121 deps = [ |
| 120 ":repack_locales", | 122 ":repack_locales", |
| 121 ] | 123 ] |
| 122 } | 124 } |
| 123 | 125 |
| 124 repack("repack_pack") { | 126 repack("repack_pack") { |
| 125 sources = [ | 127 sources = [ |
| 126 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 128 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
| 127 "$root_gen_dir/content/content_resources.pak", | 129 "$root_gen_dir/content/content_resources.pak", |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 965 system_webview_apk_tmpl("system_webview_apk") { | 967 system_webview_apk_tmpl("system_webview_apk") { |
| 966 android_manifest = system_webview_android_manifest | 968 android_manifest = system_webview_android_manifest |
| 967 android_manifest_dep = ":system_webview_manifest" | 969 android_manifest_dep = ":system_webview_manifest" |
| 968 deps = [ | 970 deps = [ |
| 969 ":system_webview_resources", | 971 ":system_webview_resources", |
| 970 "//android_webview/glue", | 972 "//android_webview/glue", |
| 971 ] | 973 ] |
| 972 apk_name = "SystemWebView" | 974 apk_name = "SystemWebView" |
| 973 } | 975 } |
| 974 } | 976 } |
| OLD | NEW |