blob: 20c2cf9c900c12fffeacd6701b9059376330f7e8 [file] [log] [blame]
Colin Cross32e04012019-05-01 16:55:43 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//###########################################################
16// SettingsLib Shell app just for Robolectric test target. #
17//###########################################################
18
19android_app {
20 name: "SettingsLibShell",
21 defaults: ["SettingsLibDefaults"],
22 platform_apis: true,
23
24 privileged: true,
25
26 resource_dirs: ["res"],
27}
28
29//############################################
30// SettingsLib Robolectric test target. #
31//############################################
32android_robolectric_test {
33 name: "SettingsLibRoboTests",
34 srcs: ["src/**/*.java"],
35 java_resource_dirs: ["config"],
36 instrumentation_for: "SettingsLibShell",
37 test_options: {
Colin Crossc3378672019-05-30 11:39:13 -070038 timeout: 36000,
Colin Cross32e04012019-05-01 16:55:43 -070039 },
40}