Pavel Grafov e0ba4aaf1c Make sure test APK is build when test is run via test mapping
Currently the test runs fine with atest locally, but fails in CI
with "TargetSetupError: DummyDPC.apk not found". With test_suites
it will be packaged and should be available in CI as well.

Bug: 141115315
Test: atest -c ManagedProfileLifecycleStressTest
Change-Id: I5e7138a6e1642cca1627060d76dd0c078c4f96f6
2019-12-12 16:25:28 +00:00

22 lines
777 B
Plaintext

// Copyright (C) 2019 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_test {
name: "DummyDPC",
defaults: ["cts_defaults"],
srcs: ["src/**/*.java"],
sdk_version: "current",
test_suites: ["device-tests"],
}