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 'package_name': 'memconsumer', 20 'java_in_dir': 'java', 21 'resource_dir': 'java/res', 22 'native_lib_target': 'libmemconsumer', 23 }, 24 'dependencies': [ 25 'libmemconsumer', 26 ], 27 'includes': [ '../../../build/java_apk.gypi' ], 28 }, 29 { 30 'target_name': 'libmemconsumer', 31 'type': 'shared_library', 32 'sources': [ 33 'memconsumer_hook.cc', 34 ], 35 'libraries': [ 36 '-llog', 37 ], 38 }, 39 ], 40 } 41