Commit Graph

4 Commits

Author SHA1 Message Date
Christian Oder
644f60e93c idegen: Add compatibility for custom out directory
At the moment the script looks for the jar iside the out dir.
However, if the our dir is set to a different directory via OUT_DIR_COMMON_BASE
the script does not notice that, and errors out saying a build is
needed.

This commits checks if the OUT_DIR_COMMON_BASE is set, then searches the jar in the proper path.
If OUT_DIR_COMMON_BASE is unset, search in "out" like it did before.

Test: Build with OUT_DIR_COMMON_BASE set and unset and verify idegen works in both cases.

Change-Id: Icfcf41af13139bd81f8589bb900debe5ee616022
2017-12-22 12:44:03 +00:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00