Files
frameworks_base/tests/RollbackTest/Android.bp
Richard Uhler 0145c883e0 Convert RollbackTest Android.mk to an Android.bp.
Which is more convenient for building a dummy apex module to test
rollback of staged installs.

Bug: 112431924
Test: atest RollbackTest

Change-Id: I30c2fc7d37ca30e47b49012edc02a1fc637ba6f6
2019-01-29 16:14:36 +00:00

65 lines
1.7 KiB
Plaintext

// Copyright (C) 2018 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: "RollbackTestAppAv1",
manifest: "TestApp/Av1.xml",
sdk_version: "current",
srcs: ["TestApp/src/**/*.java"],
}
android_app {
name: "RollbackTestAppAv2",
manifest: "TestApp/Av2.xml",
sdk_version: "current",
srcs: ["TestApp/src/**/*.java"],
}
android_app {
name: "RollbackTestAppACrashingV2",
manifest: "TestApp/ACrashingV2.xml",
sdk_version: "current",
srcs: ["TestApp/src/**/*.java"],
}
android_app {
name: "RollbackTestAppBv1",
manifest: "TestApp/Bv1.xml",
sdk_version: "current",
srcs: ["TestApp/src/**/*.java"],
}
android_app {
name: "RollbackTestAppBv2",
manifest: "TestApp/Bv2.xml",
sdk_version: "current",
srcs: ["TestApp/src/**/*.java"],
}
android_test {
name: "RollbackTest",
srcs: ["src/**/*.java"],
static_libs: ["android-support-test"],
test_suites: ["general-tests"],
java_resources: [
":RollbackTestAppAv1",
":RollbackTestAppAv2",
":RollbackTestAppACrashingV2",
":RollbackTestAppBv1",
":RollbackTestAppBv2",
],
test_config: "RollbackTest.xml",
sdk_version: "system_current",
}