OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 }], | 1116 }], |
1117 ['no_strict_aliasing==1', { | 1117 ['no_strict_aliasing==1', { |
1118 'cflags': [ | 1118 'cflags': [ |
1119 '-fno-strict-aliasing', | 1119 '-fno-strict-aliasing', |
1120 ], | 1120 ], |
1121 }], | 1121 }], |
1122 ['linux_breakpad==1', { | 1122 ['linux_breakpad==1', { |
1123 'cflags': [ '-g' ], | 1123 'cflags': [ '-g' ], |
1124 'defines': ['USE_LINUX_BREAKPAD'], | 1124 'defines': ['USE_LINUX_BREAKPAD'], |
1125 }], | 1125 }], |
1126 ['linux_use_seccomp_sandbox==1 and buildtype!="Official"', { | |
1127 'defines': ['USE_SECCOMP_SANDBOX'], | |
1128 }], | |
1129 ['library=="shared_library"', { | 1126 ['library=="shared_library"', { |
1130 # When building with shared libraries, remove the visiblity-hiding | 1127 # When building with shared libraries, remove the visiblity-hiding |
1131 # flag. | 1128 # flag. |
1132 'cflags!': [ '-fvisibility=hidden' ], | 1129 'cflags!': [ '-fvisibility=hidden' ], |
1133 'conditions': [ | 1130 'conditions': [ |
1134 ['target_arch=="x64" or target_arch=="arm"', { | 1131 ['target_arch=="x64" or target_arch=="arm"', { |
1135 # Shared libraries need -fPIC on x86-64 and arm | 1132 # Shared libraries need -fPIC on x86-64 and arm |
1136 'cflags': ['-fPIC'] | 1133 'cflags': ['-fPIC'] |
1137 }] | 1134 }] |
1138 ], | 1135 ], |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 # and therefore SYMROOT, needs to be set at the project level. | 1467 # and therefore SYMROOT, needs to be set at the project level. |
1471 'SYMROOT': '<(DEPTH)/xcodebuild', | 1468 'SYMROOT': '<(DEPTH)/xcodebuild', |
1472 }, | 1469 }, |
1473 } | 1470 } |
1474 | 1471 |
1475 # Local Variables: | 1472 # Local Variables: |
1476 # tab-width:2 | 1473 # tab-width:2 |
1477 # indent-tabs-mode:nil | 1474 # indent-tabs-mode:nil |
1478 # End: | 1475 # End: |
1479 # vim: set expandtab tabstop=2 shiftwidth=2: | 1476 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |