| 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 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2535 # libgcc.a to the start of libraries which puts it in the | 2535 # libgcc.a to the start of libraries which puts it in the |
| 2536 # proper spot after .o and .a files get linked in. | 2536 # proper spot after .o and .a files get linked in. |
| 2537 # | 2537 # |
| 2538 # TODO: The proper thing to do longer-tem would be proper gyp | 2538 # TODO: The proper thing to do longer-tem would be proper gyp |
| 2539 # support for a custom link command line. | 2539 # support for a custom link command line. |
| 2540 ['_toolset=="target"', { | 2540 ['_toolset=="target"', { |
| 2541 'cflags!': [ | 2541 'cflags!': [ |
| 2542 '-pthread', # Not supported by Android toolchain. | 2542 '-pthread', # Not supported by Android toolchain. |
| 2543 ], | 2543 ], |
| 2544 'cflags': [ | 2544 'cflags': [ |
| 2545 '-U__linux__', # Don't allow toolchain to claim -D__linux__ | |
| 2546 '-ffunction-sections', | 2545 '-ffunction-sections', |
| 2547 '-funwind-tables', | 2546 '-funwind-tables', |
| 2548 '-g', | 2547 '-g', |
| 2549 '-fstack-protector', | 2548 '-fstack-protector', |
| 2550 '-fno-short-enums', | 2549 '-fno-short-enums', |
| 2551 '-finline-limit=64', | 2550 '-finline-limit=64', |
| 2552 '-Wa,--noexecstack', | 2551 '-Wa,--noexecstack', |
| 2553 '<@(release_extra_cflags)', | 2552 '<@(release_extra_cflags)', |
| 2554 ], | 2553 ], |
| 2555 'defines': [ | 2554 'defines': [ |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3383 # settings in target dicts. SYMROOT is a special case, because many other | 3382 # settings in target dicts. SYMROOT is a special case, because many other |
| 3384 # Xcode variables depend on it, including variables such as | 3383 # Xcode variables depend on it, including variables such as |
| 3385 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3384 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3386 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3385 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3387 # files to appear (when present) in the UI as actual files and not red | 3386 # files to appear (when present) in the UI as actual files and not red |
| 3388 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3387 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3389 # and therefore SYMROOT, needs to be set at the project level. | 3388 # and therefore SYMROOT, needs to be set at the project level. |
| 3390 'SYMROOT': '<(DEPTH)/xcodebuild', | 3389 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3391 }, | 3390 }, |
| 3392 } | 3391 } |
| OLD | NEW |