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

Commit 2c1418b7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add the libchrome as shared libs for platform lib" into tm-dev

parents 92322d74 c344a99a
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 {