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 2586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2597 '-mtune=xscale', | 2597 '-mtune=xscale', |
2598 '-msoft-float', | 2598 '-msoft-float', |
2599 ], | 2599 ], |
2600 'defines': [ | 2600 'defines': [ |
2601 '__ARM_ARCH_5__', | 2601 '__ARM_ARCH_5__', |
2602 '__ARM_ARCH_5T__', | 2602 '__ARM_ARCH_5T__', |
2603 '__ARM_ARCH_5E__', | 2603 '__ARM_ARCH_5E__', |
2604 '__ARM_ARCH_5TE__', | 2604 '__ARM_ARCH_5TE__', |
2605 ], | 2605 ], |
2606 }], | 2606 }], |
| 2607 ['profiling==1', { |
| 2608 'cflags': [ |
| 2609 '-marm', # Probably reduntant, but recommend by "perf"
docs. |
| 2610 '-mapcs-frame', # Seems required by -fno-omit-frame-po
inter. |
| 2611 ], |
| 2612 }], |
2607 ['clang==1', { | 2613 ['clang==1', { |
2608 'cflags!': [ | 2614 'cflags!': [ |
2609 # Clang does not support the following options. | 2615 # Clang does not support the following options. |
2610 '-mthumb-interwork', | 2616 '-mthumb-interwork', |
2611 '-finline-limit=64', | 2617 '-finline-limit=64', |
2612 '-fno-tree-sra', | 2618 '-fno-tree-sra', |
2613 '-fuse-ld=gold', | 2619 '-fuse-ld=gold', |
2614 '-Wno-psabi', | 2620 '-Wno-psabi', |
2615 ], | 2621 ], |
2616 }], | 2622 }], |
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3878 # settings in target dicts. SYMROOT is a special case, because many other | 3884 # settings in target dicts. SYMROOT is a special case, because many other |
3879 # Xcode variables depend on it, including variables such as | 3885 # Xcode variables depend on it, including variables such as |
3880 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3886 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3881 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3887 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3882 # files to appear (when present) in the UI as actual files and not red | 3888 # files to appear (when present) in the UI as actual files and not red |
3883 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3889 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3884 # and therefore SYMROOT, needs to be set at the project level. | 3890 # and therefore SYMROOT, needs to be set at the project level. |
3885 'SYMROOT': '<(DEPTH)/xcodebuild', | 3891 'SYMROOT': '<(DEPTH)/xcodebuild', |
3886 }, | 3892 }, |
3887 } | 3893 } |
OLD | NEW |