blob: 00850935de8333e95da124d169c1a83fb49721f4 [file] [log] [blame]
Colin Crossa7158942016-11-23 17:01:45 -08001subdirs=["tools"]
Nan Zhang50935212018-02-27 15:07:04 -08002
3filegroup {
4 name: "api-version-xml",
5 srcs: [
Anton Hansson2615bde2018-04-19 13:30:56 +01006 "*/public/api/android.txt",
7 "*/public/api/android.xml",
Nan Zhang50935212018-02-27 15:07:04 -08008 ],
9}
10
11filegroup {
12 name: "current-support-api",
13 srcs: [
14 "current/support-api.txt",
15 ],
16}
Nan Zhang4d722a52018-05-04 18:47:37 -070017
Nan Zhang13177a22018-08-22 11:07:05 -070018filegroup {
Charles Munger88b9e152019-11-19 14:02:55 -080019 name: "current-androidx-api",
20 srcs: [
21 "current/androidx-api.txt",
22 ],
23}
24
25filegroup {
Nan Zhang13177a22018-08-22 11:07:05 -070026 name: "metalava-sdk-android-jars",
27 srcs: [
28 "**/android.jar",
29 ],
30}
31
32droiddoc_exported_dir {
33 name: "sdk-dir",
34 path: ".",
35}
36
Nan Zhang4d722a52018-05-04 18:47:37 -070037genrule {
Adrian Roos6c5e17e2019-08-12 17:50:35 +020038 name: "public-api-incompatibilities-with-last-released",
Nan Zhang028d8ec2018-06-04 16:03:12 -070039 srcs: [
Adrian Roos6c5e17e2019-08-12 17:50:35 +020040 "*/public/api/incompatibilities.txt",
Nan Zhang028d8ec2018-06-04 16:03:12 -070041 ],
Adrian Roos6c5e17e2019-08-12 17:50:35 +020042 cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt",
Nan Zhang028d8ec2018-06-04 16:03:12 -070043 out: [
Adrian Roos6c5e17e2019-08-12 17:50:35 +020044 "incompatibilities.txt",
45 ],
46}
47
48genrule {
49 name: "system-api-incompatibilities-with-last-released",
50 srcs: [
51 "*/system/api/incompatibilities.txt",
52 ],
53 cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt",
54 out: [
55 "incompatibilities.txt",
Nan Zhang028d8ec2018-06-04 16:03:12 -070056 ],
57}
58
Anton Hansson11c601e2020-02-13 15:57:44 +000059genrule {
60 name: "module-lib-api-incompatibilities-with-last-released",
61 srcs: [
62 "*/module-lib/api/incompatibilities.txt",
63 ],
64 cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt",
65 out: [
66 "incompatibilities.txt",
67 ],
68}
69
Anton Hanssond7eb4572020-02-19 15:06:39 +000070genrule {
71 name: "system-server-api-incompatibilities-with-last-released",
72 srcs: [
73 "*/system-server/api/incompatibilities.txt",
74 ],
75 cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt",
76 out: [
77 "incompatibilities.txt",
78 ],
79}
80
Jiyong Parkd6455472018-05-12 22:15:27 +090081prebuilt_apis {
Sundong Ahneacb58d2018-06-21 15:03:01 +090082 name: "sdk",
83 api_dirs: [
84 "1",
85 "2",
86 "3",
87 "4",
88 "5",
89 "6",
90 "7",
91 "8",
92 "9",
93 "10",
94 "11",
95 "12",
96 "13",
97 "14",
98 "15",
99 "16",
100 "17",
101 "18",
102 "19",
103 "20",
104 "21",
105 "22",
106 "23",
107 "24",
108 "25",
109 "26",
110 "27",
111 "28",
Oussama Ben Abdelbaki43a48ea2019-05-08 18:01:52 -0400112 "29",
Sundong Ahneacb58d2018-06-21 15:03:01 +0900113 "current",
114 ],
Liz Kammer6b36db72020-08-20 10:19:18 -0700115 imports_sdk_version: "none",
Liz Kammer19ccaca2020-09-02 08:55:43 -0700116 imports_compile_dex: true,
Jiyong Parkd6455472018-05-12 22:15:27 +0900117}