GN "android_apk" rule does not support generated proguard config files |
|||
Issue descriptionWhen a proguard config file is generated by some other target and referenced in proguard_config of an android_apk rule, an error similar to this one may appear. ERROR Input to targets not generated by a dependency. The file: //out/Debug/cronet/proguard_native.cfg is listed as an input or source for the targets: //components/cronet/android:cronet_sample_apk__proguard but this file was not generated by any dependencies of the targets. The target that generates the file is: //components/cronet/android:cronet_combine_proguard_flags This happens because the generated __proguard rule doesn't forward "deps" variable from the android_apk.
,
Nov 30 2016
,
Nov 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6130422db2a8ff2a08ab0cd2b19d861825c900ae commit 6130422db2a8ff2a08ab0cd2b19d861825c900ae Author: kapishnikov <kapishnikov@chromium.org> Date: Wed Nov 30 22:54:59 2016 [GN] Add support for generated proguard configs in android_apk BUG= 669961 Review-Url: https://codereview.chromium.org/2541763003 Cr-Commit-Position: refs/heads/master@{#435460} [modify] https://crrev.com/6130422db2a8ff2a08ab0cd2b19d861825c900ae/build/config/android/rules.gni
,
Nov 30 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by kapishnikov@chromium.org
, Nov 30 2016