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("//build_overrides/v8.gni") | 8 import("//build_overrides/v8.gni") |
9 import("//third_party/icu/config.gni") | 9 import("//third_party/icu/config.gni") |
10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, | 98 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, |
99 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 99 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
100 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", | 100 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
101 "$root_gen_dir/content/content_resources.pak", | 101 "$root_gen_dir/content/content_resources.pak", |
102 "$root_gen_dir/net/net_resources.pak", | 102 "$root_gen_dir/net/net_resources.pak", |
103 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 103 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
104 "$target_gen_dir/aw_resources.pak", | 104 "$target_gen_dir/aw_resources.pak", |
105 ] | 105 ] |
106 deps = [ | 106 deps = [ |
107 ":generate_aw_resources", | 107 ":generate_aw_resources", |
| 108 "//content:resources", |
| 109 "//content/app/resources", |
| 110 "//net:net_resources", |
108 "//third_party/WebKit/public:image_resources", | 111 "//third_party/WebKit/public:image_resources", |
109 "//third_party/WebKit/public:resources", | 112 "//third_party/WebKit/public:resources", |
110 "//content/app/resources", | |
111 "//content:resources", | |
112 "//net:net_resources", | |
113 "//ui/resources", | 113 "//ui/resources", |
114 ] | 114 ] |
115 output = "$target_gen_dir/webviewchromium.pak" | 115 output = "$target_gen_dir/webviewchromium.pak" |
116 } | 116 } |
117 | 117 |
118 copy("rename_natives_blob") { | 118 copy("rename_natives_blob") { |
119 sources = [ | 119 sources = [ |
120 "$root_out_dir/natives_blob.bin", | 120 "$root_out_dir/natives_blob.bin", |
121 ] | 121 ] |
122 outputs = [ | 122 outputs = [ |
(...skipping 20 matching lines...) Expand all Loading... |
143 webview_license_path = "$target_gen_dir/webview_licenses.notice" | 143 webview_license_path = "$target_gen_dir/webview_licenses.notice" |
144 | 144 |
145 copy_ex("assets") { | 145 copy_ex("assets") { |
146 clear_dir = true | 146 clear_dir = true |
147 dest = android_webview_assets_dir | 147 dest = android_webview_assets_dir |
148 sources = [ | 148 sources = [ |
149 "$target_gen_dir/webviewchromium.pak", | 149 "$target_gen_dir/webviewchromium.pak", |
150 webview_license_path, | 150 webview_license_path, |
151 ] | 151 ] |
152 deps = [ | 152 deps = [ |
| 153 ":generate_webview_license_notice", |
153 ":repack_pack", | 154 ":repack_pack", |
154 ":generate_webview_license_notice", | |
155 ] | 155 ] |
156 if (icu_use_data_file) { | 156 if (icu_use_data_file) { |
157 sources += [ "$root_build_dir/icudtl.dat" ] | 157 sources += [ "$root_build_dir/icudtl.dat" ] |
158 deps += [ "//third_party/icu:icudata" ] | 158 deps += [ "//third_party/icu:icudata" ] |
159 } | 159 } |
160 if (v8_use_external_startup_data) { | 160 if (v8_use_external_startup_data) { |
161 sources += [ | 161 sources += [ |
162 "$target_gen_dir/natives_blob_$arch_suffix.bin", | 162 "$target_gen_dir/natives_blob_$arch_suffix.bin", |
163 "$target_gen_dir/snapshot_blob_$arch_suffix.bin", | 163 "$target_gen_dir/snapshot_blob_$arch_suffix.bin", |
164 ] | 164 ] |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 ] | 500 ] |
501 | 501 |
502 deps = [ | 502 deps = [ |
503 ":generate_aw_resources", | 503 ":generate_aw_resources", |
504 ":generate_aw_strings", | 504 ":generate_aw_strings", |
505 ":generate_components_strings", | 505 ":generate_components_strings", |
506 "//android_webview/native:native", | 506 "//android_webview/native:native", |
507 "//cc/surfaces", | 507 "//cc/surfaces", |
508 "//components/auto_login_parser:auto_login_parser", | 508 "//components/auto_login_parser:auto_login_parser", |
509 "//components/autofill/content/renderer", | 509 "//components/autofill/content/renderer", |
| 510 "//components/cdm/browser", |
| 511 "//components/cdm/renderer", |
510 "//components/crash/content/app", | 512 "//components/crash/content/app", |
511 "//components/crash/content/browser", | 513 "//components/crash/content/browser", |
512 "//components/cdm/browser", | |
513 "//components/cdm/renderer", | |
514 "//components/data_reduction_proxy/core/browser", | 514 "//components/data_reduction_proxy/core/browser", |
515 "//components/devtools_discovery", | 515 "//components/devtools_discovery", |
516 "//components/navigation_interception", | 516 "//components/navigation_interception", |
| 517 "//components/printing/browser", |
517 "//components/printing/common", | 518 "//components/printing/common", |
518 "//components/printing/browser", | |
519 "//components/printing/renderer", | 519 "//components/printing/renderer", |
520 "//components/visitedlink/browser", | 520 "//components/visitedlink/browser", |
521 "//components/visitedlink/renderer", | 521 "//components/visitedlink/renderer", |
522 "//components/web_contents_delegate_android:web_contents_delegate_android", | 522 "//components/web_contents_delegate_android:web_contents_delegate_android", |
523 "//content", | 523 "//content", |
524 "//content/public/app:both", | 524 "//content/public/app:both", |
525 "//content/public/browser", | 525 "//content/public/browser", |
526 "//gin", | 526 "//gin", |
527 "//gpu/blink", | 527 "//gpu/blink", |
528 "//gpu/command_buffer/common:gles2_utils", | |
529 "//gpu/command_buffer/service", | |
530 "//gpu/command_buffer/client:gl_in_process_context", | 528 "//gpu/command_buffer/client:gl_in_process_context", |
531 "//gpu/command_buffer/client:gles2_c_lib", | 529 "//gpu/command_buffer/client:gles2_c_lib", |
532 "//gpu/command_buffer/client:gles2_implementation", | 530 "//gpu/command_buffer/client:gles2_implementation", |
| 531 "//gpu/command_buffer/common:gles2_utils", |
| 532 "//gpu/command_buffer/service", |
533 "//gpu/skia_bindings", | 533 "//gpu/skia_bindings", |
534 "//media", | 534 "//media", |
535 "//media/midi", | 535 "//media/midi", |
536 "//printing", | 536 "//printing", |
537 "//skia", | 537 "//skia", |
538 "//third_party/WebKit/public:blink", | 538 "//third_party/WebKit/public:blink", |
539 "//ui/events:gesture_detection", | 539 "//ui/events:gesture_detection", |
540 "//ui/gl", | 540 "//ui/gl", |
541 "//ui/shell_dialogs", | 541 "//ui/shell_dialogs", |
542 "//v8", | 542 "//v8", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 ] | 679 ] |
680 } | 680 } |
681 | 681 |
682 android_apk("system_webview_apk") { | 682 android_apk("system_webview_apk") { |
683 android_manifest = get_target_outputs(":system_webview_manifest") | 683 android_manifest = get_target_outputs(":system_webview_manifest") |
684 android_manifest = android_manifest[1] | 684 android_manifest = android_manifest[1] |
685 android_manifest_dep = ":system_webview_manifest" | 685 android_manifest_dep = ":system_webview_manifest" |
686 asset_location = android_webview_assets_dir | 686 asset_location = android_webview_assets_dir |
687 chromium_code = true | 687 chromium_code = true |
688 deps = [ | 688 deps = [ |
689 ":system_webview_resources", | |
690 ":assets", | 689 ":assets", |
691 ":libwebviewchromium", | 690 ":libwebviewchromium", |
| 691 ":system_webview_resources", |
692 "//android_webview/glue", | 692 "//android_webview/glue", |
693 "//base:base_java", | 693 "//base:base_java", |
694 ] | 694 ] |
695 apk_name = "SystemWebView" | 695 apk_name = "SystemWebView" |
696 native_libs = [ "$root_build_dir/libwebviewchromium.so" ] | 696 native_libs = [ "$root_build_dir/libwebviewchromium.so" ] |
697 } | 697 } |
OLD | NEW |