summaryrefslogtreecommitdiff
path: root/transport/token/1.0/utils/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'transport/token/1.0/utils/Android.bp')
-rw-r--r--transport/token/1.0/utils/Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/transport/token/1.0/utils/Android.bp b/transport/token/1.0/utils/Android.bp
index 5ccbe75..84f6f0f 100644
--- a/transport/token/1.0/utils/Android.bp
+++ b/transport/token/1.0/utils/Android.bp
@@ -12,10 +12,26 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "system_libhidl_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["system_libhidl_license"],
+}
+
cc_library {
name: "android.hidl.token@1.0-utils",
defaults: ["libhidl-defaults"],
vendor_available: true,
+ // Host support is needed for testing only
+ host_supported: true,
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
vndk: {
enabled: true,
},
@@ -48,4 +64,8 @@ cc_library {
"include",
],
min_sdk_version: "29",
+ apex_available: [
+ "//apex_available:anyapex",
+ "//apex_available:platform",
+ ],
}