Files
frameworks_base/packages/SettingsLib/ActivityEmbedding/Android.bp
Simon Wingrove a4156b6f4d Allow ActivityEmbedding in APEX modules.
Also this lib uses HTTP and doesn't declare it, so after manifest merge
the APEX module won't build.  Add the uses-library.

Bug: 253394518
Test: test builds
Change-Id: I94cb2be58d88521ed10e4fba5b5e11169bead624
2022-10-14 11:45:56 +01:00

35 lines
967 B
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
android_library {
name: "SettingsLibActivityEmbedding",
srcs: ["src/**/*.java"],
static_libs: [
"androidx.annotation_annotation",
"androidx.core_core",
"androidx.window_window",
"SettingsLibUtils",
],
sdk_version: "system_current",
min_sdk_version: "21",
// TODO(b/228508619) Remove the optional uses after fixing upstream
optional_uses_libs: [
"org.apache.http.legacy",
"androidx.window.extensions",
"androidx.window.sidecar",
],
apex_available: [
"//apex_available:platform",
"com.android.permission",
],
}