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

Side by Side Diff: tools/android/memconsumer/BUILD.gn

Issue 2683013002: Reland of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: 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 | « third_party/netty-tcnative/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 android_resources("memconsumer_apk_resources") { 7 android_resources("memconsumer_apk_resources") {
8 resource_dirs = [ "java/res" ] 8 resource_dirs = [ "java/res" ]
9 android_manifest = "java/AndroidManifest.xml" 9 android_manifest = "java/AndroidManifest.xml"
10 } 10 }
(...skipping 12 matching lines...) Expand all
23 "//base:base_java", 23 "//base:base_java",
24 ] 24 ]
25 } 25 }
26 26
27 shared_library("libmemconsumer") { 27 shared_library("libmemconsumer") {
28 output_name = "memconsumer" 28 output_name = "memconsumer"
29 sources = [ 29 sources = [
30 "memconsumer_hook.cc", 30 "memconsumer_hook.cc",
31 ] 31 ]
32 libs = [ "log" ] 32 libs = [ "log" ]
33 configs -= [ "//build/config/android:hide_native_jni_exports" ] 33 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
34 34
35 configs -= [ "//build/config/compiler:chromium_code" ] 35 configs -= [ "//build/config/compiler:chromium_code" ]
36 configs += [ "//build/config/compiler:no_chromium_code" ] 36 configs += [ "//build/config/compiler:no_chromium_code" ]
37 } 37 }
OLDNEW
« no previous file with comments | « third_party/netty-tcnative/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698