Commit 3811952f authored by David 'Digit' Turner's avatar David 'Digit' Turner Committed by Commit Bot

build: Better temporary resources directory.

Ensure that compile_resources.py will put temporary
resource directories under

  $ANDROID_DEBUG_TEM_RESOURCES_DIR/<target_name>/

This makes it easier to distinguish between temp resources
of different packages, as discussed in a previous CL [1],
which was merged too soon by mistake (it was supposed to
include this change).

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1288436/

BUG=879228
R=agrieve@chromium.org, estevenson@chromium.org, yfriedman@chromium.org

Change-Id: I0cc7e2f675e70ddc5cb23c270a801a5c2655e023
Reviewed-on: https://chromium-review.googlesource.com/c/1318912Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
Commit-Queue: David Turner <digit@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605688}
parent fa2e3bf0
......@@ -747,6 +747,8 @@ def main(args):
debug_temp_resources_dir = os.environ.get(_ENV_DEBUG_VARIABLE)
if debug_temp_resources_dir:
debug_temp_resources_dir = os.path.join(debug_temp_resources_dir,
os.path.basename(options.apk_path))
build_utils.DeleteDirectory(debug_temp_resources_dir)
build_utils.MakeDirectory(debug_temp_resources_dir)
......
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