diff options
author | Colin Cross <ccross@android.com> | 2017-12-04 13:45:19 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-12-04 14:29:20 -0800 |
commit | bd200ce7d4ebe31ad4327683e59af269420b0ef5 (patch) | |
tree | f09bddbb759b65156cfa54a801fdcec982d492fc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | eb63393fdfc47ac9707ee6c46c627eebd616cc11 (diff) |
Fix droiddoc when OUT_DIR is an absolute path
The droiddoc rules were passing the sources in through
LOCAL_SRC_FILES, which gets prefixed with $(LOCAL_PATH). They
were prefixing ../.. to try to counter frameworks/base in
$(LOCAL_PATH), but that doesn't work for absolute paths to
generated files in an absolute $(OUT_DIR).
Use $(LOCAL_GENERATED_SOURCES) for anything that is in $(OUT_DIR)
instead, which takes paths that are relative to the top of the tree
or absolute.
Bug: 70166718
Test: m OUT_DIR=/tmp/out docs
Change-Id: I93b743607c2b8ce05512ecd4bbe860747cb48428
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions