Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: base/base.gyp

Issue 10081035: Add templates for building java and running the jni_generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
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', 118 'target_name': 'base_jni_headers',
119 'type': 'none', 119 'type': 'none',
120 'actions': [ 120 'variables': {
121 { 121 'java_sources': [
122 'action_name': 'generate_jni_headers', 122 'android/java/org/chromium/base/BuildInfo.java',
123 'inputs': [ 123 'android/java/org/chromium/base/PathUtils.java',
124 'android/jni_generator/jni_generator.py', 124 'android/java/org/chromium/base/SystemMessageHandler.java',
125 'android/java/org/chromium/base/BuildInfo.java', 125 ],
126 'android/java/org/chromium/base/PathUtils.java', 126 'jni_headers': [
Ryan Sleevi 2012/04/14 03:10:50 You will probably want to rename 'jni_headers' and
Yaron 2012/04/16 20:44:56 It's unnecessary because these are passed to input
127 'android/java/org/chromium/base/SystemMessageHandler.java', 127 '<(SHARED_INTERMEDIATE_DIR)/base/jni/build_info_jni.h',
128 ], 128 '<(SHARED_INTERMEDIATE_DIR)/base/jni/path_utils_jni.h',
129 'outputs': [ 129 '<(SHARED_INTERMEDIATE_DIR)/base/jni/system_message_handler_jni.h',
130 '<(SHARED_INTERMEDIATE_DIR)/base/jni/build_info_jni.h', 130 ],
131 '<(SHARED_INTERMEDIATE_DIR)/base/jni/path_utils_jni.h', 131 },
132 '<(SHARED_INTERMEDIATE_DIR)/base/jni/system_message_handler_jni.h', 132 'includes': [ '../build/jni_generator.gypi' ],
133 ], 133 },
134 'action': [ 134 {
135 'python', 135 'target_name': 'base_java',
136 'android/jni_generator/jni_generator.py', 136 'type': 'none',
137 '-o', 137 'variables': {
138 '<@(_inputs)', 138 'package_name': 'base',
139 '<@(_outputs)', 139 'java_root': 'base/android/java',
140 ], 140 },
141 } 141 'includes': [ '../build/java.gypi' ],
142 ],
143 }, 142 },
144 # Include this target for a main() function that simply instantiates 143 # Include this target for a main() function that simply instantiates
145 # and runs a base::TestSuite. 144 # and runs a base::TestSuite.
146 { 145 {
147 'target_name': 'run_all_unittests', 146 'target_name': 'run_all_unittests',
148 'type': 'static_library', 147 'type': 'static_library',
149 'dependencies': [ 148 'dependencies': [
150 'test_support_base', 149 'test_support_base',
151 ], 150 ],
152 'sources': [ 151 'sources': [
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 # treated as weak imports in dependents, who still must 618 # treated as weak imports in dependents, who still must
620 # #include closure_blocks_leopard_compat.h to get weak imports. 619 # #include closure_blocks_leopard_compat.h to get weak imports.
621 'type': 'none', 620 'type': 'none',
622 }], 621 }],
623 ], 622 ],
624 }, 623 },
625 ], 624 ],
626 }], 625 }],
627 ], 626 ],
628 } 627 }
OLDNEW
« no previous file with comments | « base/android/java/java.gyp ('k') | base/base.gypi » ('j') | build/java.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698