| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1606 # Clang spots more unused functions. | 1606 # Clang spots more unused functions. |
| 1607 '-Wno-unused-function', | 1607 '-Wno-unused-function', |
| 1608 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1608 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
| 1609 # http://code.google.com/p/googletest/source/detail?r=446 . | 1609 # http://code.google.com/p/googletest/source/detail?r=446 . |
| 1610 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1610 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
| 1611 '-Wno-unnamed-type-template-args', | 1611 '-Wno-unnamed-type-template-args', |
| 1612 # TODO(thakis): Reenable once the one instance this warns on | 1612 # TODO(thakis): Reenable once the one instance this warns on |
| 1613 # is fixed. | 1613 # is fixed. |
| 1614 '-Wno-parentheses', | 1614 '-Wno-parentheses', |
| 1615 ], | 1615 ], |
| 1616 'OTHER_CFLAGS': [ | |
| 1617 # TODO(thakis): Causes many warnings - http://crbug.com/75001 | |
| 1618 '-fobjc-exceptions', | |
| 1619 ], | |
| 1620 }], | 1616 }], |
| 1621 ['clang==1 and clang_use_chrome_plugins==1', { | 1617 ['clang==1 and clang_use_chrome_plugins==1', { |
| 1622 'OTHER_CFLAGS': [ | 1618 'OTHER_CFLAGS': [ |
| 1623 '<(clang_chrome_plugins_flags)', | 1619 '<(clang_chrome_plugins_flags)', |
| 1624 ], | 1620 ], |
| 1625 }], | 1621 }], |
| 1626 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1622 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
| 1627 'OTHER_CFLAGS': [ | 1623 'OTHER_CFLAGS': [ |
| 1628 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1624 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
| 1629 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1625 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1912 # settings in target dicts. SYMROOT is a special case, because many other | 1908 # settings in target dicts. SYMROOT is a special case, because many other |
| 1913 # Xcode variables depend on it, including variables such as | 1909 # Xcode variables depend on it, including variables such as |
| 1914 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1910 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1915 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1911 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1916 # files to appear (when present) in the UI as actual files and not red | 1912 # files to appear (when present) in the UI as actual files and not red |
| 1917 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1913 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1918 # and therefore SYMROOT, needs to be set at the project level. | 1914 # and therefore SYMROOT, needs to be set at the project level. |
| 1919 'SYMROOT': '<(DEPTH)/xcodebuild', | 1915 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1920 }, | 1916 }, |
| 1921 } | 1917 } |
| OLD | NEW |