OSDN Git Service

Merge "Allow -Wformat warnings before they are all fixed." am: 01a2d12df3
[android-x86/system-extras.git] / Android.bp
1 cc_defaults {
2     name: "system-extras-cflags-defaults",
3     cflags: [
4         "-Wall",
5         "-Werror",
6         "-Wno-unused-parameter",
7         "-Wno-unused-result",
8         "-Wno-unused-variable",
9         // There are some -Wformat errors to fix, for the mac target
10         "-Wno-error=format",
11     ],
12     clang_cflags: [
13         "-Wno-incompatible-pointer-types-discards-qualifiers",
14         "-Wno-unused-const-variable",
15     ],
16 }
17
18 subdirs = ["*"]