diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /third_party/libwebrtc/examples/aarproject/app/build.gradle | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/examples/aarproject/app/build.gradle')
-rw-r--r-- | third_party/libwebrtc/examples/aarproject/app/build.gradle | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/third_party/libwebrtc/examples/aarproject/app/build.gradle b/third_party/libwebrtc/examples/aarproject/app/build.gradle new file mode 100644 index 0000000000..94fa851af2 --- /dev/null +++ b/third_party/libwebrtc/examples/aarproject/app/build.gradle @@ -0,0 +1,53 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 31 + defaultConfig { + applicationId "org.appspot.apprtc" + minSdkVersion 21 + targetSdkVersion 31 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + sourceSets { + main { + manifest.srcFile "../../androidapp/AndroidManifest.xml" + java.srcDirs = [ + "../../androidapp/src" + ] + res.srcDirs = [ + "../../androidapp/res" + ] + } + androidTest { + manifest.srcFile "../../androidtests/AndroidManifest.xml" + java.srcDirs = [ + "../../androidtests/src" + ] + // This test doesn't work in Android Studio. + java.exclude('**/CallActivityStubbedInputOutputTest.java') + } + } +} + +dependencies { + if (project.hasProperty('aarDir')) { + implementation fileTree(dir: project.aarDir, include: ['google-webrtc-*.aar']) + } + implementation fileTree(dir: '../../androidapp/third_party/autobanh/lib', include: ['autobanh.jar']) + implementation 'androidx.annotation:annotation:1.2.0' + testImplementation 'junit:junit:4.12' + androidTestImplementation 'com.android.support.test:runner:1.0.1' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' +} |