OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'memconsumer', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 'memconsumer_apk', | |
12 ], | |
13 }, | |
14 { | |
15 'target_name': 'memconsumer_apk', | |
16 'type': 'none', | |
17 'variables': { | |
18 'apk_name': 'MemConsumer', | |
19 'java_in_dir': 'java', | |
20 'resource_dir': 'java/res', | |
21 'native_lib_target': 'libmemconsumer', | |
22 }, | |
23 'dependencies': [ | |
24 'libmemconsumer', | |
25 ], | |
26 'includes': [ '../../../build/java_apk.gypi' ], | |
27 }, | |
28 { | |
29 'target_name': 'libmemconsumer', | |
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': [ | |
37 'memconsumer_hook.cc', | |
38 ], | |
39 'libraries': [ | |
40 '-llog', | |
41 ], | |
42 }, | |
43 ], | |
44 } | |
OLD | NEW |