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

Side by Side Diff: build/common.gypi

Issue 64273005: ios: Enable -Wunused-functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/debug/stack_trace_posix.cc ('k') | net/url_request/url_request_unittest.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) 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 4213 matching lines...) Expand 10 before | Expand all | Expand 10 after
4224 # section above). 4224 # section above).
4225 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', 4225 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x',
4226 # Warn if automatic synthesis is triggered with 4226 # Warn if automatic synthesis is triggered with
4227 # the -Wobjc-missing-property-synthesis flag. 4227 # the -Wobjc-missing-property-synthesis flag.
4228 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', 4228 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
4229 'WARNING_CFLAGS': [ 4229 'WARNING_CFLAGS': [
4230 '-Wheader-hygiene', 4230 '-Wheader-hygiene',
4231 # Don't die on dtoa code that uses a char as an array index. 4231 # Don't die on dtoa code that uses a char as an array index.
4232 # This is required solely for base/third_party/dmg_fp/dtoa.cc. 4232 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
4233 '-Wno-char-subscripts', 4233 '-Wno-char-subscripts',
4234 # Clang spots more unused functions. TODO: remove, crbug.com/315884 4234 # See comment in the mac clang section above for this flag.
4235 '-Wno-unused-function', 4235 '-Wno-unneeded-internal-declaration',
4236 # Match OS X clang C++11 warning settings. 4236 # Match OS X clang C++11 warning settings.
4237 '-Wno-c++11-narrowing', 4237 '-Wno-c++11-narrowing',
4238 ], 4238 ],
4239 }, 4239 },
4240 'target_conditions': [ 4240 'target_conditions': [
4241 ['_toolset=="host"', { 4241 ['_toolset=="host"', {
4242 'xcode_settings': { 4242 'xcode_settings': {
4243 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot 4243 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot
4244 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', 4244 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
4245 'ARCHS': [ 4245 'ARCHS': [
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
4702 # settings in target dicts. SYMROOT is a special case, because many other 4702 # settings in target dicts. SYMROOT is a special case, because many other
4703 # Xcode variables depend on it, including variables such as 4703 # Xcode variables depend on it, including variables such as
4704 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4704 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4705 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4705 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4706 # files to appear (when present) in the UI as actual files and not red 4706 # files to appear (when present) in the UI as actual files and not red
4707 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4707 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4708 # and therefore SYMROOT, needs to be set at the project level. 4708 # and therefore SYMROOT, needs to be set at the project level.
4709 'SYMROOT': '<(DEPTH)/xcodebuild', 4709 'SYMROOT': '<(DEPTH)/xcodebuild',
4710 }, 4710 },
4711 } 4711 }
OLDNEW
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698