Chromium Code Reviews| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 }, | 108 }, |
| 109 'defines': [ | 109 'defines': [ |
| 110 'NACL_WIN64', | 110 'NACL_WIN64', |
| 111 ], | 111 ], |
| 112 # TODO(rvargas): Bug 78117. Remove this. | 112 # TODO(rvargas): Bug 78117. Remove this. |
| 113 'msvs_disabled_warnings': [ | 113 'msvs_disabled_warnings': [ |
| 114 4244, | 114 4244, |
| 115 ], | 115 ], |
| 116 }, | 116 }, |
| 117 { | 117 { |
| 118 'target_name': 'base_jni_headers', | |
|
Mark Mentovai
2012/02/23 18:43:33
If we need to do this in many locations, we may wa
| |
| 119 'type': 'none', | |
| 120 'actions': [ | |
| 121 { | |
| 122 'action_name': 'generate_jni_headers', | |
| 123 'inputs': [ | |
| 124 'android/jni_generator/jni_generator.py', | |
| 125 'android/java/PathUtils.java', | |
| 126 ], | |
| 127 'outputs': [ | |
| 128 '<(SHARED_INTERMEDIATE_DIR)/base/jni/path_utils_jni.h', | |
| 129 ], | |
| 130 'action': [ | |
| 131 'python', | |
| 132 'android/jni_generator/jni_generator.py', | |
| 133 '-o', | |
|
Mark Mentovai
2012/02/23 18:43:33
Is this the right way to invoke jni_generator.py?
Peter Beverloo
2012/02/29 15:40:22
Yes (per a chat with bulach@). This is used to pre
| |
| 134 '<@(_inputs)', | |
|
Mark Mentovai
2012/02/23 18:43:33
This will expand to all of the inputs, including j
| |
| 135 '<@(_outputs)', | |
| 136 ], | |
| 137 } | |
| 138 ], | |
| 139 }, | |
| 140 { | |
| 118 'target_name': 'base_unittests', | 141 'target_name': 'base_unittests', |
| 119 'type': 'executable', | 142 'type': 'executable', |
| 120 'sources': [ | 143 'sources': [ |
| 121 # Infrastructure files. | 144 # Infrastructure files. |
| 122 'test/run_all_unittests.cc', | 145 'test/run_all_unittests.cc', |
| 123 | 146 |
| 124 # Tests. | 147 # Tests. |
| 125 'android/jni_android_unittest.cc', | 148 'android/jni_android_unittest.cc', |
| 126 'android/scoped_java_ref_unittest.cc', | 149 'android/scoped_java_ref_unittest.cc', |
| 127 'at_exit_unittest.cc', | 150 'at_exit_unittest.cc', |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 469 'msvs_settings': { | 492 'msvs_settings': { |
| 470 'VCLinkerTool': { | 493 'VCLinkerTool': { |
| 471 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 494 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 472 }, | 495 }, |
| 473 }, | 496 }, |
| 474 }, | 497 }, |
| 475 ], | 498 ], |
| 476 }], | 499 }], |
| 477 ], | 500 ], |
| 478 } | 501 } |
| OLD | NEW |