summaryrefslogtreecommitdiff
path: root/system/build/Android.bp
blob: a34d0a1ed44fe836986781d811f7967e7c9a7587 (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
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_defaults {
    name: "fluoride_defaults",
    defaults: [
        "bluetooth_cflags",
        "bluetooth_tidy",
    ],
    cflags: [
        "-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
        "-DLOG_NDEBUG=0",
        "-fvisibility=hidden",
    ],
    target: {
        android: {
            test_config_template: ":BluetoothGTestConfigTemplate",
            sanitize: {
                misc_undefined: ["bounds"],
            },
        },
    },
}