blob: 5fdf54998d2888c881f7f4f427536c0c6fd47baf [file] [log] [blame]
Herbert Xue35592262024-01-04 11:06:06 +08001// Copyright 2016 The Android Open Source Project
Herbert Xueb7051c42023-11-08 11:21:32 +08002//
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
15package {
16 // See: http://go/android-license-faq
17 default_applicable_licenses: [
18 "Android-Apache-2.0",
19 ],
20}
21
22android_test {
23 name: "ShortcutLauncherDemo",
24 // WARNING: Unknown module tag "samples"
25 aaptflags: [
26 "--rename-manifest-package com.example.android.pm.shortcutlauncherdemo",
27 ],
Herbert Xue0c6a6012023-11-22 15:06:56 +080028 srcs: [
29 "common/src/**/*.java",
30 "launcher/src/**/*.java",
31 ],
32 resource_dirs: [
33 "common/res",
34 "launcher/res",
35 "launcher/res1",
36 ],
Herbert Xueb7051c42023-11-08 11:21:32 +080037 static_libs: [
38 "androidx.legacy_legacy-support-v4",
39 "androidx.legacy_legacy-support-v13",
40 ],
41 manifest: "launcher/AndroidManifest.xml",
42 sdk_version: "current",
43}
44
45android_test {
46 name: "ShortcutLauncherDemo2",
47 // WARNING: Unknown module tag "samples"
48 aaptflags: [
49 "--rename-manifest-package com.example.android.pm.shortcutlauncherdemo2",
50 ],
Herbert Xue0c6a6012023-11-22 15:06:56 +080051 srcs: [
52 "common/src/**/*.java",
53 "launcher/src/**/*.java",
54 ],
55 resource_dirs: [
56 "common/res",
57 "launcher/res",
58 "launcher/res2",
59 ],
Herbert Xueb7051c42023-11-08 11:21:32 +080060 static_libs: [
61 "androidx.legacy_legacy-support-v4",
62 "androidx.legacy_legacy-support-v13",
63 ],
64 manifest: "launcher/AndroidManifest.xml",
65 sdk_version: "current",
66}
67
68android_test {
69 name: "ShortcutDemo",
70 static_libs: ["androidx.legacy_legacy-support-v4"],
71 // WARNING: Unknown module tag "samples"
72 aaptflags: [
73 "--rename-manifest-package com.example.android.pm.shortcutdemo",
74 ],
Herbert Xue0c6a6012023-11-22 15:06:56 +080075 srcs: [
76 "common/src/**/*.java",
77 "publisher/src/**/*.java",
78 ],
79 resource_dirs: [
80 "common/res",
81 "publisher/res",
82 "publisher/res1",
83 ],
Herbert Xueb7051c42023-11-08 11:21:32 +080084 manifest: "publisher/AndroidManifest.xml",
85 sdk_version: "current",
86}
87
88android_test {
89 name: "ShortcutDemo2",
90 static_libs: ["androidx.legacy_legacy-support-v4"],
91 // WARNING: Unknown module tag "samples"
92 aaptflags: [
93 "--rename-manifest-package com.example.android.pm.shortcutdemo2",
94 ],
Herbert Xue0c6a6012023-11-22 15:06:56 +080095 srcs: [
96 "common/src/**/*.java",
97 "publisher/src/**/*.java",
98 ],
99 resource_dirs: [
100 "common/res",
101 "publisher/res",
102 "publisher/res2",
103 ],
Herbert Xueb7051c42023-11-08 11:21:32 +0800104 manifest: "publisher/AndroidManifest.xml",
105 sdk_version: "current",
106}