aboutsummaryrefslogtreecommitdiffstats
path: root/derive_classpath/main.cpp
diff options
context:
space:
mode:
authorsatayev <satayev@google.com>2021-03-19 11:08:49 +0000
committersatayev <satayev@google.com>2021-03-19 11:08:49 +0000
commitbe3f8eabc8f7531c54f6e5abf2108acb627adf00 (patch)
tree4feed75341c2be10beb14b9a9e6522a35b1ecbbf /derive_classpath/main.cpp
parentc0e469a33323578d185902c356e8b4d0aa0a1153 (diff)
downloadplatform_packages_modules_SdkExtensions-be3f8eabc8f7531c54f6e5abf2108acb627adf00.tar.gz
platform_packages_modules_SdkExtensions-be3f8eabc8f7531c54f6e5abf2108acb627adf00.tar.bz2
platform_packages_modules_SdkExtensions-be3f8eabc8f7531c54f6e5abf2108acb627adf00.zip
Revert^2 "Introduce derive_classpath service."
c0e469a33323578d185902c356e8b4d0aa0a1153 Change-Id: Ibe746530bc989b46ca20050298c0d9d2be817b69
Diffstat (limited to 'derive_classpath/main.cpp')
-rw-r--r--derive_classpath/main.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/derive_classpath/main.cpp b/derive_classpath/main.cpp
new file mode 100644
index 0000000..71e11e7
--- /dev/null
+++ b/derive_classpath/main.cpp
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2021 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 <cstdlib>
+
+#include "derive_classpath.h"
+
+int main(int, char**) {
+ if (!android::derive_classpath::GenerateClasspathExports()) {
+ return EXIT_FAILURE;
+ }
+ return EXIT_SUCCESS;
+}