OLD | NEW |
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 Loading... |
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 }, | |
36 'sources': [ | 31 'sources': [ |
37 'memconsumer_hook.cc', | 32 'memconsumer_hook.cc', |
38 ], | 33 ], |
39 'libraries': [ | 34 'libraries': [ |
40 '-llog', | 35 '-llog', |
41 ], | 36 ], |
42 }, | 37 }, |
43 ], | 38 ], |
44 } | 39 } |
OLD | NEW |