1// 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// Build the master framework library. 16 17// READ ME: ######################################################## 18// 19// When updating this list of aidl files, consider if that aidl is 20// part of the SDK API. If it is, also add it to the list in Android.mk 21// that is preprocessed and distributed with the SDK. This list should 22// not contain any aidl files for parcelables, but the one below should 23// if you intend for 3rd parties to be able to send those objects 24// across process boundaries. 25// 26// READ ME: ######################################################## 27 28package { 29 default_applicable_licenses: ["frameworks_base_license"], 30} 31 32// Added automatically by a large-scale-change that took the approach of 33// 'apply every license found to every target'. While this makes sure we respect 34// every license restriction, it may not be entirely correct. 35// 36// e.g. GPL in an MIT project might only apply to the contrib/ directory. 37// 38// Please consider splitting the single license below into multiple licenses, 39// taking care not to lose any license_kind information, and overriding the 40// default license using the 'licenses: [...]' property on targets as needed. 41// 42// For unused files, consider creating a 'fileGroup' with "//visibility:private" 43// to attach the license to, and including a comment whether the files may be 44// used in the current project. 45// See: http://go/android-license-faq 46license { 47 name: "frameworks_base_license", 48 visibility: [":__subpackages__"], 49 license_kinds: [ 50 "SPDX-license-identifier-Apache-2.0", 51 "SPDX-license-identifier-BSD", 52 "SPDX-license-identifier-CC-BY", 53 "SPDX-license-identifier-MIT", 54 "SPDX-license-identifier-Unicode-DFS", 55 "legacy_unencumbered", 56 ], 57 license_text: [ 58 "NOTICE", 59 ], 60} 61 62filegroup { 63 name: "framework-non-updatable-sources", 64 device_common_srcs: [ 65 // Java/AIDL sources under frameworks/base 66 ":framework-annotations", 67 ":framework-blobstore-sources", 68 ":framework-core-sources", 69 ":framework-drm-sources", 70 ":framework-graphics-nonupdatable-sources", 71 ":framework-jobscheduler-sources", // jobscheduler is not a module for R 72 ":framework-keystore-sources", 73 ":framework-identity-sources", 74 ":framework-mca-effect-sources", 75 ":framework-mca-filterfw-sources", 76 ":framework-mca-filterpacks-sources", 77 ":framework-media-non-updatable-sources", 78 ":framework-mms-sources", 79 ":framework-omapi-sources", 80 ":framework-opengl-sources", 81 ":framework-rs-sources", 82 ":framework-sax-sources", 83 ":framework-telecomm-sources", 84 ":framework-telephony-common-sources", 85 ":framework-telephony-sources", 86 ":framework-wifi-annotations", 87 ":framework-wifi-non-updatable-sources", 88 ":PacProcessor-aidl-sources", 89 ":ProxyHandler-aidl-sources", 90 ":vcn-utils-platform-sources", 91 ":net-utils-framework-common-srcs", 92 93 // AIDL from frameworks/base/native/ 94 ":platform-compat-native-aidl", 95 96 // AIDL sources from external directories 97 ":android.frameworks.location.altitude-V2-java-source", 98 ":android.hardware.biometrics.common-V4-java-source", 99 ":android.hardware.biometrics.fingerprint-V5-java-source", 100 ":android.hardware.biometrics.fingerprint.virtualhal-java-source", 101 ":android.hardware.biometrics.face.virtualhal-java-source", 102 ":android.hardware.biometrics.face-V4-java-source", 103 ":android.hardware.gnss-V2-java-source", 104 ":android.hardware.graphics.common-V3-java-source", 105 ":android.hardware.keymaster-V4-java-source", 106 ":android.hardware.radio-V5-java-source", 107 ":android.hardware.radio.data-V5-java-source", 108 ":android.hardware.radio.network-V5-java-source", 109 ":android.hardware.radio.voice-V5-java-source", 110 ":android.hardware.security.secureclock-V1-java-source", 111 ":android.hardware.thermal-V3-java-source", 112 ":android.hardware.tv.tuner-V3-java-source", 113 ":android.security.apc-java-source", 114 ":android.security.authorization-java-source", 115 ":android.security.legacykeystore-java-source", 116 ":android.security.maintenance-java-source", 117 ":android.security.metrics-java-source", 118 ":android.hardware.cas-V1-java-source", 119 ":credstore_aidl", 120 ":dumpstate_aidl", 121 ":framework_native_aidl", 122 ":gatekeeper_aidl", 123 ":gsiservice_aidl", 124 ":guiconstants_aidl", 125 ":idmap2_aidl", 126 ":idmap2_core_aidl", 127 ":incidentcompanion_aidl", 128 ":inputconstants_aidl", 129 ":installd_aidl", 130 ":libaudioclient_aidl", 131 ":libbinder_aidl", 132 ":libcamera_client_aidl", 133 ":libcamera_client_framework_aidl", 134 ":libupdate_engine_aidl", 135 ":libupdate_engine_stable-V2-java-source", 136 ":logd_aidl", 137 ":resourcemanager_aidl", 138 ":storaged_aidl", 139 ":vold_aidl", 140 ":deviceproductinfoconstants_aidl", 141 142 // For the generated R.java and Manifest.java 143 ":framework-res{.aapt.srcjar}", 144 145 // etc. 146 ":framework-javastream-protos", 147 ":statslog-framework-java-gen", // FrameworkStatsLog.java 148 ":statslog-hwui-java-gen", // HwuiStatsLog.java 149 ":audio_policy_configuration_V7_0", 150 ] + select(release_flag("RELEASE_ATTEST_MODULES"), { 151 true: [ 152 ":android.hardware.security.keymint-V4-java-source", 153 ":android.system.keystore2-V5-java-source", 154 ], 155 default: [ 156 ":android.hardware.security.keymint-V3-java-source", 157 ":android.system.keystore2-V4-java-source", 158 ], 159 }), 160} 161 162java_library { 163 name: "framework-all", 164 installable: false, 165 static_libs: [ 166 "all-framework-module-impl", 167 "framework-minus-apex", 168 ], 169 apex_available: ["//apex_available:platform"], 170 sdk_version: "core_platform", 171 visibility: [ 172 // DO NOT ADD ANY MORE ENTRIES TO THIS LIST 173 "//external/robolectric-shadows:__subpackages__", 174 //This will eventually replace the item above, and serves the 175 //same purpose. 176 "//external/robolectric:__subpackages__", 177 "//frameworks/layoutlib:__subpackages__", 178 ], 179} 180 181// AIDL files under these paths are mixture of public and private ones. 182// They shouldn't be exported across module boundaries. 183java_defaults { 184 name: "framework-aidl-export-defaults", 185 aidl: { 186 export_include_dirs: [ 187 "core/java", 188 "drm/java", 189 "graphics/java", 190 "identity/java", 191 "keystore/java", 192 "media/java", 193 "media/mca/effect/java", 194 "media/mca/filterfw/java", 195 "media/mca/filterpacks/java", 196 "mms/java", 197 "opengl/java", 198 "rs/java", 199 "sax/java", 200 "telecomm/java", 201 202 // TODO(b/147699819): remove this 203 "telephony/java", 204 ], 205 }, 206} 207 208// Collection of classes that are generated from non-Java files that are not listed in 209// framework_srcs. These have no or very limited dependency to the framework. 210java_library { 211 name: "framework-internal-utils", 212 defaults: [ 213 "android.hardware.power-java_static", 214 ], 215 static_libs: [ 216 "apex_aidl_interface-java", 217 "packagemanager_aidl-java", 218 "framework-protos", 219 "updatable-driver-protos", 220 "ota_metadata_proto_java", 221 "android.hidl.base-V1.0-java", 222 "android.hidl.manager-V1.2-java", 223 "android.hardware.cas-V1-java", // AIDL 224 "android.hardware.cas-V1.0-java", 225 "android.hardware.cas-V1.1-java", 226 "android.hardware.cas-V1.2-java", 227 "android.hardware.contexthub-V1.0-java", 228 "android.hardware.contexthub-V1.1-java", 229 "android.hardware.contexthub-V1.2-java", 230 "android.hardware.contexthub-V4-java", 231 "android.hardware.gnss-V1.0-java", 232 "android.hardware.gnss-V2.1-java", 233 "android.hardware.health-V1.0-java-constants", 234 "android.hardware.radio-V1.6-java", 235 "android.hardware.radio.data-V5-java", 236 "android.hardware.radio.ims-V4-java", 237 "android.hardware.radio.messaging-V5-java", 238 "android.hardware.radio.modem-V5-java", 239 "android.hardware.radio.network-V5-java", 240 "android.hardware.radio.sim-V5-java", 241 "android.hardware.radio.voice-V5-java", 242 "android.hardware.thermal-V1.0-java-constants", 243 "android.hardware.thermal-V1.0-java", 244 "android.hardware.thermal-V1.1-java", 245 "android.hardware.thermal-V2.0-java", 246 "android.hardware.tv.input-V1.0-java-constants", 247 "android.hardware.usb-V1.0-java-constants", 248 "android.hardware.usb-V1.1-java-constants", 249 "android.hardware.usb-V1.2-java-constants", 250 "android.hardware.usb.gadget-V1-java", 251 "android.hardware.usb.gadget-V1.0-java", 252 "android.hardware.usb.gadget-V1.1-java", 253 "android.hardware.usb.gadget-V1.2-java", 254 "android.hardware.vibrator-V1.0-java", 255 "android.hardware.vibrator-V1.1-java", 256 "android.hardware.vibrator-V1.2-java", 257 "android.hardware.vibrator-V1.3-java", 258 "android.hardware.vibrator-V3-java", 259 "android.se.omapi-V1-java", 260 "android.system.suspend.control.internal-java", 261 "devicepolicyprotosnano", 262 "ImmutabilityAnnotation", 263 264 "com.android.sysprop.localization", 265 "PlatformProperties", 266 ], 267 sdk_version: "core_platform", 268 installable: false, 269} 270 271// NOTE: This filegroup is exposed for vendor libraries to depend on and is referenced in 272// documentation. Do not remove without consulting the treble/hidl teams. 273filegroup { 274 name: "framework-jarjar-rules", 275 srcs: ["framework-jarjar-rules.txt"], 276 visibility: ["//visibility:public"], 277} 278 279java_defaults { 280 name: "framework-minus-apex-defaults", 281 defaults: [ 282 "framework-aidl-export-defaults", 283 "latest_android_hardware_soundtrigger3_java_static", 284 "framework-minus-apex-aconfig-libraries", 285 ], 286 srcs: [ 287 ":framework-non-updatable-sources", 288 "core/java/**/*.logtags", 289 ":apex-info-list", 290 ], 291 aidl: { 292 generate_get_transaction_name: true, 293 enforce_permissions: true, 294 enforce_permissions_exceptions: [ 295 // Do not add entries to this list. 296 ":framework-annotations", 297 ":framework-blobstore-sources", 298 ":framework-core-sources", 299 ":framework-drm-sources", 300 ":framework-graphics-nonupdatable-sources", 301 ":framework-jobscheduler-sources", 302 ":framework-keystore-sources", 303 ":framework-identity-sources", 304 ":framework-mca-effect-sources", 305 ":framework-mca-filterfw-sources", 306 ":framework-mca-filterpacks-sources", 307 ":framework-media-non-updatable-sources", 308 ":framework-mms-sources", 309 ":framework-omapi-sources", 310 ":framework-opengl-sources", 311 ":framework-rs-sources", 312 ":framework-sax-sources", 313 ":framework-telecomm-sources", 314 ":framework-telephony-common-sources", 315 ":framework-telephony-sources", 316 ":framework-wifi-annotations", 317 ":framework-wifi-non-updatable-sources", 318 ":vcn-utils-platform-sources", 319 ":PacProcessor-aidl-sources", 320 ":ProxyHandler-aidl-sources", 321 ":net-utils-framework-common-srcs", 322 ":platform-compat-native-aidl", 323 ":credstore_aidl", 324 ":dumpstate_aidl", 325 ":framework_native_aidl", 326 ":gatekeeper_aidl", 327 ":gsiservice_aidl", 328 ":idmap2_aidl", 329 ":idmap2_core_aidl", 330 ":incidentcompanion_aidl", 331 ":inputconstants_aidl", 332 ":installd_aidl", 333 ":libaudioclient_aidl", 334 ":libbinder_aidl", 335 ":libcamera_client_aidl", 336 ":libcamera_client_framework_aidl", 337 ":libupdate_engine_aidl", 338 ":logd_aidl", 339 ":resourcemanager_aidl", 340 ":storaged_aidl", 341 ":vold_aidl", 342 ":deviceproductinfoconstants_aidl", 343 ], 344 local_include_dirs: [ 345 "media/aidl", 346 ], 347 include_dirs: [ 348 "frameworks/av/aidl", 349 "frameworks/native/libs/permission/aidl", 350 "packages/modules/Bluetooth/framework/aidl-export", 351 "packages/modules/Connectivity/framework/aidl-export", 352 "packages/modules/Media/apex/aidl/stable", 353 "hardware/interfaces/biometrics/common/aidl", 354 "hardware/interfaces/biometrics/fingerprint/aidl", 355 "hardware/interfaces/common/aidl", 356 "hardware/interfaces/common/fmq/aidl", 357 "hardware/interfaces/graphics/common/aidl", 358 "hardware/interfaces/keymaster/aidl", 359 "hardware/interfaces/power/aidl", 360 "system/hardware/interfaces/media/aidl", 361 ], 362 }, 363 dxflags: [ 364 "--core-library", 365 "--multi-dex", 366 ], 367 jarjar_rules: ":framework-jarjar-rules", 368 javac_shard_size: 150, 369 plugins: [ 370 "cached-property-annotation-processor", 371 "view-inspector-annotation-processor", 372 "staledataclass-annotation-processor", 373 "error_prone_android_framework", 374 "systemfeatures-metadata-processor", 375 ], 376 // Exports needed for staledataclass-annotation-processor, see b/139342589. 377 javacflags: [ 378 "-J--add-modules=jdk.compiler", 379 "-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED", 380 "-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED", 381 "-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED", 382 "-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", 383 ], 384 required: [ 385 // TODO(b/120066492): remove default_television.xml when the build system 386 // propagates "required" properly. 387 "default_television.xml", 388 // TODO(b/120066492): remove gps_debug and protolog.conf.json when the build 389 // system propagates "required" properly. 390 "gps_debug.conf", 391 "framework-res", 392 // any install dependencies should go into framework-minus-apex-install-dependencies 393 // rather than here to avoid bloating incremental build time 394 ], 395 libs: [ 396 "androidx.annotation_annotation", 397 "app-compat-annotations", 398 "ext", 399 "framework-updatable-stubs-module_libs_api", 400 "unsupportedappusage", 401 // TODO(b/379770939): remove prod version of flags from other containers in framework 402 "aconfig_storage_stub", 403 ], 404 sdk_version: "core_platform", 405 static_libs: [ 406 "aconfig_storage_reader_java", 407 "android.hardware.common.fmq-V1-java", 408 "bouncycastle-repackaged-unbundled", 409 "com.android.sysprop.foldlockbehavior", 410 "com.android.sysprop.view", 411 "framework-internal-utils", 412 "dynamic_instrumentation_manager_aidl-java", 413 // If MimeMap ever becomes its own APEX, then this dependency would need to be removed 414 // in favor of an API stubs dependency in java_library "framework" below. 415 "mimemap", 416 "av-types-aidl-java", 417 "tv_tuner_resource_manager_aidl_interface-java", 418 "media_quality_aidl_interface-java", 419 "soundtrigger_middleware-aidl-java", 420 "modules-utils-binary-xml", 421 "modules-utils-build", 422 "modules-utils-fastxmlserializer", 423 "modules-utils-preconditions", 424 "modules-utils-statemachine", 425 "modules-utils-os", 426 "modules-utils-uieventlogger-interface", 427 "framework-permission-aidl-java", 428 "spatializer-aidl-java", 429 "audiopolicy-aidl-java", 430 "volumegroupcallback-aidl-java", 431 "sounddose-aidl-java", 432 "modules-utils-expresslog", 433 "perfetto_trace_javastream_protos_jarjar", 434 "libaconfig_java_proto_nano", 435 "aconfig_device_paths_java", 436 ], 437} 438 439// Collection of non updatable unbundled jars. The list here should match 440// |non_updatable_modules| variable in frameworks/base/api/api.go. 441java_library { 442 name: "framework-non-updatable-unbundled-impl-libs", 443 static_libs: [ 444 "framework-location.impl", 445 ] + select(soong_config_variable("ANDROID", "release_crashrecovery_module"), { 446 "true": [], 447 default: [ 448 "framework-platformcrashrecovery.impl", 449 ], 450 }) + select(release_flag("RELEASE_ONDEVICE_INTELLIGENCE_MODULE"), { 451 true: [], 452 default: ["framework-ondeviceintelligence-platform.impl"], 453 }), 454 sdk_version: "core_platform", 455 installable: false, 456} 457 458// Separated so framework-minus-apex-defaults can be used without the libs dependency 459java_defaults { 460 name: "framework-minus-apex-with-libs-defaults", 461 defaults: ["framework-minus-apex-defaults"], 462 libs: [ 463 "framework-virtualization.stubs.module_lib", 464 "framework-non-updatable-unbundled-impl-libs", 465 ], 466} 467 468java_defaults { 469 name: "framework-non-updatable-lint-defaults", 470 lint: { 471 extra_check_modules: ["AndroidFrameworkLintChecker"], 472 disabled_checks: ["ApiMightLeakAppVisibility"], 473 error_checks: [ 474 "ClearIdentityCallNotFollowedByTryFinally", 475 "NestedClearCallingIdentityCalls", 476 "NonFinalTokenOfOriginalCallingIdentity", 477 "RestoreIdentityCallNotInFinallyBlock", 478 "ResultOfClearIdentityCallNotStoredInVariable", 479 "UnusedTokenOfOriginalCallingIdentity", 480 "UseOfCallerAwareMethodsWithClearedIdentity", 481 ], 482 }, 483} 484 485// we are unfortunately building the turbine jar twice, but more efficient and less complex 486// than generating a similar set of stubs with metalava 487java_library { 488 name: "framework-minus-apex-headers", 489 defaults: ["framework-minus-apex-defaults"], 490 installable: false, 491 // For backwards compatibility. 492 stem: "framework", 493 apex_available: ["//apex_available:platform"], 494 visibility: [ 495 "//frameworks/base:__subpackages__", 496 "//packages/modules/NeuralNetworks:__subpackages__", 497 ], 498 compile_dex: false, 499 headers_only: true, 500} 501 502java_library { 503 name: "framework-minus-apex", 504 defaults: [ 505 "framework-minus-apex-with-libs-defaults", 506 "framework-non-updatable-lint-defaults", 507 ], 508 installable: true, 509 // For backwards compatibility. 510 stem: "framework", 511 apex_available: ["//apex_available:platform"], 512 visibility: [ 513 "//frameworks/base", 514 "//frameworks/base/location", 515 // TODO(b/147128803) remove the below lines 516 "//frameworks/base/apex/blobstore/framework", 517 "//frameworks/base/apex/jobscheduler/framework", 518 "//frameworks/base/packages/Tethering/tests/unit", 519 "//packages/modules/Connectivity/Tethering/tests/unit", 520 ], 521 errorprone: { 522 javacflags: [ 523 "-Xep:AndroidFrameworkCompatChange:ERROR", 524 "-Xep:AndroidFrameworkUid:ERROR", 525 ], 526 }, 527 lint: { 528 baseline_filename: "lint-baseline.xml", 529 warning_checks: [ 530 "FlaggedApi", 531 ], 532 }, 533 jarjar_prefix: "com.android.internal.hidden_from_bootclasspath", 534 jarjar_shards: "10", 535} 536 537java_library { 538 name: "framework-minus-apex-intdefs", 539 defaults: ["framework-minus-apex-with-libs-defaults"], 540 plugins: ["intdef-annotation-processor"], 541 542 // Errorprone and android lint will already run on framework-minus-apex, don't rerun them on 543 // the intdefs version in order to speed up the build. 544 errorprone: { 545 enabled: false, 546 }, 547 lint: { 548 enabled: false, 549 550 }, 551} 552 553// This "framework" module is NOT installed to the device. It's 554// "framework-minus-apex" that gets installed to the device. Note that 555// the filename is still framework.jar (via the stem property) for 556// compatibility reason. The purpose of this module is to provide 557// framework APIs (both public and private) for bundled apps. 558// "framework-minus-apex" can't be used for the purpose because 1) 559// many apps have already hardcoded the name "framework" and 560// 2) it lacks API symbols from updatable modules - as it's clear from 561// its suffix "-minus-apex". 562java_library { 563 name: "framework", 564 defaults: ["framework-aidl-export-defaults"], 565 installable: false, // this lib is a build-only library 566 static_libs: [ 567 "app-compat-annotations", 568 "framework-minus-apex", 569 "framework-non-updatable-unbundled-impl-libs", 570 "framework-updatable-stubs-module_libs_api", 571 ], 572 sdk_version: "core_platform", 573 apex_available: ["//apex_available:platform"], 574} 575 576java_library { 577 name: "framework-minus-apex-install-dependencies", 578 required: [ 579 "framework-minus-apex", 580 "framework-platform-compat-config", 581 "framework-location-compat-config", 582 "services-platform-compat-config", 583 "icu4j-platform-compat-config", 584 "TeleService-platform-compat-config", 585 "documents-ui-compat-config", 586 "calendar-provider-compat-config", 587 "contacts-provider-platform-compat-config", 588 "SystemUI-core-compat-config", 589 ] + select(soong_config_variable("ANDROID", "release_crashrecovery_module"), { 590 "true": [], 591 default: [ 592 "framework-platformcrashrecovery-compat-config", 593 ], 594 }) + select(release_flag("RELEASE_ONDEVICE_INTELLIGENCE_MODULE"), { 595 true: [], 596 default: ["framework-ondeviceintelligence-platform-compat-config"], 597 }), 598} 599 600platform_compat_config { 601 name: "framework-platform-compat-config", 602 src: ":framework-minus-apex", 603} 604 605filegroup { 606 name: "framework-ike-shared-srcs", 607 visibility: ["//packages/modules/IPsec"], 608 srcs: [ 609 "core/java/com/android/internal/util/HexDump.java", 610 "core/java/com/android/internal/util/WakeupMessage.java", 611 "packages/Vcn/framework-b/src/android/net/vcn/util/PersistableBundleUtils.java", 612 "telephony/java/android/telephony/Annotation.java", 613 ], 614} 615 616filegroup { 617 name: "framework-android-os-unit-testable-src", 618 srcs: [ 619 "core/java/android/os/DdmSyncState.java", 620 ], 621} 622 623filegroup { 624 name: "framework-networkstack-shared-srcs", 625 srcs: [ 626 ":modules-utils-preconditions-srcs", 627 "core/java/android/util/IndentingPrintWriter.java", 628 "core/java/android/util/LocalLog.java", 629 "core/java/com/android/internal/util/HexDump.java", 630 "core/java/com/android/internal/util/IndentingPrintWriter.java", 631 "core/java/com/android/internal/util/MessageUtils.java", 632 "core/java/com/android/internal/util/RingBufferIndices.java", 633 "core/java/com/android/internal/util/WakeupMessage.java", 634 "core/java/com/android/internal/util/TokenBucket.java", 635 ], 636} 637 638// Build ext.jar 639// ============================================================ 640java_library { 641 name: "ext", 642 installable: true, 643 sdk_version: "core_platform", 644 static_libs: [ 645 "libphonenumber-platform", 646 "tagsoup", 647 "rappor", 648 ], 649 dxflags: ["--core-library"], 650} 651 652// utility classes statically linked into framework-wifi and dynamically linked 653// into wifi-service 654java_library { 655 name: "framework-wifi-util-lib", 656 sdk_version: "module_current", 657 min_sdk_version: "30", 658 srcs: [ 659 "core/java/com/android/internal/util/AsyncChannel.java", 660 "core/java/com/android/internal/util/AsyncService.java", 661 "core/java/com/android/internal/util/Protocol.java", 662 "telephony/java/android/telephony/Annotation.java", 663 ], 664 libs: [ 665 "framework-annotations-lib", 666 "framework-connectivity.stubs.module_lib", 667 "unsupportedappusage", 668 ], 669 visibility: [ 670 "//frameworks/base/wifi", 671 "//frameworks/base/services/net", 672 "//packages/modules/Wifi/framework", 673 ], 674 lint: { 675 baseline_filename: "lint-baseline.xml", 676 }, 677 apex_available: ["com.android.wifi"], 678} 679 680filegroup { 681 name: "android-non-updatable-stub-sources", 682 srcs: [ 683 ":framework-mime-sources", // mimemap builds separately but has no separate droidstubs. 684 ":framework-minus-apex-aconfig-srcjars", 685 ":framework-non-updatable-sources", 686 ":opt-telephony-srcs", 687 ":opt-net-voip-srcs", 688 "core/java/**/*.logtags", 689 "**/package.html", 690 ], 691 visibility: ["//frameworks/base/api"], 692} 693 694java_library { 695 name: "perfetto_trace_javastream_protos_jarjar", 696 srcs: [ 697 ":perfetto_trace_javastream_protos", 698 ], 699 jarjar_rules: ":framework-jarjar-rules", 700 sdk_version: "core_platform", 701 installable: false, 702} 703 704build = [ 705 "AconfigFlags.bp", 706 "ProtoLibraries.bp", 707 "TestProtoLibraries.bp", 708 "Ravenwood.bp", 709] 710