Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: build/common.gypi

Issue 2825006: Revert 49982 - patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/third_party/dmg_fp/dtoa.cc ('k') | chrome/browser/zygote_main_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 'msvs_debug_link_incremental%': '2', 222 'msvs_debug_link_incremental%': '2',
223 223
224 # This is the location of the sandbox binary. Chrome looks for this before 224 # This is the location of the sandbox binary. Chrome looks for this before
225 # running the zygote process. If found, and SUID, it will be used to 225 # running the zygote process. If found, and SUID, it will be used to
226 # sandbox the zygote process and, thus, all renderer processes. 226 # sandbox the zygote process and, thus, all renderer processes.
227 'linux_sandbox_path%': '', 227 'linux_sandbox_path%': '',
228 228
229 # Set this to true to enable SELinux support. 229 # Set this to true to enable SELinux support.
230 'selinux%': 0, 230 'selinux%': 0,
231 231
232 # Set this to true when building with Clang.
233 'clang%': 1,
234
235 # Strip the binary after dumping symbols. 232 # Strip the binary after dumping symbols.
236 'linux_strip_binary%': 0, 233 'linux_strip_binary%': 0,
237 234
238 # Disable TCMalloc. It uses variable length arrays which aren't in C++. 235 # Enable TCMalloc.
239 'linux_use_tcmalloc%': 0, 236 'linux_use_tcmalloc%': 1,
240 237
241 # Disable TCMalloc's debugallocation. 238 # Disable TCMalloc's debugallocation.
242 'linux_use_debugallocation%': 0, 239 'linux_use_debugallocation%': 0,
243 240
244 # Disable TCMalloc's heapchecker. 241 # Disable TCMalloc's heapchecker.
245 'linux_use_heapchecker%': 0, 242 'linux_use_heapchecker%': 0,
246 243
247 # Set to 1 to turn on seccomp sandbox by default. 244 # Set to 1 to turn on seccomp sandbox by default.
248 # (Note: this is ignored for official builds.) 245 # (Note: this is ignored for official builds.)
249 'linux_use_seccomp_sandbox%': 0, 246 'linux_use_seccomp_sandbox%': 0,
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 '<(werror)', # See note above about the werror variable. 803 '<(werror)', # See note above about the werror variable.
807 '-pthread', 804 '-pthread',
808 '-fno-exceptions', 805 '-fno-exceptions',
809 '-Wall', 806 '-Wall',
810 # TODO(evan): turn this back on once all the builds work. 807 # TODO(evan): turn this back on once all the builds work.
811 # '-Wextra', 808 # '-Wextra',
812 # Don't warn about unused function params. We use those everywhere. 809 # Don't warn about unused function params. We use those everywhere.
813 '-Wno-unused-parameter', 810 '-Wno-unused-parameter',
814 # Don't warn about the "struct foo f = {0};" initialization pattern. 811 # Don't warn about the "struct foo f = {0};" initialization pattern.
815 '-Wno-missing-field-initializers', 812 '-Wno-missing-field-initializers',
816 # Don't warn about unused variables, due to a common pattern:
817 # scoped_deleter_of_some_sort unused_variable(&thing_to_delete);
818 '-Wno-unused-variable',
819 # gtest confuses clang.
820 '-Wno-bool-conversions',
821 '-D_FILE_OFFSET_BITS=64', 813 '-D_FILE_OFFSET_BITS=64',
822 # Don't export any symbols (for example, to plugins we dlopen()). 814 # Don't export any symbols (for example, to plugins we dlopen()).
823 # Note: this is *required* to make some plugins work. 815 # Note: this is *required* to make some plugins work.
824 '-fvisibility=hidden', 816 '-fvisibility=hidden',
825 ], 817 ],
826 'cflags_cc': [ 818 'cflags_cc': [
827 '-fno-rtti', 819 '-fno-rtti',
828 '-fno-threadsafe-statics', 820 '-fno-threadsafe-statics',
829 # Make inline functions have hidden visiblity by default. 821 # Make inline functions have hidden visiblity by default.
830 # Surprisingly, not covered by -fvisibility=hidden. 822 # Surprisingly, not covered by -fvisibility=hidden.
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 # and therefore SYMROOT, needs to be set at the project level. 1393 # and therefore SYMROOT, needs to be set at the project level.
1402 'SYMROOT': '<(DEPTH)/xcodebuild', 1394 'SYMROOT': '<(DEPTH)/xcodebuild',
1403 }, 1395 },
1404 } 1396 }
1405 1397
1406 # Local Variables: 1398 # Local Variables:
1407 # tab-width:2 1399 # tab-width:2
1408 # indent-tabs-mode:nil 1400 # indent-tabs-mode:nil
1409 # End: 1401 # End:
1410 # vim: set expandtab tabstop=2 shiftwidth=2: 1402 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « base/third_party/dmg_fp/dtoa.cc ('k') | chrome/browser/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698