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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 'Debug_Base': { | 917 'Debug_Base': { |
918 'variables': { | 918 'variables': { |
919 'debug_optimize%': '0', | 919 'debug_optimize%': '0', |
920 }, | 920 }, |
921 'defines': [ | 921 'defines': [ |
922 '_DEBUG', | 922 '_DEBUG', |
923 ], | 923 ], |
924 'cflags': [ | 924 'cflags': [ |
925 '-O>(debug_optimize)', | 925 '-O>(debug_optimize)', |
926 '-g', | 926 '-g', |
927 # One can use '-gstabs' to enable building the debugging | |
928 # information in STABS format for breakpad's dumpsyms. | |
929 ], | 927 ], |
930 }, | 928 }, |
931 'Release_Base': { | 929 'Release_Base': { |
932 'variables': { | 930 'variables': { |
933 'release_optimize%': '2', | 931 'release_optimize%': '2', |
934 # Binaries become big and gold is unable to perform GC | 932 # Binaries become big and gold is unable to perform GC |
935 # and remove unused sections for some of test targets | 933 # and remove unused sections for some of test targets |
936 # on 32 bit platform. | 934 # on 32 bit platform. |
937 # (This is currently observed only in chromeos valgrind bots) | 935 # (This is currently observed only in chromeos valgrind bots) |
938 # The following flag is to disable --gc-sections linker | 936 # The following flag is to disable --gc-sections linker |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 '--sysroot=<(sysroot)', | 1099 '--sysroot=<(sysroot)', |
1102 ], | 1100 ], |
1103 }]] | 1101 }]] |
1104 }], | 1102 }], |
1105 ['no_strict_aliasing==1', { | 1103 ['no_strict_aliasing==1', { |
1106 'cflags': [ | 1104 'cflags': [ |
1107 '-fno-strict-aliasing', | 1105 '-fno-strict-aliasing', |
1108 ], | 1106 ], |
1109 }], | 1107 }], |
1110 ['linux_breakpad==1', { | 1108 ['linux_breakpad==1', { |
1111 'cflags': [ '-gstabs' ], | 1109 'cflags': [ '-g' ], |
1112 'defines': ['USE_LINUX_BREAKPAD'], | 1110 'defines': ['USE_LINUX_BREAKPAD'], |
1113 }], | 1111 }], |
1114 ['linux_use_seccomp_sandbox==1 and buildtype!="Official"', { | 1112 ['linux_use_seccomp_sandbox==1 and buildtype!="Official"', { |
1115 'defines': ['USE_SECCOMP_SANDBOX'], | 1113 'defines': ['USE_SECCOMP_SANDBOX'], |
1116 }], | 1114 }], |
1117 ['library=="shared_library"', { | 1115 ['library=="shared_library"', { |
1118 # When building with shared libraries, remove the visiblity-hiding | 1116 # When building with shared libraries, remove the visiblity-hiding |
1119 # flag. | 1117 # flag. |
1120 'cflags!': [ '-fvisibility=hidden' ], | 1118 'cflags!': [ '-fvisibility=hidden' ], |
1121 'conditions': [ | 1119 'conditions': [ |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 # and therefore SYMROOT, needs to be set at the project level. | 1435 # and therefore SYMROOT, needs to be set at the project level. |
1438 'SYMROOT': '<(DEPTH)/xcodebuild', | 1436 'SYMROOT': '<(DEPTH)/xcodebuild', |
1439 }, | 1437 }, |
1440 } | 1438 } |
1441 | 1439 |
1442 # Local Variables: | 1440 # Local Variables: |
1443 # tab-width:2 | 1441 # tab-width:2 |
1444 # indent-tabs-mode:nil | 1442 # indent-tabs-mode:nil |
1445 # End: | 1443 # End: |
1446 # vim: set expandtab tabstop=2 shiftwidth=2: | 1444 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |