Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdb5c6b3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add the libchrome as shared libs for platform lib" into tm-dev am: 2c1418b7

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/17258750

Change-Id: I386df30db4c10e9bf2801b83bbf954174781ee55
parents 2f5d978d 2c1418b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ package {

cc_defaults {
    name: "audio_a2dp_hw_defaults",
    defaults: ["libchrome_support_defaults"],
    defaults: ["libchrome_shared_support_defaults"],
    include_dirs: [
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/audio_a2dp_hw/include",
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ package {

cc_defaults {
    name: "audio_hearing_aid_hw_defaults",
    defaults: ["libchrome_support_defaults"],
    defaults: ["libchrome_shared_support_defaults"],
    include_dirs: [
        "packages/modules/Bluetooth/system",
        "packages/modules/Bluetooth/system/gd",
+17 −0
Original line number Diff line number Diff line
@@ -51,6 +51,23 @@ fluoride_defaults {
    },
}

// default to be used only on platform libs that can rely on shared libchrome
fluoride_defaults {
    name: "libchrome_shared_support_defaults",
    shared_libs: ["libchrome"],
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    target: {
        darwin: {
            enabled: false,
        },
    },
}


// Fuzzable defaults are the subset of defaults that are used in fuzzing, which
// requires no shared libraries, and no explicit sanitization.
fluoride_defaults {