diff options
author | Colin Cross <ccross@android.com> | 2019-11-11 10:16:16 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-11-11 10:16:16 -0800 |
commit | a877ce58aca40520b41099d7623856d9c3a8430f (patch) | |
tree | bf1f8149fc294d3351ad1fe468781334a1f6515f | |
parent | 83ed72134839584528705fe352c5429058d70968 (diff) | |
parent | 0242a91d97a70acbbf186678e636d99a565c0bf0 (diff) | |
download | skqp-a877ce58aca40520b41099d7623856d9c3a8430f.tar.gz |
Replace -Weverything with -Wextra am: 29cd4eca88 am: 1308793d7c
am: 0242a91d97
Change-Id: I270ffbf7c0adb0ebefdbeee7b00af9d8bbd0b015
-rw-r--r-- | Android.bp | 1 | ||||
-rwxr-xr-x | tools/skqp/gn_to_bp.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index ae3406e566..9888fc739b 100644 --- a/Android.bp +++ b/Android.bp @@ -15,7 +15,6 @@ cc_library_shared { "-D_FORTIFY_SOURCE=1", "-Wall", "-Werror", - "-Weverything", "-Wextra", "-Winit-self", "-Wno-bad-function-cast", diff --git a/tools/skqp/gn_to_bp.py b/tools/skqp/gn_to_bp.py index d6b84955da..920c8f0e8e 100755 --- a/tools/skqp/gn_to_bp.py +++ b/tools/skqp/gn_to_bp.py @@ -151,6 +151,9 @@ defines = {str(d) for d in js['targets']['//:libskqp_app']['defines']} defines.update(["SK_ENABLE_DUMP_GPU", "SK_BUILD_FOR_SKQP"]) cflags_cc.update(['-Wno-extra-semi-stmt']) +# Android does not want -Weverything set, it blocks toolchain updates. +cflags.remove('-Weverything') + gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'sources', srcs, None) gn_to_bp_utils.GrabDependentValues(js, '//:libskqp_app', 'include_dirs', local_includes, 'freetype') |