Source release v3.5.0
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
# Copyright 2017 Google Inc. All rights reserved.
|
||||
{
|
||||
# Here you can set platform-specific compiler settings.
|
||||
'target_defaults': {
|
||||
# These are flags passed to the compiler for all C & C++ files.
|
||||
'cflags': [
|
||||
'-fsanitize=address',
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
# These are flags passed to the compiler for plain C only.
|
||||
'cflags_c': [
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fsanitize=address',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
# These are flags passed to the compiler for C++ only.
|
||||
'cflags_cc': [
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fsanitize=address',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
# These are flags passed to the linker.
|
||||
'ldflags': [
|
||||
'-fsanitize=address',
|
||||
],
|
||||
|
||||
# These are macros set by the compiler.
|
||||
'defines': [
|
||||
#'EXAMPLE_MACRO_WITH_NO_VALUE',
|
||||
#'EXAMPLE_KEY=EXAMPLE_VALUE',
|
||||
],
|
||||
|
||||
# These are additional include paths to search for headers.
|
||||
'include_dirs': [
|
||||
],
|
||||
|
||||
'target_conditions': [
|
||||
['_toolset == "host"', {
|
||||
# These are settings specifically for the host toolchain.
|
||||
# The extra equals sign in the key name instructs gyp to replace
|
||||
# the generic settings above rather than append to them.
|
||||
'cflags=': [
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fsanitize=address',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
'cflags_c=': [
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fsanitize=address',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
'cflags_cc=': [
|
||||
'-fsanitize-coverage=trace-pc-guard',
|
||||
'-fsanitize=address',
|
||||
'-fPIC',
|
||||
],
|
||||
|
||||
'ldflags=': [
|
||||
'-fsanitize=address',
|
||||
],
|
||||
|
||||
'defines=': [
|
||||
],
|
||||
|
||||
'include_dirs=': [
|
||||
],
|
||||
}], # end _toolset == "host" condition
|
||||
], # end target_conditions
|
||||
}, # end target_defaults
|
||||
}
|
||||
Reference in New Issue
Block a user