diff --git a/libvorbis/build.gradle b/libvorbis/build.gradle index f075df6..b269b6e 100644 --- a/libvorbis/build.gradle +++ b/libvorbis/build.gradle @@ -11,7 +11,11 @@ android { versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - + externalNativeBuild { + cmake { + cppFlags "" + } + } } buildTypes { release { @@ -19,6 +23,11 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + externalNativeBuild { + cmake { + path "CMakeLists.txt" + } + } } dependencies { diff --git a/libvorbis/src/androidTest/java/com/github/axet/vorbis/ExampleInstrumentedTest.java b/libvorbis/src/androidTest/java/com/github/axet/vorbis/ExampleInstrumentedTest.java deleted file mode 100644 index 54022ae..0000000 --- a/libvorbis/src/androidTest/java/com/github/axet/vorbis/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.github.axet.vorbis; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("com.github.axet.vorbis.test", appContext.getPackageName()); - } -} diff --git a/libvorbis/src/test/java/com/github/axet/vorbis/ExampleUnitTest.java b/libvorbis/src/test/java/com/github/axet/vorbis/ExampleUnitTest.java deleted file mode 100644 index ef26331..0000000 --- a/libvorbis/src/test/java/com/github/axet/vorbis/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.github.axet.vorbis; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file