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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 'python', '<(DEPTH)/build/android/findbugs_diff.py', | 242 'python', '<(DEPTH)/build/android/findbugs_diff.py', |
243 '--auxclasspath-gyp', '>(input_jars_paths)', | 243 '--auxclasspath-gyp', '>(input_jars_paths)', |
244 '--stamp', '<(findbugs_stamp)', | 244 '--stamp', '<(findbugs_stamp)', |
245 '<(jar_final_path)', | 245 '<(jar_final_path)', |
246 ], | 246 ], |
247 }, | 247 }, |
248 ], | 248 ], |
249 }], | 249 }], |
250 ['enable_errorprone == 1', { | 250 ['enable_errorprone == 1', { |
251 'dependencies': [ | 251 'dependencies': [ |
252 '<(DEPTH)/third_party/errorprone/errorprone.gyp:chromium_errorprone', | 252 '<(DEPTH)/third_party/errorprone/errorprone.gyp:require_errorprone', |
253 ], | 253 ], |
254 }], | 254 }], |
255 ], | 255 ], |
256 'actions': [ | 256 'actions': [ |
257 { | 257 { |
258 'action_name': 'javac_<(_target_name)', | 258 'action_name': 'javac_<(_target_name)', |
259 'message': 'Compiling <(_target_name) java sources', | 259 'message': 'Compiling <(_target_name) java sources', |
260 'variables': { | 260 'variables': { |
261 'extra_args': [], | 261 'extra_args': [], |
262 'extra_inputs': [], | 262 'extra_inputs': [], |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 'dex_no_locals': 1, | 359 'dex_no_locals': 1, |
360 }], | 360 }], |
361 ], | 361 ], |
362 'dex_input_paths': [ '<(jar_final_path)' ], | 362 'dex_input_paths': [ '<(jar_final_path)' ], |
363 'output_path': '<(dex_path)', | 363 'output_path': '<(dex_path)', |
364 }, | 364 }, |
365 'includes': [ 'android/dex_action.gypi' ], | 365 'includes': [ 'android/dex_action.gypi' ], |
366 }, | 366 }, |
367 ], | 367 ], |
368 } | 368 } |
OLD | NEW |