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

Side by Side Diff: build/common.gypi

Issue 10872063: Revert 153092 - Turn on warnings as errors for (most) third_party code on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « DEPS ('k') | skia/skia.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 # but that doesn't work as we'd like. 703 # but that doesn't work as we'd like.
704 'msvs_debug_link_incremental%': '2', 704 'msvs_debug_link_incremental%': '2',
705 705
706 # Needed for some of the largest modules. 706 # Needed for some of the largest modules.
707 'msvs_debug_link_nonincremental%': '1', 707 'msvs_debug_link_nonincremental%': '1',
708 708
709 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows 709 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows
710 # to get incremental linking to be faster in debug builds. 710 # to get incremental linking to be faster in debug builds.
711 'incremental_chrome_dll%': '0', 711 'incremental_chrome_dll%': '0',
712 712
713 # The default settings for third party code for treating
714 # warnings-as-errors. Ideally, this would not be required, however there
715 # is some third party code that takes a long time to fix/roll. So, this
716 # flag allows us to have warnings as errors in general to prevent
717 # regressions in most modules, while working on the bits that are
718 # remaining.
719 'win_third_party_warn_as_error%': 'true',
720
721 # This is the location of the sandbox binary. Chrome looks for this before 713 # This is the location of the sandbox binary. Chrome looks for this before
722 # running the zygote process. If found, and SUID, it will be used to 714 # running the zygote process. If found, and SUID, it will be used to
723 # sandbox the zygote process and, thus, all renderer processes. 715 # sandbox the zygote process and, thus, all renderer processes.
724 'linux_sandbox_path%': '', 716 'linux_sandbox_path%': '',
725 717
726 # Set this to true to enable SELinux support. 718 # Set this to true to enable SELinux support.
727 'selinux%': 0, 719 'selinux%': 0,
728 720
729 # Clang stuff. 721 # Clang stuff.
730 'clang%': '<(clang)', 722 'clang%': '<(clang)',
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 'defines': [ 1670 'defines': [
1679 '_CRT_SECURE_NO_DEPRECATE', 1671 '_CRT_SECURE_NO_DEPRECATE',
1680 '_CRT_NONSTDC_NO_WARNINGS', 1672 '_CRT_NONSTDC_NO_WARNINGS',
1681 '_CRT_NONSTDC_NO_DEPRECATE', 1673 '_CRT_NONSTDC_NO_DEPRECATE',
1682 '_SCL_SECURE_NO_DEPRECATE', 1674 '_SCL_SECURE_NO_DEPRECATE',
1683 ], 1675 ],
1684 'msvs_disabled_warnings': [4800], 1676 'msvs_disabled_warnings': [4800],
1685 'msvs_settings': { 1677 'msvs_settings': {
1686 'VCCLCompilerTool': { 1678 'VCCLCompilerTool': {
1687 'WarningLevel': '3', 1679 'WarningLevel': '3',
1688 'WarnAsError': '<(win_third_party_warn_as_error)', 1680 'WarnAsError': 'false', # TODO(maruel): Enable it.
1689 'Detect64BitPortabilityProblems': 'false', 1681 'Detect64BitPortabilityProblems': 'false',
1690 }, 1682 },
1691 }, 1683 },
1692 }], 1684 }],
1693 # TODO(darin): Unfortunately, some third_party code depends on base/ 1685 # TODO(darin): Unfortunately, some third_party code depends on base/
1694 [ 'OS=="win" and component=="shared_library"', { 1686 [ 'OS=="win" and component=="shared_library"', {
1695 'msvs_disabled_warnings': [ 1687 'msvs_disabled_warnings': [
1696 4251, # class 'std::xx' needs to have dll-interface. 1688 4251, # class 'std::xx' needs to have dll-interface.
1697 ], 1689 ],
1698 }], 1690 }],
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after
3403 # settings in target dicts. SYMROOT is a special case, because many other 3395 # settings in target dicts. SYMROOT is a special case, because many other
3404 # Xcode variables depend on it, including variables such as 3396 # Xcode variables depend on it, including variables such as
3405 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3397 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3406 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3398 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3407 # files to appear (when present) in the UI as actual files and not red 3399 # files to appear (when present) in the UI as actual files and not red
3408 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3400 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3409 # and therefore SYMROOT, needs to be set at the project level. 3401 # and therefore SYMROOT, needs to be set at the project level.
3410 'SYMROOT': '<(DEPTH)/xcodebuild', 3402 'SYMROOT': '<(DEPTH)/xcodebuild',
3411 }, 3403 },
3412 } 3404 }
OLDNEW
« no previous file with comments | « DEPS ('k') | skia/skia.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698