Chromium Code Reviews| 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 3429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3440 '-Wl,-z,relro', | 3440 '-Wl,-z,relro', |
| 3441 '-Wl,-z,now', | 3441 '-Wl,-z,now', |
| 3442 '-fuse-ld=gold', | 3442 '-fuse-ld=gold', |
| 3443 ], | 3443 ], |
| 3444 'conditions': [ | 3444 'conditions': [ |
| 3445 ['arm_thumb==1', { | 3445 ['arm_thumb==1', { |
| 3446 'cflags': [ '-mthumb-interwork' ], | 3446 'cflags': [ '-mthumb-interwork' ], |
| 3447 }], | 3447 }], |
| 3448 ['profiling==1', { | 3448 ['profiling==1', { |
| 3449 'cflags': [ | 3449 'cflags': [ |
| 3450 '-marm', # Probably reduntant, but recommend by "perf" docs. | 3450 # Thumb code with frame pointer makes chrome crash |
| 3451 '-mapcs-frame', # Seems required by -fno-omit-frame-po inter. | 3451 # early. |
| 3452 '-marm', | |
| 3453 '-mapcs-frame', # Required by -fno-omit-frame-pointer. | |
| 3454 '-fno-optimize-sibling-calls', | |
|
Sami
2014/05/15 13:34:32
Looks like this one is also set by profiling_full_
pasko
2014/05/15 14:34:53
I noticed too. The profiling=1 is supposed to be t
| |
| 3455 ], | |
| 3456 'cflags!': [ | |
| 3457 '-fomit-frame-pointer', | |
|
Sami
2014/05/15 13:34:32
BTW, is this just a safe guard or did we end up re
pasko
2014/05/15 14:34:53
We add the -fomit-frame-pointer flag on Android at
| |
| 3452 ], | 3458 ], |
| 3453 }], | 3459 }], |
| 3454 ['clang==1', { | 3460 ['clang==1', { |
| 3455 'cflags!': [ | 3461 'cflags!': [ |
| 3456 # Clang does not support the following options. | 3462 # Clang does not support the following options. |
| 3457 '-mthumb-interwork', | 3463 '-mthumb-interwork', |
| 3458 '-finline-limit=64', | 3464 '-finline-limit=64', |
| 3459 '-fno-tree-sra', | 3465 '-fno-tree-sra', |
| 3460 '-fuse-ld=gold', | 3466 '-fuse-ld=gold', |
| 3461 '-Wno-psabi', | 3467 '-Wno-psabi', |
| (...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5221 # settings in target dicts. SYMROOT is a special case, because many other | 5227 # settings in target dicts. SYMROOT is a special case, because many other |
| 5222 # Xcode variables depend on it, including variables such as | 5228 # Xcode variables depend on it, including variables such as |
| 5223 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5229 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5224 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5230 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5225 # files to appear (when present) in the UI as actual files and not red | 5231 # files to appear (when present) in the UI as actual files and not red |
| 5226 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5232 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5227 # and therefore SYMROOT, needs to be set at the project level. | 5233 # and therefore SYMROOT, needs to be set at the project level. |
| 5228 'SYMROOT': '<(DEPTH)/xcodebuild', | 5234 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5229 }, | 5235 }, |
| 5230 } | 5236 } |
| OLD | NEW |