The code residing in packages/modules/Bluetooth/android/app is migrated from packages/apps/Bluetooth and requires the same visibility rules for frameworks source code. This path currently does not exist, but will be required for migration. Soong build rules do not enforce path existence, which allows us to add the new path now and not during migration. Added visibility along with migrated code in a local tree and performed a local build (bramble-userdebug) BUG: 196026708 Test: TH Change-Id: I66cac592489fc1689d45a7b6427bc58c40a824e2
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
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"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-telephony-common-sources",
|
|
srcs: [
|
|
"**/*.java",
|
|
":statslog-telephony-common-java-gen",
|
|
],
|
|
visibility: [
|
|
"//frameworks/base",
|
|
"//frameworks/base/tests/TelephonyCommonTests",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-mms-shared-srcs",
|
|
visibility: [
|
|
"//packages/apps/Bluetooth",
|
|
"//packages/modules/Bluetooth/android/app",
|
|
],
|
|
srcs: [
|
|
"com/google/android/mms/**/*.java",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "statslog-telephony-common-java-gen",
|
|
tools: ["stats-log-api-gen"],
|
|
cmd: "$(location stats-log-api-gen) --java $(out) --module telephony_common" +
|
|
" --javaPackage com.android.internal.telephony --javaClass TelephonyCommonStatsLog",
|
|
out: ["com/android/internal/telephony/TelephonyCommonStatsLog.java"],
|
|
visibility: ["//visibility:private"],
|
|
}
|