mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 23:57:59 +01:00

Bug: webrtc:8365 Change-Id: Ic8116404a128189715625507423069e712ee6b0f Reviewed-on: https://webrtc-review.googlesource.com/10807 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20314}
53 lines
1.7 KiB
Groovy
53 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion "26.0.0"
|
|
defaultConfig {
|
|
applicationId "org.appspot.apprtc"
|
|
minSdkVersion 16
|
|
targetSdkVersion 21
|
|
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 {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation fileTree(dir: '../../androidapp/third_party/autobanh/lib', include: ['autobanh.jar'])
|
|
implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
implementation 'org.webrtc:google-webrtc:1.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'
|
|
}
|