blob: 49f7ff9249a15caa1d496dd8bac3268abe86697a [file] [log] [blame]
# Copyright 2015 The Weave Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_defaults': {
'configurations': {
'Release': {
'defines': [
'NDEBUG',
],
'cflags': [
'-Os',
],
},
'Debug': {
'defines': [
'_DEBUG',
],
'cflags': [
'-Og',
'-g3',
],
},
},
'include_dirs': [
'.',
'include',
'third_party/chromium',
'third_party/include',
'third_party/modp_b64/modp_b64',
],
'cflags!': ['-fPIE'],
'cflags': [
'-fPIC',
'-fvisibility=hidden',
'-std=c++11',
'-Wall',
'-Werror',
'-Wextra',
'-Wl,--exclude-libs,ALL',
'-Wno-char-subscripts',
'-Wno-format-nonliteral',
'-Wno-missing-field-initializers',
'-Wno-unused-local-typedefs',
'-Wno-unused-parameter',
'-Wpacked',
'-Wpointer-arith',
'-Wwrite-strings',
],
'library_dirs': ['third_party/lib']
},
}