diff options
| author | 2016-10-20 17:08:51 -0700 | |
|---|---|---|
| committer | 2016-10-20 17:08:51 -0700 | |
| commit | dfaecafbe9fb7c5800191edfe3aa5d5938705204 (patch) | |
| tree | 5e4c34cebdb64a146d4cb6ee91f0ed70060e9bf0 | |
| parent | 011cef54ee0a8260f6b4381c7ea28a450cd3cbce (diff) | |
AAPT2: Fail compile on bad output file/dir
Test: manual
Change-Id: I2578e32c52430a62df942822ddf6bd3f06357bce
| -rw-r--r-- | tools/aapt2/compile/Compile.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/compile/Compile.cpp b/tools/aapt2/compile/Compile.cpp index d0012288f5e8..2ea63d02b754 100644 --- a/tools/aapt2/compile/Compile.cpp +++ b/tools/aapt2/compile/Compile.cpp @@ -738,7 +738,7 @@ int compile(const std::vector<StringPiece>& args) {    }    if (!archiveWriter) { -    return false; +    return 1;    }    bool error = false;  |