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

Side by Side Diff: tools/android/memconsumer/memconsumer.gyp

Issue 843103003: android: Hide JNI exports by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added gn support Created 5 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') | 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'memconsumer', 8 'target_name': 'memconsumer',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
(...skipping 10 matching lines...) Expand all
21 'native_lib_target': 'libmemconsumer', 21 'native_lib_target': 'libmemconsumer',
22 }, 22 },
23 'dependencies': [ 23 'dependencies': [
24 'libmemconsumer', 24 'libmemconsumer',
25 ], 25 ],
26 'includes': [ '../../../build/java_apk.gypi' ], 26 'includes': [ '../../../build/java_apk.gypi' ],
27 }, 27 },
28 { 28 {
29 'target_name': 'libmemconsumer', 29 'target_name': 'libmemconsumer',
30 'type': 'shared_library', 30 'type': 'shared_library',
31 'variables': {
32 # This library uses native JNI exports; tell gyp so that the required
33 # symbols will be kept.
34 'use_native_jni_exports': 1,
35 },
31 'sources': [ 36 'sources': [
32 'memconsumer_hook.cc', 37 'memconsumer_hook.cc',
33 ], 38 ],
34 'libraries': [ 39 'libraries': [
35 '-llog', 40 '-llog',
36 ], 41 ],
37 }, 42 },
38 ], 43 ],
39 } 44 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698