Commit 514b03e6 authored by Sami Kyostila's avatar Sami Kyostila Committed by Commit Bot

Include mapping files in data dependencies

Proguard mapping files are necessary for java_deobfuscate to be useful,
so make sure to list them as data dependencies.

Bug: 962540
Change-Id: Iecf24da4904943f4307679c993b213f1e556d823
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1609846
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Auto-Submit: Sami Kyöstilä <skyostil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659476}
parent cc7aad3f
......@@ -3136,6 +3136,9 @@ if (enable_java_templates) {
data_deps = [
"//build/android/stacktrace:java_deobfuscate",
]
data = [
"$_final_apk_path.mapping",
]
}
args = [
"--script-output-path",
......@@ -4727,6 +4730,8 @@ if (enable_java_templates) {
"--proguard-mapping-path",
rebase_path(_sync_proguard_mapping_path, root_build_dir),
]
data_deps += [ "//build/android/stacktrace:java_deobfuscate" ]
data += [ _sync_proguard_mapping_path ]
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment