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 3425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3436 # (This is currently observed only in chromeos valgrind bots) | 3436 # (This is currently observed only in chromeos valgrind bots) |
3437 # The following flag is to disable --gc-sections linker | 3437 # The following flag is to disable --gc-sections linker |
3438 # option for these bots. | 3438 # option for these bots. |
3439 'no_gc_sections%': 0, | 3439 'no_gc_sections%': 0, |
3440 | 3440 |
3441 # TODO(bradnelson): reexamine how this is done if we change the | 3441 # TODO(bradnelson): reexamine how this is done if we change the |
3442 # expansion of configurations | 3442 # expansion of configurations |
3443 'release_valgrind_build%': 0, | 3443 'release_valgrind_build%': 0, |
3444 }, | 3444 }, |
3445 'cflags': [ | 3445 'cflags': [ |
3446 '-O<(release_optimize)', | 3446 '-O>(release_optimize)', |
tommi (sloooow) - chröme
2014/06/27 14:27:54
would it make sense to commit this in a separate C
tlegrand1
2014/06/27 16:37:53
Yes, I think it does. I'll create a new CL for thi
| |
3447 # Don't emit the GCC version ident directives, they just end up | 3447 # Don't emit the GCC version ident directives, they just end up |
3448 # in the .comment section taking up binary size. | 3448 # in the .comment section taking up binary size. |
3449 '-fno-ident', | 3449 '-fno-ident', |
3450 # Put data and code in their own sections, so that unused symbols | 3450 # Put data and code in their own sections, so that unused symbols |
3451 # can be removed at link time with --gc-sections. | 3451 # can be removed at link time with --gc-sections. |
3452 '-fdata-sections', | 3452 '-fdata-sections', |
3453 '-ffunction-sections', | 3453 '-ffunction-sections', |
3454 ], | 3454 ], |
3455 'ldflags': [ | 3455 'ldflags': [ |
3456 # Specifically tell the linker to perform optimizations. | 3456 # Specifically tell the linker to perform optimizations. |
(...skipping 2090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5547 # settings in target dicts. SYMROOT is a special case, because many other | 5547 # settings in target dicts. SYMROOT is a special case, because many other |
5548 # Xcode variables depend on it, including variables such as | 5548 # Xcode variables depend on it, including variables such as |
5549 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5549 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5550 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5550 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5551 # files to appear (when present) in the UI as actual files and not red | 5551 # files to appear (when present) in the UI as actual files and not red |
5552 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5552 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5553 # and therefore SYMROOT, needs to be set at the project level. | 5553 # and therefore SYMROOT, needs to be set at the project level. |
5554 'SYMROOT': '<(DEPTH)/xcodebuild', | 5554 'SYMROOT': '<(DEPTH)/xcodebuild', |
5555 }, | 5555 }, |
5556 } | 5556 } |
OLD | NEW |