diff options
-rw-r--r-- | Android.bp | 46 | ||||
-rw-r--r-- | METADATA | 19 | ||||
-rw-r--r-- | MODULE_LICENSE_APACHE2 | 0 | ||||
-rw-r--r-- | OWNERS | 10 | ||||
-rw-r--r-- | src/main/AndroidManifest.xml | 3 |
5 files changed, 76 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..a3d1737 --- /dev/null +++ b/Android.bp @@ -0,0 +1,46 @@ +// Copyright (C) 2022 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +android_test { + name: "mobly-bundled-snippets", + static_libs: [ + "mobly-bundled-snippets-lib", + ], + srcs: [ + "src/main/**/*.java", + ], + manifest: "src/main/AndroidManifest.xml", + sdk_version: "current", +} + +android_library { + name: "mobly-bundled-snippets-lib", + static_libs: [ + "androidx.test.runner", + "gson", + "guava", + "mobly-snippet-lib", + "androidx.test.uiautomator_uiautomator", + ], + srcs: [ + "src/main/**/*.java", + ], + manifest: "src/main/AndroidManifest.xml", + sdk_version: "current", + min_sdk_version: "31", +}
\ No newline at end of file diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..51a155a --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "mobly-bundled-snippets" +description: + "Mobly Bundled Snippets is a set of Snippets to allow Mobly tests to " + "control Android devices by exposing a simplified version of the public " + "Android API suitable for testing." + +third_party { + url { + type: HOMEPAGE + value: "https://github.com/google/mobly-bundled-snippets" + } + url { + type: GIT + value: "https://github.com/google/mobly-bundled-snippets" + } + version: "fbd882fa01fb2134303c697195ab93b739e4ee87" + last_upgrade_date { year: 2023 month: 5 day: 31 } + license_type: NOTICE +} diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_APACHE2 @@ -0,0 +1,10 @@ +# Android side engprod team +jdesprez@google.com +frankfeng@google.com +murj@google.com + +# Mobly team - use for mobly bugs +angli@google.com +lancefluger@google.com +kolinlu@google.com +xianyuanjia@google.com diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index afec31b..08341c3 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -31,8 +31,7 @@ <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> <uses-permission android:name="android.permission.SEND_SMS" /> - <application android:allowBackup="false" - android:name="androidx.multidex.MultiDexApplication"> + <application> <meta-data android:name="mobly-snippets" android:value="com.google.android.mobly.snippet.bundled.AccountSnippet, |