aboutsummaryrefslogtreecommitdiff
path: root/common/android_util.h
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2018-05-15 12:08:52 -0600
committercnorthrop <cnorthrop@google.com>2018-05-16 15:55:35 -0600
commit9f1ebf7c8f8c4cb2bd06d523f740db9a55fc899d (patch)
tree8ba69c7a489ec376ce9525f28af2d2ff401e4ec8 /common/android_util.h
parent53ac380440abba0b80344882d9d5d46327669ea9 (diff)
downloadusermoji-9f1ebf7c8f8c4cb2bd06d523f740db9a55fc899d.tar.xz
android: Fixes for cube
This restores files that were dropped during the split. Also migrates support files to this repo, which we will remove from Vulkan-ValidationLayers and treat like a submodule. Updates to travis to build cube.
Diffstat (limited to 'common/android_util.h')
-rw-r--r--common/android_util.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/android_util.h b/common/android_util.h
new file mode 100644
index 00000000..e8966458
--- /dev/null
+++ b/common/android_util.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2016 Google, Inc.
+ *
+ * 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.
+ *
+ * Relicensed from the WTFPL (http://www.wtfpl.net/faq/).
+ */
+
+#ifndef ANDROID_UTIL_H
+#define ANDROID_UTIL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+char **get_args(struct android_app *app, const char *intent_extra_data_key, const char *appTag, int *count);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif