summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-12-04 13:45:19 -0800
committerColin Cross <ccross@android.com>2017-12-05 01:07:53 +0000
commit0c7609553df2b324c4557fc5687e7700e773d193 (patch)
treeea03b101d105a494f81d1086d3833ac1a2366130 /tools/aapt2/java/JavaClassGenerator.cpp
parent3d16ff7a4ae01773a9a54023b72e825f1cef886e (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 Merged-In: I93b743607c2b8ce05512ecd4bbe860747cb48428 (cherry-picked from commit bd200ce7d4ebe31ad4327683e59af269420b0ef5)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions