Alex Deymo | 7a9e1a9 | 2017-01-12 09:48:04 -0800 | [diff] [blame] | 1 | // Copyright 2017 The Android Open Source Project |
| 2 | |
Chih-Hung Hsieh | 2002d7f | 2017-09-27 11:12:30 -0700 | [diff] [blame] | 3 | cc_defaults { |
| 4 | name: "e2fsprogs-defaults", |
Chih-Hung Hsieh | 2002d7f | 2017-09-27 11:12:30 -0700 | [diff] [blame] | 5 | cflags: ["-Wall", "-Werror"], |
| 6 | target: { |
| 7 | darwin: { |
| 8 | // Still has unfixed/unsuppressed warnings. |
| 9 | cflags: ["-Wno-error"], |
| 10 | }, |
Elliott Hughes | 88a90b5 | 2019-04-19 09:34:39 -0700 | [diff] [blame] | 11 | windows: { |
| 12 | cflags: [ |
| 13 | "-Wno-typedef-redefinition", |
| 14 | "-Wno-unused-parameter", |
| 15 | "-Wno-unused-variable", |
| 16 | ], |
| 17 | }, |
Chih-Hung Hsieh | 2002d7f | 2017-09-27 11:12:30 -0700 | [diff] [blame] | 18 | }, |
| 19 | } |
| 20 | |
Alex Deymo | 7a9e1a9 | 2017-01-12 09:48:04 -0800 | [diff] [blame] | 21 | subdirs = [ |
| 22 | "contrib", |
| 23 | "debugfs", |
| 24 | "e2fsck", |
| 25 | "lib", |
| 26 | "misc", |
| 27 | "resize", |
| 28 | ] |