yangchong пре 4 година
родитељ
комит
fdfd93cff3

+ 1 - 0
VideoDanMu/ndkbitmap-armv7a/.gitignore

@@ -0,0 +1 @@
+/build

+ 30 - 0
VideoDanMu/ndkbitmap-armv7a/build.gradle

@@ -0,0 +1,30 @@
+apply plugin: 'com.android.library'
+
+android {
+    compileSdkVersion 25
+    buildToolsVersion "26.0.2"
+
+    defaultConfig {
+        minSdkVersion 9
+        targetSdkVersion 25
+        versionCode 1
+        versionName "1.0"
+    }
+    buildTypes {
+        release {
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+    sourceSets.main {
+        jniLibs.srcDirs 'src/main/libs'
+        jni.srcDirs = [] // This prevents the auto generation of Android.mk
+    }
+}
+
+if (rootProject.file('gradle/gradle-mvn-push.gradle').exists()) {
+    apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
+}
+if (rootProject.file('gradle/gradle-bintray-upload.gradle').exists()) {
+    apply from: rootProject.file('gradle/gradle-bintray-upload.gradle')
+}

+ 4 - 0
VideoDanMu/ndkbitmap-armv7a/gradle.properties

@@ -0,0 +1,4 @@
+POM_NAME=ndkbitmap-armv7a
+BINTRAY_POM_NAME=ndkbitmap-armv7a
+POM_ARTIFACT_ID=ndkbitmap-armv7a
+POM_PACKAGING=aar

+ 17 - 0
VideoDanMu/ndkbitmap-armv7a/proguard-rules.pro

@@ -0,0 +1,17 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in /develop/android/sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}

+ 13 - 0
VideoDanMu/ndkbitmap-armv7a/src/androidTest/java/tv/cjump/ndkbitmap_armv7a/ApplicationTest.java

@@ -0,0 +1,13 @@
+package tv.cjump.ndkbitmap_armv7a;
+
+import android.app.Application;
+import android.test.ApplicationTestCase;
+
+/**
+ * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
+ */
+public class ApplicationTest extends ApplicationTestCase<Application> {
+    public ApplicationTest() {
+        super(Application.class);
+    }
+}

+ 6 - 0
VideoDanMu/ndkbitmap-armv7a/src/main/AndroidManifest.xml

@@ -0,0 +1,6 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="tv.cjump.ndkbitmap_armv7a">
+
+    <application />
+
+</manifest>

+ 4 - 0
VideoDanMu/ndkbitmap-armv7a/src/main/java/tv/cjump/ndkbitmap_armv7a/Pragma.java

@@ -0,0 +1,4 @@
+package tv.cjump.ndkbitmap_armv7a;
+
+public class Pragma {
+}

BIN
VideoDanMu/ndkbitmap-armv7a/src/main/libs/armeabi-v7a/libndkbitmap.so


+ 3 - 0
VideoDanMu/ndkbitmap-armv7a/src/main/res/values/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">ndkbitmap-armv7a</string>
+</resources>