summaryrefslogtreecommitdiff
path: root/tools/aidl/main.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-09-11 14:24:24 -0700
committerChristopher Wiley <wiley@google.com>2015-09-11 14:41:36 -0700
commit73ea1230fc2a4007973efe3730d482d7bc6cf87a (patch)
tree5ec15e3777ca3adfb8c85ddbb47d63afd10717c6 /tools/aidl/main.cpp
parentb15e1ff5081b680f4848a07fdbe6009c9a0fbde0 (diff)
Remove the aidl tool
This has been moved into its own repository at //system/tools/aidl Test: Built aosp_arm-eng from scratch. Bug: 23691099 Change-Id: Ic45d55682b9dcafe894efe0a6317792f9c1236c6
Diffstat (limited to 'tools/aidl/main.cpp')
-rw-r--r--tools/aidl/main.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/aidl/main.cpp b/tools/aidl/main.cpp
deleted file mode 100644
index 7cc2198bb5df..000000000000
--- a/tools/aidl/main.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "aidl.h"
-#include "options.h"
-
-#include <stdio.h>
-
-int
-main(int argc, const char **argv)
-{
- Options options;
- int result = parse_options(argc, argv, &options);
- if (result) {
- return result;
- }
-
- switch (options.task) {
- case COMPILE_AIDL:
- return compile_aidl(options);
- case PREPROCESS_AIDL:
- return preprocess_aidl(options);
- }
- fprintf(stderr, "aidl: internal error\n");
- return 1;
-}