| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 ] | 305 ] |
| 306 sources = [ | 306 sources = [ |
| 307 "lib/main/webview_entry_point.cc", | 307 "lib/main/webview_entry_point.cc", |
| 308 ] | 308 ] |
| 309 } | 309 } |
| 310 | 310 |
| 311 shared_library("libwebviewchromium") { | 311 shared_library("libwebviewchromium") { |
| 312 deps = [ | 312 deps = [ |
| 313 ":webview_entry_point", | 313 ":webview_entry_point", |
| 314 ] | 314 ] |
| 315 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 315 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 316 configs += [ "//build/config/android:hide_all_but_jni" ] | |
| 317 } | 316 } |
| 318 | 317 |
| 319 if (android_64bit_target_cpu) { | 318 if (android_64bit_target_cpu) { |
| 320 android_assets("v8_snapshot_secondary_abi_assets") { | 319 android_assets("v8_snapshot_secondary_abi_assets") { |
| 321 _secondary_abi_out_dir = | 320 _secondary_abi_out_dir = |
| 322 get_label_info("//v8($android_secondary_abi_toolchain)", "root_out_dir") | 321 get_label_info("//v8($android_secondary_abi_toolchain)", "root_out_dir") |
| 323 assert(android_64bit_target_cpu, | 322 assert(android_64bit_target_cpu, |
| 324 "32-bit targets shouldn't have secondary abi") | 323 "32-bit targets shouldn't have secondary abi") |
| 325 arch_suffix = "32" | 324 arch_suffix = "32" |
| 326 renaming_sources = [ "$_secondary_abi_out_dir/snapshot_blob.bin" ] | 325 renaming_sources = [ "$_secondary_abi_out_dir/snapshot_blob.bin" ] |
| 327 renaming_destinations = [ "snapshot_blob_$arch_suffix.bin" ] | 326 renaming_destinations = [ "snapshot_blob_$arch_suffix.bin" ] |
| 328 disable_compression = true | 327 disable_compression = true |
| 329 deps = [ | 328 deps = [ |
| 330 "//v8($android_secondary_abi_toolchain)", | 329 "//v8($android_secondary_abi_toolchain)", |
| 331 ] | 330 ] |
| 332 } | 331 } |
| 333 | 332 |
| 334 shared_library("monochrome") { | 333 shared_library("monochrome") { |
| 335 deps = [ | 334 deps = [ |
| 336 ":webview_entry_point", | 335 ":webview_entry_point", |
| 337 ] | 336 ] |
| 338 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 337 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 339 configs += [ "//build/config/android:hide_all_but_jni" ] | |
| 340 } | 338 } |
| 341 } | 339 } |
| 342 | 340 |
| 343 if (enable_resource_whitelist_generation) { | 341 if (enable_resource_whitelist_generation) { |
| 344 generate_resource_whitelist("system_webview_pak_whitelist") { | 342 generate_resource_whitelist("system_webview_pak_whitelist") { |
| 345 deps = [ | 343 deps = [ |
| 346 ":libwebviewchromium", | 344 ":libwebviewchromium", |
| 347 ] | 345 ] |
| 348 input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" | 346 input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" |
| 349 output = system_webview_pak_whitelist | 347 output = system_webview_pak_whitelist |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 system_webview_apk_tmpl("system_webview_apk") { | 785 system_webview_apk_tmpl("system_webview_apk") { |
| 788 android_manifest = system_webview_android_manifest | 786 android_manifest = system_webview_android_manifest |
| 789 android_manifest_dep = ":system_webview_manifest" | 787 android_manifest_dep = ":system_webview_manifest" |
| 790 deps = [ | 788 deps = [ |
| 791 ":system_webview_resources", | 789 ":system_webview_resources", |
| 792 "//android_webview/glue", | 790 "//android_webview/glue", |
| 793 ] | 791 ] |
| 794 apk_name = "SystemWebView" | 792 apk_name = "SystemWebView" |
| 795 } | 793 } |
| 796 } | 794 } |
| OLD | NEW |