summaryrefslogtreecommitdiffstats
path: root/mobile/android/thirdparty/build.gradle
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /mobile/android/thirdparty/build.gradle
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/thirdparty/build.gradle')
-rw-r--r--mobile/android/thirdparty/build.gradle54
1 files changed, 54 insertions, 0 deletions
diff --git a/mobile/android/thirdparty/build.gradle b/mobile/android/thirdparty/build.gradle
new file mode 100644
index 000000000..a192e5009
--- /dev/null
+++ b/mobile/android/thirdparty/build.gradle
@@ -0,0 +1,54 @@
+buildDir "${topobjdir}/gradle/build/mobile/android/thirdparty"
+
+apply plugin: 'com.android.library'
+
+android {
+ compileSdkVersion 23
+ buildToolsVersion mozconfig.substs.ANDROID_BUILD_TOOLS_VERSION
+
+ defaultConfig {
+ targetSdkVersion 23
+ minSdkVersion 15
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_7
+ targetCompatibility JavaVersion.VERSION_1_7
+ }
+
+ lintOptions {
+ abortOnError false
+ }
+
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java {
+ srcDir '.'
+
+ if (!mozconfig.substs.MOZ_INSTALL_TRACKING) {
+ exclude 'com/adjust/**'
+ }
+
+ // Exclude LeakCanary: It will be added again via a gradle dependency. This version
+ // here is only the no-op library for mach-based builds.
+ exclude 'com/squareup/leakcanary/**'
+ }
+ }
+ }
+}
+
+dependencies {
+ compile "com.android.support:support-v4:${mozconfig.substs.ANDROID_SUPPORT_LIBRARY_VERSION}"
+}
+
+apply plugin: 'idea'
+
+idea {
+ module {
+ // This is cosmetic. See the excludes in the root project.
+ if (!mozconfig.substs.MOZ_INSTALL_TRACKING) {
+ excludeDirs += file('com/adjust/sdk')
+ }
+ }
+}