From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- mobile/android/thirdparty/build.gradle | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 mobile/android/thirdparty/build.gradle (limited to 'mobile/android/thirdparty/build.gradle') 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') + } + } +} -- cgit v1.2.3