| 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("//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") |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 "$root_out_dir/android_webview/locales/zh-CN.pak", | 93 "$root_out_dir/android_webview/locales/zh-CN.pak", |
| 94 "$root_out_dir/android_webview/locales/zh-TW.pak", | 94 "$root_out_dir/android_webview/locales/zh-TW.pak", |
| 95 ] | 95 ] |
| 96 deps = [ | 96 deps = [ |
| 97 ":repack_locales", | 97 ":repack_locales", |
| 98 ] | 98 ] |
| 99 } | 99 } |
| 100 | 100 |
| 101 repack("repack_pack") { | 101 repack("repack_pack") { |
| 102 sources = [ | 102 sources = [ |
| 103 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, | |
| 104 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 103 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
| 105 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", | |
| 106 "$root_gen_dir/content/content_resources.pak", | 104 "$root_gen_dir/content/content_resources.pak", |
| 107 "$root_gen_dir/net/net_resources.pak", | 105 "$root_gen_dir/net/net_resources.pak", |
| 108 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | |
| 109 "$target_gen_dir/aw_resources.pak", | 106 "$target_gen_dir/aw_resources.pak", |
| 110 ] | 107 ] |
| 111 deps = [ | 108 deps = [ |
| 112 ":generate_aw_resources", | 109 ":generate_aw_resources", |
| 113 "//content:resources", | 110 "//content:resources", |
| 111 "//net:net_resources", |
| 112 "//third_party/WebKit/public:resources", |
| 113 ] |
| 114 output = "$target_gen_dir/resources.pak" |
| 115 } |
| 116 |
| 117 repack("repack_100_percent") { |
| 118 sources = [ |
| 119 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, |
| 120 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
| 121 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 122 ] |
| 123 deps = [ |
| 114 "//content/app/resources", | 124 "//content/app/resources", |
| 115 "//net:net_resources", | 125 "//net:net_resources", |
| 116 "//third_party/WebKit/public:image_resources", | 126 "//third_party/WebKit/public:image_resources", |
| 117 "//third_party/WebKit/public:resources", | |
| 118 "//ui/resources", | 127 "//ui/resources", |
| 119 ] | 128 ] |
| 120 output = "$target_gen_dir/webviewchromium.pak" | 129 output = "$target_gen_dir/chrome_100_percent.pak" |
| 121 } | 130 } |
| 122 | 131 |
| 123 webview_license_path = "$target_gen_dir/webview_licenses.notice" | 132 webview_license_path = "$target_gen_dir/webview_licenses.notice" |
| 124 | 133 |
| 125 android_assets("pak_file_assets") { | 134 android_assets("pak_file_assets") { |
| 126 sources = [ | 135 sources = [ |
| 127 "$target_gen_dir/webviewchromium.pak", | 136 "$target_gen_dir/chrome_100_percent.pak", |
| 137 "$target_gen_dir/resources.pak", |
| 128 ] | 138 ] |
| 129 deps = [ | 139 deps = [ |
| 140 ":repack_100_percent", |
| 130 ":repack_pack", | 141 ":repack_pack", |
| 131 ] | 142 ] |
| 132 disable_compression = true | 143 disable_compression = true |
| 133 } | 144 } |
| 134 | 145 |
| 135 # These assets are needed by both monochrome and stand alone WebView, but not by | 146 # These assets are needed by both monochrome and stand alone WebView, but not by |
| 136 # Chrome. | 147 # Chrome. |
| 137 android_assets("monochrome_webview_assets") { | 148 android_assets("monochrome_webview_assets") { |
| 138 sources = [ | 149 sources = [ |
| 139 webview_license_path, | 150 webview_license_path, |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 android_manifest = get_target_outputs(":system_webview_manifest") | 772 android_manifest = get_target_outputs(":system_webview_manifest") |
| 762 android_manifest = android_manifest[1] | 773 android_manifest = android_manifest[1] |
| 763 android_manifest_dep = ":system_webview_manifest" | 774 android_manifest_dep = ":system_webview_manifest" |
| 764 deps = [ | 775 deps = [ |
| 765 ":system_webview_resources", | 776 ":system_webview_resources", |
| 766 "//android_webview/glue", | 777 "//android_webview/glue", |
| 767 ] | 778 ] |
| 768 apk_name = "SystemWebView" | 779 apk_name = "SystemWebView" |
| 769 } | 780 } |
| 770 } | 781 } |
| OLD | NEW |