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 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
6 # to build Java in a consistent manner. | 6 # to build Java in a consistent manner. |
7 # | 7 # |
8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
9 # { | 9 # { |
10 # 'target_name': 'my-package_java', | 10 # 'target_name': 'my-package_java', |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 '--auxclasspath-gyp', '>(input_jars_paths)', | 254 '--auxclasspath-gyp', '>(input_jars_paths)', |
255 '--stamp', '<(findbugs_stamp)', | 255 '--stamp', '<(findbugs_stamp)', |
256 '<@(additional_findbugs_args)', | 256 '<@(additional_findbugs_args)', |
257 '<(jar_final_path)', | 257 '<(jar_final_path)', |
258 ], | 258 ], |
259 }, | 259 }, |
260 ], | 260 ], |
261 }], | 261 }], |
262 ['enable_errorprone == 1', { | 262 ['enable_errorprone == 1', { |
263 'dependencies': [ | 263 'dependencies': [ |
264 '<(DEPTH)/third_party/errorprone/errorprone.gyp:chromium_errorprone', | 264 '<(DEPTH)/third_party/errorprone/errorprone.gyp:require_errorprone', |
265 ], | 265 ], |
266 }], | 266 }], |
267 ], | 267 ], |
268 'actions': [ | 268 'actions': [ |
269 { | 269 { |
270 'action_name': 'javac_<(_target_name)', | 270 'action_name': 'javac_<(_target_name)', |
271 'message': 'Compiling <(_target_name) java sources', | 271 'message': 'Compiling <(_target_name) java sources', |
272 'variables': { | 272 'variables': { |
273 'extra_args': [], | 273 'extra_args': [], |
274 'extra_inputs': [], | 274 'extra_inputs': [], |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 'dex_no_locals': 1, | 371 'dex_no_locals': 1, |
372 }], | 372 }], |
373 ], | 373 ], |
374 'dex_input_paths': [ '<(jar_final_path)' ], | 374 'dex_input_paths': [ '<(jar_final_path)' ], |
375 'output_path': '<(dex_path)', | 375 'output_path': '<(dex_path)', |
376 }, | 376 }, |
377 'includes': [ 'android/dex_action.gypi' ], | 377 'includes': [ 'android/dex_action.gypi' ], |
378 }, | 378 }, |
379 ], | 379 ], |
380 } | 380 } |
OLD | NEW |