blob: eeb76fbd81eff3bbc7e01f79f652da578f0c1357 [file] [log] [blame]
Anton Hanssonfcb91d42020-09-21 16:32:14 +01001// Copyright (C) 2020 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
15package {
16 default_visibility: ["//visibility:private"],
Bob Badour8a6a2bc2021-02-12 17:07:05 -080017 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "frameworks_base_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 // SPDX-license-identifier-MIT
23 // SPDX-license-identifier-Unicode-DFS
24 default_applicable_licenses: ["frameworks_base_license"],
Anton Hanssonfcb91d42020-09-21 16:32:14 +010025}
26
Anton Hansson0860aaf2021-10-08 16:48:03 +010027bootstrap_go_package {
28 name: "soong-api",
29 pkgPath: "android/soong/api",
30 deps: [
31 "blueprint",
32 "soong",
33 "soong-android",
34 "soong-genrule",
Anton Hansson47ff71a2022-01-13 09:45:12 +000035 "soong-java",
Anton Hansson0860aaf2021-10-08 16:48:03 +010036 ],
37 srcs: ["api.go"],
38 pluginFor: ["soong_build"],
39}
40
Anton Hanssone6737842021-09-27 12:18:20 +010041python_binary_host {
Anton Hanssone6737842021-09-27 12:18:20 +010042 name: "merge_annotation_zips",
43 srcs: ["merge_annotation_zips.py"],
Anton Hanssone6737842021-09-27 12:18:20 +010044}
45
46python_test_host {
47 name: "merge_annotation_zips_test",
48 main: "merge_annotation_zips_test.py",
49 srcs: [
50 "merge_annotation_zips.py",
51 "merge_annotation_zips_test.py",
52 ],
Anton Hanssone6737842021-09-27 12:18:20 +010053 test_options: {
54 unit_test: true,
Pedro Loureirob91f45d2021-05-26 15:50:07 +000055 },
56}
57
Anton Hanssonaa26cc12021-02-15 10:52:33 +000058metalava_cmd = "$(location metalava)"
59// Silence reflection warnings. See b/168689341
60metalava_cmd += " -J--add-opens=java.base/java.util=ALL-UNNAMED "
Paul Duffinaab881d2023-07-11 23:22:52 +010061metalava_cmd += " --quiet "
Anton Hanssonaa26cc12021-02-15 10:52:33 +000062
Harshit Mahajan919593c2024-01-17 15:52:22 +000063soong_config_module_type {
64 name: "enable_crashrecovery_module",
65 module_type: "combined_apis_defaults",
66 config_namespace: "ANDROID",
67 bool_variables: ["release_crashrecovery_module"],
68 properties: [
69 "bootclasspath",
70 "system_server_classpath",
71 ],
72}
73
74soong_config_bool_variable {
75 name: "release_crashrecovery_module",
76}
77
78enable_crashrecovery_module {
79 name: "crashrecovery_module_defaults",
80 soong_config_variables: {
81 release_crashrecovery_module: {
82 bootclasspath: [
83 "framework-crashrecovery",
84 ],
85 system_server_classpath: [
86 "service-crashrecovery",
87 ],
88 },
89 },
90}
91
Anton Hansson648e6092022-01-11 16:37:05 +000092combined_apis {
93 name: "frameworks-base-api",
Harshit Mahajan919593c2024-01-17 15:52:22 +000094 defaults: [
95 "crashrecovery_module_defaults",
96 ],
Anton Hansson648e6092022-01-11 16:37:05 +000097 bootclasspath: [
98 "android.net.ipsec.ike",
99 "art.module.public.api",
100 "conscrypt.module.public.api",
Neha Pattanfa46dd22022-02-18 19:46:09 +0000101 "framework-adservices",
Anton Hansson648e6092022-01-11 16:37:05 +0000102 "framework-appsearch",
Roopa Sattiraju8e305772022-01-20 10:05:19 -0800103 "framework-bluetooth",
Hassan Ali482f91c2022-10-05 13:16:23 +0000104 "framework-configinfrastructure",
Anton Hansson648e6092022-01-11 16:37:05 +0000105 "framework-connectivity",
paulhue074dd2e2022-02-08 21:23:06 +0800106 "framework-connectivity-t",
Amos Bianchi62e8cf32022-08-02 15:42:30 -0700107 "framework-devicelock",
Anton Hansson648e6092022-01-11 16:37:05 +0000108 "framework-graphics",
ronishfc97db52023-02-07 17:57:48 +0000109 "framework-healthfitness",
Mark White9ee18662023-08-07 11:18:09 +0000110 "framework-location",
Anton Hansson648e6092022-01-11 16:37:05 +0000111 "framework-media",
112 "framework-mediaprovider",
Roshan Pius354b10b2023-11-14 14:30:26 -0800113 "framework-nfc",
Frank Wange97ff9e2022-02-13 07:06:31 +0000114 "framework-ondevicepersonalization",
Alyssa Ketpreechasawat468a6f72023-11-08 16:03:53 +0000115 "framework-pdf",
Anton Hansson648e6092022-01-11 16:37:05 +0000116 "framework-permission",
117 "framework-permission-s",
Yisroel Fortab0540e82024-01-30 16:22:06 +0000118 "framework-profiling",
Anton Hansson648e6092022-01-11 16:37:05 +0000119 "framework-scheduling",
120 "framework-sdkextensions",
121 "framework-statsd",
Nikita Ioffe59029ad2022-02-24 01:56:44 +0000122 "framework-sdksandbox",
Anton Hansson648e6092022-01-11 16:37:05 +0000123 "framework-tethering",
124 "framework-uwb",
Nikita Ioffed3f0a6f2022-11-15 11:26:53 +0000125 "framework-virtualization",
Anton Hansson648e6092022-01-11 16:37:05 +0000126 "framework-wifi",
127 "i18n.module.public.api",
Anton Hansson85359f62020-09-21 17:02:25 +0100128 ],
Anton Hansson648e6092022-01-11 16:37:05 +0000129 system_server_classpath: [
Jiakai Zhang1489e0d2022-06-17 12:17:40 +0100130 "service-art",
Hassan Alif2370632022-12-07 19:22:30 +0000131 "service-configinfrastructure",
ronishfc97db52023-02-07 17:57:48 +0000132 "service-healthfitness",
Anton Hansson648e6092022-01-11 16:37:05 +0000133 "service-media-s",
134 "service-permission",
Seth Moore0277b662022-10-20 14:14:39 -0700135 "service-rkp",
Nikita Ioffe59029ad2022-02-24 01:56:44 +0000136 "service-sdksandbox",
Anton Hanssona9ced802020-10-20 19:26:18 +0100137 ],
Anton Hansson85359f62020-09-21 17:02:25 +0100138}
139
140genrule {
Anton Hansson0d6eae62021-02-12 16:47:18 +0000141 name: "frameworks-base-api-current-compat",
142 srcs: [
143 ":android.api.public.latest",
144 ":android-incompatibilities.api.public.latest",
145 ":frameworks-base-api-current.txt",
146 ],
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100147 out: ["updated-baseline.txt"],
Anton Hansson0d6eae62021-02-12 16:47:18 +0000148 tools: ["metalava"],
Anton Hanssonaa26cc12021-02-15 10:52:33 +0000149 cmd: metalava_cmd +
Anton Hansson0d6eae62021-02-12 16:47:18 +0000150 "--check-compatibility:api:released $(location :android.api.public.latest) " +
151 "--baseline:compatibility:released $(location :android-incompatibilities.api.public.latest) " +
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100152 "--update-baseline:compatibility:released $(genDir)/updated-baseline.txt " +
153 "$(location :frameworks-base-api-current.txt)",
Anton Hansson0d6eae62021-02-12 16:47:18 +0000154}
155
156genrule {
Anton Hansson0d6eae62021-02-12 16:47:18 +0000157 name: "frameworks-base-api-system-current-compat",
158 srcs: [
159 ":android.api.system.latest",
160 ":android-incompatibilities.api.system.latest",
161 ":frameworks-base-api-current.txt",
162 ":frameworks-base-api-system-current.txt",
163 ],
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100164 out: ["updated-baseline.txt"],
Anton Hansson0d6eae62021-02-12 16:47:18 +0000165 tools: ["metalava"],
Anton Hanssonaa26cc12021-02-15 10:52:33 +0000166 cmd: metalava_cmd +
Anton Hansson0d6eae62021-02-12 16:47:18 +0000167 "--check-compatibility:api:released $(location :android.api.system.latest) " +
168 "--check-compatibility:base $(location :frameworks-base-api-current.txt) " +
169 "--baseline:compatibility:released $(location :android-incompatibilities.api.system.latest) " +
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100170 "--update-baseline:compatibility:released $(genDir)/updated-baseline.txt " +
171 "$(location :frameworks-base-api-system-current.txt)",
Anton Hansson0d6eae62021-02-12 16:47:18 +0000172}
173
174genrule {
Anton Hansson0d6eae62021-02-12 16:47:18 +0000175 name: "frameworks-base-api-module-lib-current-compat",
176 srcs: [
177 ":android.api.module-lib.latest",
178 ":android-incompatibilities.api.module-lib.latest",
179 ":frameworks-base-api-current.txt",
180 ":frameworks-base-api-module-lib-current.txt",
181 ],
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100182 out: ["updated-baseline.txt"],
Anton Hansson0d6eae62021-02-12 16:47:18 +0000183 tools: ["metalava"],
Anton Hanssonaa26cc12021-02-15 10:52:33 +0000184 cmd: metalava_cmd +
Anton Hansson0d6eae62021-02-12 16:47:18 +0000185 "--check-compatibility:api:released $(location :android.api.module-lib.latest) " +
186 // Note: having "public" be the base of module-lib is not perfect -- it should
Anton Hansson9d34e312022-02-23 11:24:00 +0000187 // ideally be a merged public+system (which metalava is not currently able to generate).
188 // This "base" will help when migrating from MODULE_LIBS -> public, but not when
189 // migrating from MODULE_LIBS -> system (where it needs to instead be listed as
190 // an incompatibility).
Anton Hansson0d6eae62021-02-12 16:47:18 +0000191 "--check-compatibility:base $(location :frameworks-base-api-current.txt) " +
192 "--baseline:compatibility:released $(location :android-incompatibilities.api.module-lib.latest) " +
Anton Hanssonb8ce0812021-08-24 12:08:39 +0100193 "--update-baseline:compatibility:released $(genDir)/updated-baseline.txt " +
194 "$(location :frameworks-base-api-module-lib-current.txt)",
Anton Hansson0d6eae62021-02-12 16:47:18 +0000195}
196
Anton Hanssona9344282023-02-15 14:52:28 +0000197genrule {
198 name: "frameworks-base-api-current.srcjar",
199 tools: ["merge_zips"],
200 out: ["current.srcjar"],
201 cmd: "$(location merge_zips) $(out) $(in)",
202 srcs: [
Jihoon Kangf1f72ca2024-02-06 00:09:38 +0000203 ":api-stubs-docs-non-updatable{.exportable}",
Anton Hanssona9344282023-02-15 14:52:28 +0000204 ":all-modules-public-stubs-source",
205 ],
206 visibility: ["//visibility:private"], // Used by make module in //development, mind
207}
208
Anton Hansson0c5d9ab2022-06-23 07:58:51 +0000209// This produces the same annotations.zip as framework-doc-stubs, but by using
210// outputs from individual modules instead of all the source code.
Anton Hansson74b15642022-06-23 08:27:23 +0000211genrule_defaults {
212 name: "sdk-annotations-defaults",
Anton Hansson0c5d9ab2022-06-23 07:58:51 +0000213 out: ["annotations.zip"],
214 tools: [
215 "merge_annotation_zips",
216 "soong_zip",
217 ],
218 cmd: "$(location merge_annotation_zips) $(genDir)/out $(in) && " +
219 "$(location soong_zip) -o $(out) -C $(genDir)/out -D $(genDir)/out",
220}
221
Anton Hansson0d6eae62021-02-12 16:47:18 +0000222genrule {
Anton Hansson74b15642022-06-23 08:27:23 +0000223 name: "sdk-annotations.zip",
224 defaults: ["sdk-annotations-defaults"],
225 srcs: [
Jihoon Kang2a829bb2024-02-01 22:01:15 +0000226 ":android-non-updatable-doc-stubs{.exportable.annotations.zip}",
Anton Hansson74b15642022-06-23 08:27:23 +0000227 ":all-modules-public-annotations",
228 ],
229}
230
231genrule {
232 name: "sdk-annotations-system.zip",
233 defaults: ["sdk-annotations-defaults"],
234 srcs: [
Jihoon Kang2a829bb2024-02-01 22:01:15 +0000235 ":android-non-updatable-doc-stubs-system{.exportable.annotations.zip}",
Anton Hansson74b15642022-06-23 08:27:23 +0000236 ":all-modules-system-annotations",
237 ],
238}
239
240genrule {
Cole Faustdcda3702022-10-04 14:46:35 -0700241 name: "sdk-annotations-module-lib.zip",
242 defaults: ["sdk-annotations-defaults"],
243 srcs: [
Jihoon Kang2a829bb2024-02-01 22:01:15 +0000244 ":android-non-updatable-doc-stubs-module-lib{.exportable.annotations.zip}",
Cole Faustdcda3702022-10-04 14:46:35 -0700245 ":all-modules-module-lib-annotations",
246 ],
247}
248
249genrule {
250 name: "sdk-annotations-system-server.zip",
251 defaults: ["sdk-annotations-defaults"],
252 srcs: [
Jihoon Kang2a829bb2024-02-01 22:01:15 +0000253 ":android-non-updatable-doc-stubs-system-server{.exportable.annotations.zip}",
Cole Faustdcda3702022-10-04 14:46:35 -0700254 ":all-modules-system-server-annotations",
255 ],
256}
257
258genrule {
Anton Hanssona15427a2020-10-02 18:21:14 +0100259 name: "combined-removed-dex",
Paul Duffin81af1f52021-04-08 19:22:50 +0100260 visibility: [
261 "//frameworks/base/boot",
262 ],
Anton Hanssona15427a2020-10-02 18:21:14 +0100263 srcs: [
Anton Hansson1c4fab42020-11-02 11:57:33 +0000264 ":frameworks-base-api-removed.txt",
265 ":frameworks-base-api-system-removed.txt",
Anton Hanssona15427a2020-10-02 18:21:14 +0100266 ":android.car-stubs-docs{.removed-api.txt}",
267 ":android.car-system-stubs-docs{.removed-api.txt}",
268 ],
269 tool_files: ["gen_combined_removed_dex.sh"],
270 tools: ["metalava"],
271 out: ["combined-removed-dex.txt"],
272 cmd: "$(location gen_combined_removed_dex.sh) $(location metalava) $(genDir) $(in) > $(out)",
273}
Zi Wang9a263632023-03-06 23:00:57 -0800274
275java_genrule {
276 name: "api_fingerprint",
277 srcs: [
278 ":frameworks-base-api-current.txt",
279 ":frameworks-base-api-system-current.txt",
280 ":frameworks-base-api-module-lib-current.txt",
281 ":frameworks-base-api-system-server-current.txt",
282 ],
283 out: ["api_fingerprint.txt"],
284 cmd: "cat $(in) | md5sum | cut -d' ' -f1 > $(out)",
285}
Anton Hansson19fcec62023-05-02 08:57:12 +0000286
Anton Hansson33f7f262023-11-01 10:42:12 +0000287packages_to_document = [
288 "android",
289 "dalvik",
290 "java",
291 "javax",
292 "junit",
293 "org.apache.http",
294 "org.json",
295 "org.w3c.dom",
296 "org.xml.sax",
297 "org.xmlpull",
298]
299
300// Defaults for all stubs that include the non-updatable framework. These defaults do not include
301// module symbols, so will not compile correctly on their own. Users must add module APIs to the
302// classpath (or sources) somehow.
303stubs_defaults {
304 name: "android-non-updatable-stubs-defaults",
Jihoon Kang25d562e2024-02-13 23:30:42 +0000305 aconfig_declarations: ["framework-minus-apex-aconfig-declarations"],
Anton Hansson33f7f262023-11-01 10:42:12 +0000306 srcs: [":android-non-updatable-stub-sources"],
307 sdk_version: "none",
308 system_modules: "none",
309 java_version: "1.8",
310 arg_files: [":frameworks-base-core-AndroidManifest.xml"],
311 aidl: {
312 include_dirs: [
313 "frameworks/av/aidl",
314 "frameworks/base/media/aidl",
315 "frameworks/base/telephony/java",
316 "frameworks/native/libs/permission/aidl",
317 "packages/modules/Bluetooth/framework/aidl-export",
318 "packages/modules/Connectivity/framework/aidl-export",
319 "packages/modules/Media/apex/aidl/stable",
320 "hardware/interfaces/biometrics/common/aidl",
321 "hardware/interfaces/biometrics/fingerprint/aidl",
322 "hardware/interfaces/graphics/common/aidl",
323 "hardware/interfaces/keymaster/aidl",
324 "system/hardware/interfaces/media/aidl",
325 ],
326 },
327 // These are libs from framework-internal-utils that are required (i.e. being referenced)
328 // from framework-non-updatable-sources. Add more here when there's a need.
329 // DO NOT add the entire framework-internal-utils. It might cause unnecessary circular
330 // dependencies gets bigger.
331 libs: [
332 "android.hardware.cas-V1.2-java",
333 "android.hardware.health-V1.0-java-constants",
334 "android.hardware.thermal-V1.0-java-constants",
335 "android.hardware.thermal-V2.0-java",
336 "android.hardware.tv.input-V1.0-java-constants",
337 "android.hardware.usb-V1.0-java-constants",
338 "android.hardware.usb-V1.1-java-constants",
339 "android.hardware.usb.gadget-V1.0-java",
340 "android.hardware.vibrator-V1.3-java",
341 "framework-protos",
342 ],
343 flags: [
Anton Hansson33f7f262023-11-01 10:42:12 +0000344 "--error NoSettingsProvider",
345 "--error UnhiddenSystemApi",
346 "--error UnflaggedApi",
347 "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.*",
Anton Hansson25c8ca62023-10-27 14:57:30 +0000348 // Disable CallbackInterface, as Java 8 default interface methods avoid the extensibility
349 // issue interfaces had previously.
Anton Hansson33f7f262023-11-01 10:42:12 +0000350 "--hide CallbackInterface",
Anton Hansson25c8ca62023-10-27 14:57:30 +0000351 // Disable HiddenSuperclass, as Metalava handles this fine (it should be hidden by default)
Anton Hansson33f7f262023-11-01 10:42:12 +0000352 "--hide HiddenSuperclass",
Anton Hansson33f7f262023-11-01 10:42:12 +0000353 "--hide-package android.audio.policy.configuration.V7_0",
354 "--hide-package com.android.server",
355 "--manifest $(location :frameworks-base-core-AndroidManifest.xml)",
356 ],
357 filter_packages: packages_to_document,
358 high_mem: true, // Lots of sources => high memory use, see b/170701554
359 installable: false,
360 annotations_enabled: true,
361 previous_api: ":android.api.public.latest",
362 merge_annotations_dirs: ["metalava-manual"],
363 defaults_visibility: ["//frameworks/base/api"],
Jihoon Kang31cf2742024-02-07 19:52:19 +0000364 visibility: [
365 "//frameworks/base/api",
366 "//frameworks/base/core/api",
367 ],
Anton Hansson33f7f262023-11-01 10:42:12 +0000368}
369
Anton Hansson648b0db2023-11-06 19:24:42 +0000370// We resolve dependencies on APIs in modules by depending on a prebuilt of the whole
371// platform (sdk_system_current_android). That prebuilt does not include module-lib APIs,
372// so use the prebuilt module-lib stubs for modules that export module-lib stubs that the
373// non-updatable part depends on.
374non_updatable_api_deps_on_modules = [
375 "sdk_module-lib_current_framework-tethering",
376 "sdk_module-lib_current_framework-connectivity-t",
377 "sdk_system_current_android",
378]
379
Anton Hansson33f7f262023-11-01 10:42:12 +0000380// Defaults with module APIs in the classpath (mostly from prebuilts).
381// Suitable for compiling android-non-updatable.
382stubs_defaults {
383 name: "module-classpath-stubs-defaults",
384 aidl: {
385 include_dirs: [
386 "packages/modules/Bluetooth/framework/aidl-export",
387 "packages/modules/Connectivity/framework/aidl-export",
388 "packages/modules/Media/apex/aidl/stable",
389 ],
390 },
Anton Hansson648b0db2023-11-06 19:24:42 +0000391 libs: non_updatable_api_deps_on_modules,
Anton Hansson33f7f262023-11-01 10:42:12 +0000392}
393
394// Defaults for the java_sdk_libraries of unbundled jars from framework.
395// java_sdk_libraries using these defaults should also add themselves to the
396// non_updatable_modules list in frameworks/base/api/api.go
397java_defaults {
398 name: "framework-non-updatable-unbundled-defaults",
399 defaults: [
400 "framework-non-updatable-lint-defaults",
401 "non-updatable-framework-module-defaults",
402 ],
403 public: {
404 libs: ["android_module_lib_stubs_current"],
405 },
406 system: {
407 libs: ["android_module_lib_stubs_current"],
408 },
409 module_lib: {
410 libs: ["android_module_lib_stubs_current"],
411 },
412 test: {
413 libs: ["android_test_frameworks_core_stubs_current"],
414 },
415 sdk_version: "core_platform",
416 stub_only_libs: ["framework-protos"],
417 impl_only_libs: ["framework-minus-apex-headers"], // the framework, including hidden API
418 impl_library_visibility: ["//frameworks/base"],
Roshan Pius354b10b2023-11-14 14:30:26 -0800419 defaults_visibility: [
420 "//frameworks/base/location",
421 "//frameworks/base/nfc",
422 ],
Anton Hansson33f7f262023-11-01 10:42:12 +0000423 plugins: ["error_prone_android_framework"],
424 errorprone: {
425 javacflags: [
426 "-Xep:AndroidFrameworkCompatChange:ERROR",
427 "-Xep:AndroidFrameworkUid:ERROR",
428 ],
429 },
430 // Include manual annotations in API txt files
431 merge_annotations_dirs: ["metalava-manual"],
432}
433
Anton Hansson19fcec62023-05-02 08:57:12 +0000434build = [
435 "ApiDocs.bp",
436 "StubLibraries.bp",
437]
Yiming Panea84fc82023-11-20 08:01:56 +0000438
439genrule_defaults {
440 name: "flag-api-mapping-generation-defaults",
441 cmd: "$(location extract-flagged-apis) $(in) $(out)",
442 tools: ["extract-flagged-apis"],
443}
444
445genrule {
446 name: "flag-api-mapping-PublicApi",
447 defaults: ["flag-api-mapping-generation-defaults"],
448 srcs: [":frameworks-base-api-current.txt"],
449 out: ["flag_api_map.textproto"],
450 dist: {
451 targets: ["droid"],
452 },
453}
454
455genrule {
456 name: "flag-api-mapping-SystemApi",
457 defaults: ["flag-api-mapping-generation-defaults"],
458 srcs: [":frameworks-base-api-system-current.txt"],
459 out: ["system_flag_api_map.textproto"],
460 dist: {
461 targets: ["droid"],
462 },
463}
464
465genrule {
466 name: "flag-api-mapping-ModuleLibApi",
467 defaults: ["flag-api-mapping-generation-defaults"],
468 srcs: [":frameworks-base-api-module-lib-current.txt"],
469 out: ["module_lib_flag_api_map.textproto"],
470 dist: {
471 targets: ["droid"],
472 },
473}
474
475genrule {
476 name: "flag-api-mapping-SystemServerApi",
477 defaults: ["flag-api-mapping-generation-defaults"],
478 srcs: [":frameworks-base-api-system-server-current.txt"],
479 out: ["system_server_flag_api_map.textproto"],
480 dist: {
481 targets: ["droid"],
482 },
483}
Nelson Licb9a5dd2023-12-20 02:59:27 +0000484
485phony_rule {
486 name: "checkapi",
487 phony_deps: [
488 "frameworks-base-api-current-compat",
489 "frameworks-base-api-system-current-compat",
490 "frameworks-base-api-module-lib-current-compat",
491 ],
492}