Revert "Adding back screenshot test to Settings."
This reverts commit 4dc4e1c02a.
Reason for revert: broke the build
Change-Id: I3037248a5df06d6f92dfa9c5666625f23230646a
Bug: 307406217
This commit is contained in:
@@ -1,64 +0,0 @@
|
||||
//
|
||||
// Copyright (C) 2023 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.
|
||||
|
||||
android_app {
|
||||
name: "ScreenshotTestStub",
|
||||
defaults: [
|
||||
"SettingsLibDefaults",
|
||||
],
|
||||
platform_apis: true,
|
||||
certificate: "platform",
|
||||
privileged: true,
|
||||
use_resource_processor: true,
|
||||
|
||||
static_libs: [
|
||||
"Settings-core",
|
||||
"androidx.fragment_fragment-testing",
|
||||
"androidx.fragment_fragment",
|
||||
],
|
||||
|
||||
aaptflags: ["--extra-packages com.android.settings"],
|
||||
}
|
||||
|
||||
android_test {
|
||||
name: "SettingsScreenshotTests",
|
||||
platform_apis: true,
|
||||
certificate: "platform",
|
||||
test_suites: ["device-tests"],
|
||||
srcs: [
|
||||
"src/**/*.kt",
|
||||
],
|
||||
static_libs: [
|
||||
"androidx.fragment_fragment-testing",
|
||||
"androidx.fragment_fragment",
|
||||
"androidx.test.rules",
|
||||
"androidx.test.ext.junit",
|
||||
"platform-screenshot-diff-core",
|
||||
"Settings-testutils2",
|
||||
"androidx.test.core",
|
||||
"androidx.test.espresso.core",
|
||||
"kotlinx-coroutines-android",
|
||||
"androidx.lifecycle_lifecycle-runtime-testing",
|
||||
"kotlinx_coroutines_test",
|
||||
"Settings-core",
|
||||
"androidx.test.runner",
|
||||
],
|
||||
compile_multilib: "both",
|
||||
manifest: "AndroidManifest.xml",
|
||||
test_config: "AndroidTest.xml",
|
||||
use_embedded_native_libs: false,
|
||||
asset_dirs: ["assets"],
|
||||
instrumentation_for: "ScreenshotTestStub",
|
||||
}
|
||||
Reference in New Issue
Block a user