diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2019-08-28 11:21:47 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2019-08-28 11:21:47 -0700 |
commit | c7db244cbe45678a281544c3a0f267d7c234d849 (patch) | |
tree | c0c72e41e4cdd436df045ef054f90edada48d7ea /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b7e133be72e32197c0fc474e1caf261e7768efc0 (diff) |
Allow compile output to be either a zip or dir
When passing a directory to compile using --zip or --dir, the -o flag
had to represent a zip file the compiled contents would be written to.
Now, if the path specified by the -o flag is a directory, the compiled
files will be written to the directory rather than erroring out.
Also when passing files to compile as file arguments, the -o flag had to
represent an existing directory. Now, if the path is not an existing
directory, the compiled files will create a zip file at the path that
contains the compiled files.
Test: manual
Change-Id: I92a8e124d53cdb653eb3a7ec549f09f9ad0ef04f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions