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 3390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3401 # (This is currently observed only in chromeos valgrind bots) | 3401 # (This is currently observed only in chromeos valgrind bots) |
3402 # The following flag is to disable --gc-sections linker | 3402 # The following flag is to disable --gc-sections linker |
3403 # option for these bots. | 3403 # option for these bots. |
3404 'no_gc_sections%': 0, | 3404 'no_gc_sections%': 0, |
3405 | 3405 |
3406 # TODO(bradnelson): reexamine how this is done if we change the | 3406 # TODO(bradnelson): reexamine how this is done if we change the |
3407 # expansion of configurations | 3407 # expansion of configurations |
3408 'release_valgrind_build%': 0, | 3408 'release_valgrind_build%': 0, |
3409 }, | 3409 }, |
3410 'cflags': [ | 3410 'cflags': [ |
3411 '-O>(release_optimize)', | 3411 '-O<(release_optimize)', |
3412 # Don't emit the GCC version ident directives, they just end up | 3412 # Don't emit the GCC version ident directives, they just end up |
3413 # in the .comment section taking up binary size. | 3413 # in the .comment section taking up binary size. |
3414 '-fno-ident', | 3414 '-fno-ident', |
3415 # Put data and code in their own sections, so that unused symbols | 3415 # Put data and code in their own sections, so that unused symbols |
3416 # can be removed at link time with --gc-sections. | 3416 # can be removed at link time with --gc-sections. |
3417 '-fdata-sections', | 3417 '-fdata-sections', |
3418 '-ffunction-sections', | 3418 '-ffunction-sections', |
3419 ], | 3419 ], |
3420 'ldflags': [ | 3420 'ldflags': [ |
3421 # Specifically tell the linker to perform optimizations. | 3421 # Specifically tell the linker to perform optimizations. |
(...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5462 # settings in target dicts. SYMROOT is a special case, because many other | 5462 # settings in target dicts. SYMROOT is a special case, because many other |
5463 # Xcode variables depend on it, including variables such as | 5463 # Xcode variables depend on it, including variables such as |
5464 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5464 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5465 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5465 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5466 # files to appear (when present) in the UI as actual files and not red | 5466 # files to appear (when present) in the UI as actual files and not red |
5467 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5467 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5468 # and therefore SYMROOT, needs to be set at the project level. | 5468 # and therefore SYMROOT, needs to be set at the project level. |
5469 'SYMROOT': '<(DEPTH)/xcodebuild', | 5469 'SYMROOT': '<(DEPTH)/xcodebuild', |
5470 }, | 5470 }, |
5471 } | 5471 } |
OLD | NEW |