Loading system/gd/Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,18 @@ cc_defaults { ], } // Clang is targeted for android core libraries but other base libraries // may not support clang tidy recommendations (e.g. MacOS) cc_defaults { name: "gd_clang_tidy_ignore_android", tidy: true, tidy_checks: [ "-android-cloexec-pipe2", // warning: 'pipe2' should use O_CLOEXEC where possible "-android-cloexec-accept", // warning: prefer accept4() to accept() because accept4() allows SOCK_CLOEXEC "-android-cloexec-socket", // warning: 'pipe2' should use O_CLOEXEC where possible ], } cc_defaults { name: "libbluetooth_gd_defaults", defaults: [ Loading system/vendor_libs/test_vendor_lib/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ cc_library_static { defaults: [ "gd_defaults", "gd_clang_tidy", "gd_clang_tidy_ignore_android", ], host_supported: true, proprietary: true, Loading Loading
system/gd/Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,18 @@ cc_defaults { ], } // Clang is targeted for android core libraries but other base libraries // may not support clang tidy recommendations (e.g. MacOS) cc_defaults { name: "gd_clang_tidy_ignore_android", tidy: true, tidy_checks: [ "-android-cloexec-pipe2", // warning: 'pipe2' should use O_CLOEXEC where possible "-android-cloexec-accept", // warning: prefer accept4() to accept() because accept4() allows SOCK_CLOEXEC "-android-cloexec-socket", // warning: 'pipe2' should use O_CLOEXEC where possible ], } cc_defaults { name: "libbluetooth_gd_defaults", defaults: [ Loading
system/vendor_libs/test_vendor_lib/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ cc_library_static { defaults: [ "gd_defaults", "gd_clang_tidy", "gd_clang_tidy_ignore_android", ], host_supported: true, proprietary: true, Loading