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': [ |
11 'memconsumer_apk', | 11 'memconsumer_apk', |
12 ], | 12 ], |
13 }, | 13 }, |
14 { | 14 { |
15 'target_name': 'memconsumer_apk', | 15 'target_name': 'memconsumer_apk', |
16 'type': 'none', | 16 'type': 'none', |
17 'variables': { | 17 'variables': { |
18 'apk_name': 'MemConsumer', | 18 'apk_name': 'MemConsumer', |
19 'package_name': 'memconsumer', | |
20 'java_in_dir': 'java', | 19 'java_in_dir': 'java', |
21 'resource_dir': 'java/res', | 20 'resource_dir': 'java/res', |
22 'native_lib_target': 'libmemconsumer', | 21 'native_lib_target': 'libmemconsumer', |
23 }, | 22 }, |
24 'dependencies': [ | 23 'dependencies': [ |
25 'libmemconsumer', | 24 'libmemconsumer', |
26 ], | 25 ], |
27 'includes': [ '../../../build/java_apk.gypi' ], | 26 'includes': [ '../../../build/java_apk.gypi' ], |
28 }, | 27 }, |
29 { | 28 { |
30 'target_name': 'libmemconsumer', | 29 'target_name': 'libmemconsumer', |
31 'type': 'shared_library', | 30 'type': 'shared_library', |
32 'sources': [ | 31 'sources': [ |
33 'memconsumer_hook.cc', | 32 'memconsumer_hook.cc', |
34 ], | 33 ], |
35 'libraries': [ | 34 'libraries': [ |
36 '-llog', | 35 '-llog', |
37 ], | 36 ], |
38 }, | 37 }, |
39 ], | 38 ], |
40 } | 39 } |
OLD | NEW |