From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- mobile/android/test_runner/build.gradle | 61 +++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 mobile/android/test_runner/build.gradle (limited to 'mobile/android/test_runner/build.gradle') diff --git a/mobile/android/test_runner/build.gradle b/mobile/android/test_runner/build.gradle new file mode 100644 index 0000000000..7f20b84c34 --- /dev/null +++ b/mobile/android/test_runner/build.gradle @@ -0,0 +1,61 @@ +buildDir "${topobjdir}/gradle/build/mobile/android/test_runner" + +apply plugin: 'com.android.application' + +apply from: "${topsrcdir}/mobile/android/gradle/product_flavors.gradle" + +android { + buildToolsVersion project.ext.buildToolsVersion + compileSdkVersion project.ext.compileSdkVersion + + defaultConfig { + targetSdkVersion project.ext.targetSdkVersion + minSdkVersion project.ext.minSdkVersion + manifestPlaceholders = project.ext.manifestPlaceholders + + applicationId "org.mozilla.geckoview.test_runner" + versionCode project.ext.versionCode + versionName project.ext.versionName + + multiDexEnabled true + } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + + // By default the android plugins ignores folders that start with `_`, but + // we need those in web extensions. + // See also: + // - https://issuetracker.google.com/issues/36911326 + // - https://stackoverflow.com/questions/9206117/how-to-workaround-autoomitting-fiiles-folders-starting-with-underscore-in + aaptOptions { + ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~' + noCompress 'ja' + } + + project.configureProductFlavors.delegate = it + project.configureProductFlavors() + + namespace 'org.mozilla.geckoview.test_runner' +} + +dependencies { + implementation "androidx.annotation:annotation:1.6.0" + implementation "androidx.appcompat:appcompat:1.6.1" + implementation "androidx.preference:preference:1.1.1" + + implementation project(path: ':geckoview') + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'com.google.android.material:material:1.9.0' + + implementation 'androidx.multidex:multidex:2.0.1' +} -- cgit v1.2.3