| Index: third_party/cld_2/BUILD.gn
|
| diff --git a/third_party/cld_2/BUILD.gn b/third_party/cld_2/BUILD.gn
|
| index 485f4acebc05b7cfc0f59904ff923728dc0acbb6..a401bcc7e7040653029ec3681fa5c991b711329f 100644
|
| --- a/third_party/cld_2/BUILD.gn
|
| +++ b/third_party/cld_2/BUILD.gn
|
| @@ -46,8 +46,15 @@ source_set("cld2_data") {
|
| "src/public",
|
| ]
|
|
|
| + config("cld2_data_warnings") {
|
| + if (is_clang) {
|
| + # The generated files don't have braces around subobject initializers.
|
| + cflags = [ "-Wno-missing-braces" ]
|
| + }
|
| + }
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| configs += [ "//build/config/compiler:no_chromium_code" ]
|
| + configs += [ ":cld2_data_warnings" ]
|
| }
|
|
|
| # As in the corresponding gyp file, this just builds the core interfaces for
|
|
|