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

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

Issue 2633593004: Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: sub-repos now updated 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 shared_library("monochrome") { 640 shared_library("monochrome") {
641 sources = [ 641 sources = [
642 "../app/android/chrome_main_delegate_android_initializer.cc", 642 "../app/android/chrome_main_delegate_android_initializer.cc",
643 "../browser/android/monochrome_entry_point.cc", 643 "../browser/android/monochrome_entry_point.cc",
644 ] 644 ]
645 deps = [ 645 deps = [
646 "//android_webview:common", 646 "//android_webview:common",
647 "//chrome:chrome_android_core", 647 "//chrome:chrome_android_core",
648 ] 648 ]
649 649
650 configs -= [ "//build/config/android:hide_native_jni_exports" ] 650 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
651 configs += [ "//build/config/android:hide_all_but_jni" ]
651 if (is_android && use_order_profiling) { 652 if (is_android && use_order_profiling) {
652 deps += [ "//tools/cygprofile" ] 653 deps += [ "//tools/cygprofile" ]
653 } 654 }
654 655
655 public_configs = extra_chrome_shared_library_configs 656 public_configs = extra_chrome_shared_library_configs
656 } 657 }
657 } else { 658 } else {
658 group("monochrome_secondary_abi_lib") { 659 group("monochrome_secondary_abi_lib") {
659 public_deps = [ 660 public_deps = [
660 ":monochrome($android_secondary_abi_toolchain)", 661 ":monochrome($android_secondary_abi_toolchain)",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 apk_name = "ChromeSyncShellTest" 833 apk_name = "ChromeSyncShellTest"
833 apk_under_test = ":chrome_sync_shell_apk" 834 apk_under_test = ":chrome_sync_shell_apk"
834 android_manifest = chrome_sync_shell_test_apk_manifest 835 android_manifest = chrome_sync_shell_test_apk_manifest
835 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 836 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
836 deps = [ 837 deps = [
837 ":chrome_sync_shell_test_apk_java", 838 ":chrome_sync_shell_test_apk_java",
838 "//third_party/android_support_test_runner:runner_java", 839 "//third_party/android_support_test_runner:runner_java",
839 ] 840 ]
840 proguard_enabled = !is_java_debug 841 proguard_enabled = !is_java_debug
841 } 842 }
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