Pass deps to emma_instr target

This makes emma_instr work with the generated Java file.

BUG=666696

Review-Url: https://codereview.chromium.org/2515383002
Cr-Original-Commit-Position: refs/heads/master@{#433665}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 123bee15a8403bd26d896f5cd5f0d5116c1b39be
This commit is contained in:
michaelbai 2016-11-21 14:05:06 -08:00 коммит произвёл Commit bot
Родитель 5f365d839d
Коммит d9ae151310
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -2092,6 +2092,7 @@ if (enable_java_templates) {
emma_instr(_emma_instr_target_name) {
forward_variables_from(invoker,
[
"deps",
"java_files",
"java_sources_file",
])
@ -2099,9 +2100,10 @@ if (enable_java_templates) {
input_jar_path = _process_prebuilt_jar_path
output_jar_path = _final_jar_path
deps = [
":$_process_prebuilt_target_name",
]
if (!defined(deps)) {
deps = []
}
deps += [ ":$_process_prebuilt_target_name" ]
}
}