Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: chrome/android/BUILD.gn

Issue 2699473002: Reland of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: fix loadable_module Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/android/BUILD.gn ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/webview_repack_locales_list.gni") 5 import("//android_webview/webview_repack_locales_list.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 import("//build/util/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//chrome/android/chrome_public_apk_tmpl.gni") 9 import("//chrome/android/chrome_public_apk_tmpl.gni")
10 import("//chrome/android/monochrome_android_manifest_jinja_variables.gni") 10 import("//chrome/android/monochrome_android_manifest_jinja_variables.gni")
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 shared_library("monochrome") { 635 shared_library("monochrome") {
636 sources = [ 636 sources = [
637 "../app/android/chrome_main_delegate_android_initializer.cc", 637 "../app/android/chrome_main_delegate_android_initializer.cc",
638 "../browser/android/monochrome_entry_point.cc", 638 "../browser/android/monochrome_entry_point.cc",
639 ] 639 ]
640 deps = [ 640 deps = [
641 "//android_webview:common", 641 "//android_webview:common",
642 "//chrome:chrome_android_core", 642 "//chrome:chrome_android_core",
643 ] 643 ]
644 644
645 configs -= [ "//build/config/android:hide_native_jni_exports" ] 645 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
646 configs += [ "//build/config/android:hide_all_but_jni" ]
646 if (is_android && use_order_profiling) { 647 if (is_android && use_order_profiling) {
647 deps += [ "//tools/cygprofile" ] 648 deps += [ "//tools/cygprofile" ]
648 } 649 }
649 650
650 public_configs = extra_chrome_shared_library_configs 651 public_configs = extra_chrome_shared_library_configs
651 } 652 }
652 } else { 653 } else {
653 group("monochrome_secondary_abi_lib") { 654 group("monochrome_secondary_abi_lib") {
654 public_deps = [ 655 public_deps = [
655 ":monochrome($android_secondary_abi_toolchain)", 656 ":monochrome($android_secondary_abi_toolchain)",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 apk_name = "ChromeSyncShellTest" 828 apk_name = "ChromeSyncShellTest"
828 apk_under_test = ":chrome_sync_shell_apk" 829 apk_under_test = ":chrome_sync_shell_apk"
829 android_manifest = chrome_sync_shell_test_apk_manifest 830 android_manifest = chrome_sync_shell_test_apk_manifest
830 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 831 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
831 deps = [ 832 deps = [
832 ":chrome_sync_shell_test_apk_java", 833 ":chrome_sync_shell_test_apk_java",
833 "//third_party/android_support_test_runner:runner_java", 834 "//third_party/android_support_test_runner:runner_java",
834 ] 835 ]
835 proguard_enabled = !is_java_debug 836 proguard_enabled = !is_java_debug
836 } 837 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698