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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 '>@(java_sources)', | 323 '>@(java_sources)', |
324 '<@(extra_args)', | 324 '<@(extra_args)', |
325 ] | 325 ] |
326 }, | 326 }, |
327 { | 327 { |
328 'action_name': 'emma_instr_jar_<(_target_name)', | 328 'action_name': 'emma_instr_jar_<(_target_name)', |
329 'message': 'Instrumenting <(_target_name) jar', | 329 'message': 'Instrumenting <(_target_name) jar', |
330 'variables': { | 330 'variables': { |
331 'input_path': '<(jar_path)', | 331 'input_path': '<(jar_path)', |
332 'output_path': '<(jar_final_path)', | 332 'output_path': '<(jar_final_path)', |
| 333 'coverage_file': '<(jar_dir)/<(_target_name).em', |
| 334 'sources_list_file': '<(jar_dir)/<(_target_name)_sources.txt', |
333 'stamp_path': '<(emma_instr_stamp)', | 335 'stamp_path': '<(emma_instr_stamp)', |
334 }, | 336 }, |
335 'outputs': [ | 337 'outputs': [ |
336 '<(jar_final_path)', | 338 '<(jar_final_path)', |
337 ], | 339 ], |
338 'inputs': [ | 340 'inputs': [ |
339 '<(jar_path)', | 341 '<(jar_path)', |
340 ], | 342 ], |
341 'includes': [ 'android/emma_instr_action.gypi' ], | 343 'includes': [ 'android/emma_instr_action.gypi' ], |
342 }, | 344 }, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 'dex_no_locals': 1, | 388 'dex_no_locals': 1, |
387 }], | 389 }], |
388 ], | 390 ], |
389 'dex_input_paths': [ '<(jar_final_path)' ], | 391 'dex_input_paths': [ '<(jar_final_path)' ], |
390 'output_path': '<(dex_path)', | 392 'output_path': '<(dex_path)', |
391 }, | 393 }, |
392 'includes': [ 'android/dex_action.gypi' ], | 394 'includes': [ 'android/dex_action.gypi' ], |
393 }, | 395 }, |
394 ], | 396 ], |
395 } | 397 } |
OLD | NEW |