aboutsummaryrefslogtreecommitdiff
path: root/android_gradle/app/src/main/java/com/google
diff options
context:
space:
mode:
authorasuonpaa <34128694+asuonpaa@users.noreply.github.com>2019-11-26 16:22:31 +0200
committerdan sinclair <dsinclair@google.com>2019-11-26 09:22:31 -0500
commit1a9b6430612222b02b2ee5302bd37df37b89c1e6 (patch)
treecc5c56cc0f34fa30984c86182855c72674ddc5bf /android_gradle/app/src/main/java/com/google
parentccaac3ebf225f5084f5c0676288714686629f394 (diff)
downloadamber-1a9b6430612222b02b2ee5302bd37df37b89c1e6.tar.gz
Android Gradle project files (#717)
Part of #706
Diffstat (limited to 'android_gradle/app/src/main/java/com/google')
-rw-r--r--android_gradle/app/src/main/java/com/google/amber/Amber.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/android_gradle/app/src/main/java/com/google/amber/Amber.java b/android_gradle/app/src/main/java/com/google/amber/Amber.java
new file mode 100644
index 0000000..8319ccf
--- /dev/null
+++ b/android_gradle/app/src/main/java/com/google/amber/Amber.java
@@ -0,0 +1,23 @@
+// Copyright 2019 The Amber Authors.
+//
+// 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.
+
+package com.google.amber;
+
+public class Amber {
+ static {
+ System.loadLibrary("amber_ndk");
+ }
+
+ public static native int androidMain(String[] args, String stdout_file, String stderr_file);
+}