diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -12,8 +12,20 @@ // See the License for the specific language governing permissions and // limitations under the License. +cc_defaults { + name: "libcppbor_defaults", + cflags: [ + "-Wall", + "-Wextra", + "-Werror", + ], +} + cc_library { name: "libcppbor_external", + defaults: [ + "libcppbor_defaults", + ], vendor_available: true, host_supported: true, srcs: [ @@ -31,6 +43,9 @@ cc_library { cc_test { name: "cppbor_test_external", + defaults: [ + "libcppbor_defaults", + ], srcs: [ "tests/cppbor_test.cpp" ], @@ -46,6 +61,9 @@ cc_test { cc_test_host { name: "cppbor_host_test_external", + defaults: [ + "libcppbor_defaults", + ], srcs: [ "tests/cppbor_test.cpp" ], |