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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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" , | 103 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , |
104 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 104 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
105 "$root_gen_dir/components/components_resources.pak", | |
Torne
2016/04/20 16:12:33
What's the APK size impact of adding these additio
aberent
2016/06/08 09:47:41
At present it adds ~1.5M to the APK file size (is
| |
105 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", | 106 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
106 "$root_gen_dir/content/content_resources.pak", | 107 "$root_gen_dir/content/content_resources.pak", |
107 "$root_gen_dir/net/net_resources.pak", | 108 "$root_gen_dir/net/net_resources.pak", |
108 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 109 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
110 "$root_gen_dir/ui/resources/webui_resources.pak", | |
109 "$target_gen_dir/aw_resources.pak", | 111 "$target_gen_dir/aw_resources.pak", |
110 ] | 112 ] |
111 deps = [ | 113 deps = [ |
112 ":generate_aw_resources", | 114 ":generate_aw_resources", |
115 "//components/resources:components_resources", | |
113 "//content:resources", | 116 "//content:resources", |
114 "//content/app/resources", | 117 "//content/app/resources", |
115 "//net:net_resources", | 118 "//net:net_resources", |
116 "//third_party/WebKit/public:image_resources", | 119 "//third_party/WebKit/public:image_resources", |
117 "//third_party/WebKit/public:resources", | 120 "//third_party/WebKit/public:resources", |
118 "//ui/resources", | 121 "//ui/resources", |
119 ] | 122 ] |
120 output = "$target_gen_dir/webviewchromium.pak" | 123 output = "$target_gen_dir/webviewchromium.pak" |
121 } | 124 } |
122 | 125 |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
560 "//components/devtools_discovery", | 563 "//components/devtools_discovery", |
561 "//components/metrics", | 564 "//components/metrics", |
562 "//components/metrics:gpu", | 565 "//components/metrics:gpu", |
563 "//components/metrics:net", | 566 "//components/metrics:net", |
564 "//components/metrics:profiler", | 567 "//components/metrics:profiler", |
565 "//components/metrics:ui", | 568 "//components/metrics:ui", |
566 "//components/navigation_interception", | 569 "//components/navigation_interception", |
567 "//components/printing/browser", | 570 "//components/printing/browser", |
568 "//components/printing/common", | 571 "//components/printing/common", |
569 "//components/printing/renderer", | 572 "//components/printing/renderer", |
573 "//components/supervised_user_error_page", | |
574 "//components/supervised_user_error_page:gin", | |
570 "//components/visitedlink/browser", | 575 "//components/visitedlink/browser", |
571 "//components/visitedlink/renderer", | 576 "//components/visitedlink/renderer", |
572 "//components/web_contents_delegate_android:web_contents_delegate_android", | 577 "//components/web_contents_delegate_android:web_contents_delegate_android", |
578 "//components/web_restrictions:browser", | |
573 "//content", | 579 "//content", |
574 "//content/public/app:both", | 580 "//content/public/app:both", |
575 "//content/public/browser", | 581 "//content/public/browser", |
576 "//gin", | 582 "//gin", |
577 "//gpu/blink", | 583 "//gpu/blink", |
578 "//gpu/command_buffer/client:gl_in_process_context", | 584 "//gpu/command_buffer/client:gl_in_process_context", |
579 "//gpu/command_buffer/client:gles2_c_lib", | 585 "//gpu/command_buffer/client:gles2_c_lib", |
580 "//gpu/command_buffer/client:gles2_implementation", | 586 "//gpu/command_buffer/client:gles2_implementation", |
581 "//gpu/command_buffer/common:gles2_utils", | 587 "//gpu/command_buffer/common:gles2_utils", |
582 "//gpu/command_buffer/service", | 588 "//gpu/command_buffer/service", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
669 "java/src/org/chromium/android_webview/permission/AwPermissionRequest.java", | 675 "java/src/org/chromium/android_webview/permission/AwPermissionRequest.java", |
670 "java/src/org/chromium/android_webview/policy/AwPolicyProvider.java", | 676 "java/src/org/chromium/android_webview/policy/AwPolicyProvider.java", |
671 ] | 677 ] |
672 deps = [ | 678 deps = [ |
673 ":resources", | 679 ":resources", |
674 ":strings_grd", | 680 ":strings_grd", |
675 "//base:base_java", | 681 "//base:base_java", |
676 "//components/external_video_surface:java", | 682 "//components/external_video_surface:java", |
677 "//components/navigation_interception/android:navigation_interception_java", | 683 "//components/navigation_interception/android:navigation_interception_java", |
678 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va", | 684 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va", |
685 "//components/web_restrictions:web_restrictions_java", | |
679 "//content/public/android:content_java", | 686 "//content/public/android:content_java", |
680 "//net/android:net_java", | 687 "//net/android:net_java", |
681 "//ui/android:ui_java", | 688 "//ui/android:ui_java", |
682 ] | 689 ] |
683 | 690 |
684 if (enable_configuration_policy) { | 691 if (enable_configuration_policy) { |
685 deps += [ "//components/policy/android:policy_java" ] | 692 deps += [ "//components/policy/android:policy_java" ] |
686 } | 693 } |
687 | 694 |
688 srcjar_deps = [ "//android_webview/native:aw_permission_request_resource" ] | 695 srcjar_deps = [ "//android_webview/native:aw_permission_request_resource" ] |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
743 android_manifest = get_target_outputs(":system_webview_manifest") | 750 android_manifest = get_target_outputs(":system_webview_manifest") |
744 android_manifest = android_manifest[1] | 751 android_manifest = android_manifest[1] |
745 android_manifest_dep = ":system_webview_manifest" | 752 android_manifest_dep = ":system_webview_manifest" |
746 deps = [ | 753 deps = [ |
747 ":system_webview_resources", | 754 ":system_webview_resources", |
748 "//android_webview/glue", | 755 "//android_webview/glue", |
749 ] | 756 ] |
750 apk_name = "SystemWebView" | 757 apk_name = "SystemWebView" |
751 } | 758 } |
752 } | 759 } |
OLD | NEW |