1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "system_bt_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["system_bt_license"], 8} 9 10cc_library_static { 11 name: "sdp_service", 12 defaults: [ 13 "fluoride_defaults", 14 "clang_file_coverage", 15 ], 16 host_supported: true, 17 include_dirs: [ 18 "system/bt/", 19 ], 20 srcs: [ 21 "common/data_element_reader.cc", 22 ], 23 static_libs: [ 24 "lib-bt-packets", 25 "libbluetooth-types", 26 ], 27} 28 29cc_test { 30 name: "bluetooth_test_sdp", 31 test_suites: ["general-tests"], 32 defaults: [ 33 "fluoride_defaults", 34 "clang_coverage_bin", 35 ], 36 host_supported: true, 37 include_dirs: [ 38 "system/bt/", 39 ], 40 srcs: [ 41 "common/test/data_element_reader_test.cc", 42 ], 43 static_libs: [ 44 "libgmock", 45 "sdp_service", 46 "lib-bt-packets", 47 "libbluetooth-types", 48 ], 49} 50