summaryrefslogtreecommitdiff
path: root/cmds/idlcli/main.cpp
diff options
context:
space:
mode:
author Harpreet "Eli" Sangha <eliptus@google.com> 2019-06-05 16:52:47 +0900
committer Harpreet \"Eli\" Sangha <eliptus@google.com> 2019-09-11 14:13:44 +0900
commite47ae68f000b5f6da2bc6975075f1e5b17556a9a (patch)
tree376224aba6cf77dbc092c27a677f21af039e7525 /cmds/idlcli/main.cpp
parente380e5d82fb3eee5a7bf8d7f47882abe53f89d87 (diff)
Add CLI for Directly Invoking IDL APIs
Initial implementation supports IVibrator only. Test: Manual Execution Change-Id: Iaaa2593e7926dc202a89a59c111869cd65f31332 Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
Diffstat (limited to 'cmds/idlcli/main.cpp')
-rw-r--r--cmds/idlcli/main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/cmds/idlcli/main.cpp b/cmds/idlcli/main.cpp
new file mode 100644
index 0000000000..9ed9d8216a
--- /dev/null
+++ b/cmds/idlcli/main.cpp
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2019 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IdlCli.h"
+#include "utils.h"
+
+int main(const int argc, const char* const argv[]) {
+ using namespace ::android::idlcli;
+ return IdlCli{}.main(Args{argc, argv});
+}