summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
author David Duarte <licorne@google.com> 2023-09-06 18:41:55 +0000
committer David Duarte <licorne@google.com> 2023-09-06 18:41:55 +0000
commit7dcc07f7800da37a0dbf19b5eae0c9ccd7f77db5 (patch)
tree6ae243fef293276d583bc242624fd5052b2a9cd0 /system
parenta8d114ff90b446b87fb91ed397eb60946611c453 (diff)
Merge fluoride_types_defaults_fuzzable into fluoride_defaults
Bug: 279502784 Test: mmm packages/modules/Bluetooth Change-Id: Ic06553084705126866c44ee731261d197224052e
Diffstat (limited to 'system')
-rw-r--r--system/build/Android.bp9
-rw-r--r--system/types/Android.bp2
2 files changed, 2 insertions, 9 deletions
diff --git a/system/build/Android.bp b/system/build/Android.bp
index 78fa84736b..08e5f411c3 100644
--- a/system/build/Android.bp
+++ b/system/build/Android.bp
@@ -7,10 +7,8 @@ package {
default_applicable_licenses: ["system_bt_license"],
}
-// Fuzzable defaults are the subset of defaults that are used in fuzzing, which
-// requires no shared libraries, and no explicit sanitization.
cc_defaults {
- name: "fluoride_types_defaults_fuzzable",
+ name: "fluoride_defaults",
defaults: ["bluetooth_cflags"],
cflags: [
"-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
@@ -19,10 +17,6 @@ cc_defaults {
// struct BT_HDR is defined as a variable-size header in a struct.
"-Wno-gnu-variable-sized-type-not-at-end",
],
-}
-
-cc_defaults {
- name: "fluoride_defaults",
target: {
android: {
test_config_template: ":BluetoothTestConfigTemplate",
@@ -31,5 +25,4 @@ cc_defaults {
},
},
},
- defaults: ["fluoride_types_defaults_fuzzable"],
}
diff --git a/system/types/Android.bp b/system/types/Android.bp
index 1a4af0b669..f12bccd3c8 100644
--- a/system/types/Android.bp
+++ b/system/types/Android.bp
@@ -32,7 +32,7 @@ cc_library_headers {
cc_library_static {
name: "libbluetooth-types",
vendor_available: true,
- defaults: ["fluoride_types_defaults_fuzzable"],
+ defaults: ["fluoride_defaults"],
cflags: [
/* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
"-fvisibility=default",