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_native_jni_exports" ] | 315 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
| 316 configs += [ "//build/config/android:hide_all_but_jni" ] |
316 } | 317 } |
317 | 318 |
318 if (android_64bit_target_cpu) { | 319 if (android_64bit_target_cpu) { |
319 android_assets("v8_snapshot_secondary_abi_assets") { | 320 android_assets("v8_snapshot_secondary_abi_assets") { |
320 _secondary_abi_out_dir = | 321 _secondary_abi_out_dir = |
321 get_label_info("//v8($android_secondary_abi_toolchain)", "root_out_dir") | 322 get_label_info("//v8($android_secondary_abi_toolchain)", "root_out_dir") |
322 assert(android_64bit_target_cpu, | 323 assert(android_64bit_target_cpu, |
323 "32-bit targets shouldn't have secondary abi") | 324 "32-bit targets shouldn't have secondary abi") |
324 arch_suffix = "32" | 325 arch_suffix = "32" |
325 renaming_sources = [ "$_secondary_abi_out_dir/snapshot_blob.bin" ] | 326 renaming_sources = [ "$_secondary_abi_out_dir/snapshot_blob.bin" ] |
326 renaming_destinations = [ "snapshot_blob_$arch_suffix.bin" ] | 327 renaming_destinations = [ "snapshot_blob_$arch_suffix.bin" ] |
327 disable_compression = true | 328 disable_compression = true |
328 deps = [ | 329 deps = [ |
329 "//v8($android_secondary_abi_toolchain)", | 330 "//v8($android_secondary_abi_toolchain)", |
330 ] | 331 ] |
331 } | 332 } |
332 | 333 |
333 shared_library("monochrome") { | 334 shared_library("monochrome") { |
334 deps = [ | 335 deps = [ |
335 ":webview_entry_point", | 336 ":webview_entry_point", |
336 ] | 337 ] |
337 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 338 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
| 339 configs += [ "//build/config/android:hide_all_but_jni" ] |
338 } | 340 } |
339 } | 341 } |
340 | 342 |
341 if (enable_resource_whitelist_generation) { | 343 if (enable_resource_whitelist_generation) { |
342 generate_resource_whitelist("system_webview_pak_whitelist") { | 344 generate_resource_whitelist("system_webview_pak_whitelist") { |
343 deps = [ | 345 deps = [ |
344 ":libwebviewchromium", | 346 ":libwebviewchromium", |
345 ] | 347 ] |
346 input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" | 348 input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" |
347 output = system_webview_pak_whitelist | 349 output = system_webview_pak_whitelist |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 system_webview_apk_tmpl("system_webview_apk") { | 799 system_webview_apk_tmpl("system_webview_apk") { |
798 android_manifest = system_webview_android_manifest | 800 android_manifest = system_webview_android_manifest |
799 android_manifest_dep = ":system_webview_manifest" | 801 android_manifest_dep = ":system_webview_manifest" |
800 deps = [ | 802 deps = [ |
801 ":system_webview_resources", | 803 ":system_webview_resources", |
802 "//android_webview/glue", | 804 "//android_webview/glue", |
803 ] | 805 ] |
804 apk_name = "SystemWebView" | 806 apk_name = "SystemWebView" |
805 } | 807 } |
806 } | 808 } |
OLD | NEW |