Source release 16.2.0

This commit is contained in:
John W. Bruce
2020-04-10 16:13:07 -07:00
parent 1ff9f8588a
commit b830b1d1fb
883 changed files with 509706 additions and 143739 deletions

View File

@@ -59,6 +59,7 @@
'-Wno-cast-qual',
'-Wno-ignored-qualifiers',
'-Wno-inconsistent-missing-override',
'-Wno-redundant-move',
],
'excluded_cflags': [
# In addition to turning these off above, GYP's order-of-operations means
@@ -71,6 +72,7 @@
'-Wcast-qual',
'-Wignored-qualifiers',
'-Winconsistent-missing-override',
'-Wredundant-move',
],
},
'target_defaults': {
@@ -80,19 +82,6 @@
# These defines come from Protobuf's BUILD file.
'HAVE_PTHREAD',
],
'cflags': ['<@(included_cflags)'],
'cflags!': ['<@(excluded_cflags)'],
'cflags_cc': ['<@(included_cflags)'],
'cflags_cc!': ['<@(excluded_cflags)'],
'xcode_settings': {
'USE_HEADERMAP': 'NO',
},
'msvs_settings': {
'VCCLCompilerTool': {
# Disable warnings for third-party code.
'WarningLevel': '0',
},
},
},
'targets': [
{
@@ -107,6 +96,20 @@
'<(protobuf_source)',
'<(protobuf_source)/src',
],
'cflags': ['<@(included_cflags)'],
'cflags!': ['<@(excluded_cflags)'],
'cflags_cc': ['<@(included_cflags)'],
'cflags_cc!': ['<@(excluded_cflags)'],
'xcode_settings': {
'OTHER_CFLAGS': ['-w'],
'USE_HEADERMAP': 'NO',
},
'msvs_settings': {
'VCCLCompilerTool': {
# Disable warnings for third-party code.
'WarningLevel': '0',
},
},
'direct_dependent_settings': {
'include_dirs': [
'<(protobuf_source)/src',
@@ -190,6 +193,20 @@
'<(protobuf_source)',
'<(protobuf_source)/src',
],
'cflags': ['<@(included_cflags)'],
'cflags!': ['<@(excluded_cflags)'],
'cflags_cc': ['<@(included_cflags)'],
'cflags_cc!': ['<@(excluded_cflags)'],
'xcode_settings': {
'OTHER_CFLAGS': ['-w'],
'USE_HEADERMAP': 'NO',
},
'msvs_settings': {
'VCCLCompilerTool': {
# Disable warnings for third-party code.
'WarningLevel': '0',
},
},
},
{
'target_name': 'protoc',
@@ -288,6 +305,20 @@
'dependencies': [
'protobuf',
],
'cflags': ['<@(included_cflags)'],
'cflags!': ['<@(excluded_cflags)'],
'cflags_cc': ['<@(included_cflags)'],
'cflags_cc!': ['<@(excluded_cflags)'],
'xcode_settings': {
'OTHER_CFLAGS': ['-w'],
'USE_HEADERMAP': 'NO',
},
'msvs_settings': {
'VCCLCompilerTool': {
# Disable warnings for third-party code.
'WarningLevel': '0',
},
},
'conditions': [
['OS!="win"', {
'libraries': [
@@ -295,23 +326,6 @@
'-lm',
],
}],
['OS=="ios"', {
# Copy protoc to iPhone and Sim directories. This allows finding it
# when using <(PRODUCT_DIR).
'copies': [{
'destination': '$(BUILD_DIR)/Default-iphoneos',
'xcode_code_sign': 1,
'files': [
'$(CONFIGURATION_BUILD_DIR)/protoc',
],
}, {
'destination': '$(BUILD_DIR)/Default-iphonesimulator',
'xcode_code_sign': 1,
'files': [
'$(CONFIGURATION_BUILD_DIR)/protoc',
],
}],
}],
],
},
],