OLD | NEW |
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 4233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4244 ['binutils_version>=223', { | 4244 ['binutils_version>=223', { |
4245 # Newer binutils don't set DT_RPATH unless you disable "new" dtags | 4245 # Newer binutils don't set DT_RPATH unless you disable "new" dtags |
4246 # and the new DT_RUNPATH doesn't work without --no-as-needed flag. | 4246 # and the new DT_RUNPATH doesn't work without --no-as-needed flag. |
4247 # FIXME(mithro): Figure out the --as-needed/--no-as-needed flags | 4247 # FIXME(mithro): Figure out the --as-needed/--no-as-needed flags |
4248 # inside this file to allow usage of --no-as-needed and removal of | 4248 # inside this file to allow usage of --no-as-needed and removal of |
4249 # this flag. | 4249 # this flag. |
4250 'ldflags': [ | 4250 'ldflags': [ |
4251 '-Wl,--disable-new-dtags', | 4251 '-Wl,--disable-new-dtags', |
4252 ], | 4252 ], |
4253 }], | 4253 }], |
4254 ['gcc_version>=48 and clang==0', { | 4254 ['gcc_version>=47 and clang==0', { |
4255 'target_conditions': [ | 4255 'target_conditions': [ |
4256 ['_toolset=="target"', { | 4256 ['_toolset=="target"', { |
4257 'cflags_cc': [ | 4257 'cflags_cc': [ |
4258 '-std=gnu++11', | 4258 '-std=gnu++11', |
4259 # See comment for -Wno-c++11-narrowing. | 4259 # See comment for -Wno-c++11-narrowing. |
4260 '-Wno-narrowing', | 4260 '-Wno-narrowing', |
4261 # TODO(thakis): Remove, http://crbug.com/263960 | 4261 # TODO(thakis): Remove, http://crbug.com/263960 |
4262 '-Wno-literal-suffix', | 4262 '-Wno-literal-suffix', |
4263 ], | 4263 ], |
4264 }], | 4264 }], |
4265 ], | 4265 ], |
4266 }], | 4266 }], |
4267 ['host_gcc_version>=48 and clang==0', { | 4267 ['host_gcc_version>=47 and clang==0', { |
4268 'target_conditions': [ | 4268 'target_conditions': [ |
4269 ['_toolset=="host"', { | 4269 ['_toolset=="host"', { |
4270 'cflags_cc': [ | 4270 'cflags_cc': [ |
4271 '-std=gnu++11', | 4271 '-std=gnu++11', |
4272 # See comment for -Wno-c++11-narrowing. | 4272 # See comment for -Wno-c++11-narrowing. |
4273 '-Wno-narrowing', | 4273 '-Wno-narrowing', |
4274 # TODO(thakis): Remove, http://crbug.com/263960 | 4274 # TODO(thakis): Remove, http://crbug.com/263960 |
4275 '-Wno-literal-suffix', | 4275 '-Wno-literal-suffix', |
4276 ], | 4276 ], |
4277 }], | 4277 }], |
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5671 # settings in target dicts. SYMROOT is a special case, because many other | 5671 # settings in target dicts. SYMROOT is a special case, because many other |
5672 # Xcode variables depend on it, including variables such as | 5672 # Xcode variables depend on it, including variables such as |
5673 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5673 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5674 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5674 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5675 # files to appear (when present) in the UI as actual files and not red | 5675 # files to appear (when present) in the UI as actual files and not red |
5676 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5676 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5677 # and therefore SYMROOT, needs to be set at the project level. | 5677 # and therefore SYMROOT, needs to be set at the project level. |
5678 'SYMROOT': '<(DEPTH)/xcodebuild', | 5678 'SYMROOT': '<(DEPTH)/xcodebuild', |
5679 }, | 5679 }, |
5680 } | 5680 } |
OLD | NEW |