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 Android APKs in a consistent manner. | 6 # to build Android APKs 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_apk', | 10 # 'target_name': 'my_package_apk', |
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 '<@(extra_args)', | 965 '<@(extra_args)', |
966 '>@(java_sources)', | 966 '>@(java_sources)', |
967 ], | 967 ], |
968 }, | 968 }, |
969 { | 969 { |
970 'action_name': 'emma_instr_jar_<(_target_name)', | 970 'action_name': 'emma_instr_jar_<(_target_name)', |
971 'message': 'Instrumenting <(_target_name) jar', | 971 'message': 'Instrumenting <(_target_name) jar', |
972 'variables': { | 972 'variables': { |
973 'input_path': '<(javac_jar_path)', | 973 'input_path': '<(javac_jar_path)', |
974 'output_path': '<(jar_path)', | 974 'output_path': '<(jar_path)', |
| 975 'coverage_file': '<(PRODUCT_DIR)/lib.java/<(_target_name).em', |
| 976 'sources_list_file': '<(PRODUCT_DIR)/lib.java/<(_target_name)_sources.tx
t', |
975 'stamp_path': '<(emma_instr_stamp)', | 977 'stamp_path': '<(emma_instr_stamp)', |
976 }, | 978 }, |
977 'outputs': [ | 979 'outputs': [ |
978 '<(emma_instr_stamp)', | 980 '<(emma_instr_stamp)', |
979 '<(jar_path)', | 981 '<(jar_path)', |
980 ], | 982 ], |
981 'inputs': [ | 983 'inputs': [ |
982 '<(javac_jar_path)', | 984 '<(javac_jar_path)', |
983 ], | 985 ], |
984 'includes': [ 'android/emma_instr_action.gypi' ], | 986 'includes': [ 'android/emma_instr_action.gypi' ], |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1199 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1198 }, { | 1200 }, { |
1199 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1201 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1200 }], | 1202 }], |
1201 ], | 1203 ], |
1202 }, | 1204 }, |
1203 'includes': ['android/apkbuilder_action.gypi'], | 1205 'includes': ['android/apkbuilder_action.gypi'], |
1204 }, | 1206 }, |
1205 ], | 1207 ], |
1206 } | 1208 } |
OLD | NEW |