aboutsummaryrefslogtreecommitdiffstats
path: root/derive_classpath/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'derive_classpath/main.cpp')
-rw-r--r--derive_classpath/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/derive_classpath/main.cpp b/derive_classpath/main.cpp
index 8cc4e0a..b896eb9 100644
--- a/derive_classpath/main.cpp
+++ b/derive_classpath/main.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <android-base/logging.h>
#include <cstdlib>
#include <string_view>
@@ -26,6 +27,7 @@ int main(int argc, char** argv) {
} else if (argc == 2) {
output_location = argv[1];
} else {
+ LOG(ERROR) << "too many arguments " << argc;
return EXIT_FAILURE;
}
if (!android::derive_classpath::GenerateClasspathExports(output_location)) {