| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': 'jni_generator_py_tests', | 8 'target_name': 'jni_generator_py_tests', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'actions': [ | 10 'actions': [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 ], | 21 ], |
| 22 'action': [ | 22 'action': [ |
| 23 'python', 'jni_generator_tests.py', | 23 'python', 'jni_generator_tests.py', |
| 24 ], | 24 ], |
| 25 }, | 25 }, |
| 26 ], | 26 ], |
| 27 }, | 27 }, |
| 28 { | 28 { |
| 29 'target_name': 'jni_sample_header', | 29 'target_name': 'jni_sample_header', |
| 30 'type': 'none', | 30 'type': 'none', |
| 31 'actions': [ | 31 'sources': [ |
| 32 { | 32 'SampleForTests.java', |
| 33 'action_name': 'generate_jni_sample_header', | |
| 34 'inputs': [ | |
| 35 'jni_generator.py', | |
| 36 'SampleForTests.java', | |
| 37 ], | |
| 38 'outputs': [ | |
| 39 '<(SHARED_INTERMEDIATE_DIR)/base/jni/sample_for_tests_jni.h', | |
| 40 ], | |
| 41 'action': [ | |
| 42 'python', | |
| 43 'jni_generator.py', | |
| 44 '-o', | |
| 45 '<@(_inputs)', | |
| 46 '<@(_outputs)', | |
| 47 ], | |
| 48 }, | |
| 49 ], | 33 ], |
| 34 'variables': { |
| 35 'jni_gen_dir': 'base', |
| 36 }, |
| 37 'includes': [ '../../../build/jni_generator.gypi' ], |
| 50 }, | 38 }, |
| 51 { | 39 { |
| 52 'target_name': 'jni_generator_tests', | 40 'target_name': 'jni_generator_tests', |
| 53 'type': 'executable', | 41 'type': 'executable', |
| 54 'dependencies': [ | 42 'dependencies': [ |
| 55 '../../base.gyp:test_support_base', | 43 '../../base.gyp:test_support_base', |
| 56 'jni_generator_py_tests', | 44 'jni_generator_py_tests', |
| 57 'jni_sample_header', | 45 'jni_sample_header', |
| 58 ], | 46 ], |
| 59 'include_dirs': [ | 47 'include_dirs': [ |
| 60 '<(SHARED_INTERMEDIATE_DIR)/base', | 48 '<(SHARED_INTERMEDIATE_DIR)/base', |
| 61 ], | 49 ], |
| 62 'sources': [ | 50 'sources': [ |
| 63 'sample_for_tests.cc', | 51 'sample_for_tests.cc', |
| 64 ], | 52 ], |
| 65 }, | 53 }, |
| 66 ], | 54 ], |
| 67 } | 55 } |
| OLD | NEW |