summaryrefslogtreecommitdiff
path: root/system/include/Android.bp
blob: e534530233876269e1a715412f7db93448bfa312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "system_bt_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_bt_license"],
}

cc_library_headers {
    name: "avrcp_headers",
    defaults: ["libchrome_support_defaults"],
    export_include_dirs: ["./hardware/avrcp/"],
    header_libs: ["internal_include_headers"],
    export_header_lib_headers: ["internal_include_headers"],

    // We need this in case some file outside of the Bluetooth project includes
    // bluetooth.h but doesn't include libchrome which avrcp.h depends on.
    export_static_lib_headers: ["libchrome"],

    vendor_available: true,
    host_supported: true,
    apex_available: [
        "//apex_available:platform",
        "com.android.bluetooth",
    ],
    min_sdk_version: "30",
}

cc_library_headers {
    name: "libbluetooth_headers",
    defaults: ["libchrome_support_defaults"],
    header_libs: [
        "avrcp_headers",
        "libbluetooth-types-header",
        "libbtcore_headers",
    ],
    export_header_lib_headers: [
        "avrcp_headers",
        "libbluetooth-types-header",
        "libbtcore_headers",
    ],
    export_include_dirs: ["./"],
    vendor_available: true,
    host_supported: true,
    apex_available: [
        "//apex_available:platform",
        "com.android.bluetooth",
    ],
    min_sdk_version: "30",
}