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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 '>@(input_jars_paths)', | 276 '>@(input_jars_paths)', |
277 '>@(additional_input_paths)', | 277 '>@(additional_input_paths)', |
278 '<@(extra_inputs)', | 278 '<@(extra_inputs)', |
279 ], | 279 ], |
280 'outputs': [ | 280 'outputs': [ |
281 '<(compile_stamp)', | 281 '<(compile_stamp)', |
282 '<(javac_jar_path)', | 282 '<(javac_jar_path)', |
283 ], | 283 ], |
284 'action': [ | 284 'action': [ |
285 'python', '<(DEPTH)/build/android/gyp/javac.py', | 285 'python', '<(DEPTH)/build/android/gyp/javac.py', |
| 286 '--bootclasspath=<(android_sdk_jar)', |
286 '--classpath=>(input_jars_paths)', | 287 '--classpath=>(input_jars_paths)', |
287 '--src-gendirs=>(generated_src_dirs)', | 288 '--src-gendirs=>(generated_src_dirs)', |
288 '--javac-includes=<(javac_includes)', | 289 '--javac-includes=<(javac_includes)', |
289 '--chromium-code=<(chromium_code)', | 290 '--chromium-code=<(chromium_code)', |
290 '--jar-path=<(javac_jar_path)', | 291 '--jar-path=<(javac_jar_path)', |
291 '--jar-excluded-classes=<(jar_excluded_classes)', | 292 '--jar-excluded-classes=<(jar_excluded_classes)', |
292 '--stamp=<(compile_stamp)', | 293 '--stamp=<(compile_stamp)', |
293 '>@(java_sources)', | 294 '>@(java_sources)', |
294 '<@(extra_args)', | 295 '<@(extra_args)', |
295 ] | 296 ] |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 'dex_no_locals': 1, | 358 'dex_no_locals': 1, |
358 }], | 359 }], |
359 ], | 360 ], |
360 'dex_input_paths': [ '<(jar_final_path)' ], | 361 'dex_input_paths': [ '<(jar_final_path)' ], |
361 'output_path': '<(dex_path)', | 362 'output_path': '<(dex_path)', |
362 }, | 363 }, |
363 'includes': [ 'android/dex_action.gypi' ], | 364 'includes': [ 'android/dex_action.gypi' ], |
364 }, | 365 }, |
365 ], | 366 ], |
366 } | 367 } |
OLD | NEW |