Source release v3.0.2
This commit is contained in:
14
third_party/protobuf.gypi
vendored
14
third_party/protobuf.gypi
vendored
@@ -31,6 +31,20 @@
|
||||
'<(protobuf_source)/src/google/protobuf/stubs/stringprintf.cc',
|
||||
],
|
||||
},
|
||||
'target_defaults': {
|
||||
# These flags silence warnings that appear in protobuf upstream.
|
||||
# We will not maintain a divergent copy of protobuf to fix them.
|
||||
'cflags': [
|
||||
# Ignore unknown warning options, to support both gcc & clang at once.
|
||||
'-Wno-unknown-warning-option',
|
||||
# GCC:
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused-local-typedefs',
|
||||
# Clang:
|
||||
'-Wno-unused-const-variable',
|
||||
'-Wno-unused-function',
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'protobuf_lite',
|
||||
|
||||
Reference in New Issue
Block a user