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 3641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3652 ], | 3652 ], |
3653 }], | 3653 }], |
3654 ['OS=="android" and android_full_debug==0 and target_arch!="arm64"
', { | 3654 ['OS=="android" and android_full_debug==0 and target_arch!="arm64"
', { |
3655 # We don't omit frame pointers on arm64 since they are required | 3655 # We don't omit frame pointers on arm64 since they are required |
3656 # to correctly unwind stackframes which contain system library | 3656 # to correctly unwind stackframes which contain system library |
3657 # function frames (crbug.com/391706). | 3657 # function frames (crbug.com/391706). |
3658 'cflags': [ | 3658 'cflags': [ |
3659 '-fomit-frame-pointer', | 3659 '-fomit-frame-pointer', |
3660 ], | 3660 ], |
3661 }], | 3661 }], |
| 3662 ['OS!="android"', { |
| 3663 'defines': [ |
| 3664 '_LARGEFILE_SOURCE', |
| 3665 '_LARGEFILE64_SOURCE', |
| 3666 ], |
| 3667 }], |
3662 ['OS=="linux" and target_arch=="ia32"', { | 3668 ['OS=="linux" and target_arch=="ia32"', { |
3663 'ldflags': [ | 3669 'ldflags': [ |
3664 '-Wl,--no-as-needed', | 3670 '-Wl,--no-as-needed', |
3665 ], | 3671 ], |
3666 }], | 3672 }], |
3667 ['debug_unwind_tables==1', { | 3673 ['debug_unwind_tables==1', { |
3668 'cflags': ['-funwind-tables'], | 3674 'cflags': ['-funwind-tables'], |
3669 }, { | 3675 }, { |
3670 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3676 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3671 'defines': ['NO_UNWIND_TABLES'], | 3677 'defines': ['NO_UNWIND_TABLES'], |
(...skipping 2419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6091 # settings in target dicts. SYMROOT is a special case, because many other | 6097 # settings in target dicts. SYMROOT is a special case, because many other |
6092 # Xcode variables depend on it, including variables such as | 6098 # Xcode variables depend on it, including variables such as |
6093 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6099 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6094 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6100 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6095 # files to appear (when present) in the UI as actual files and not red | 6101 # files to appear (when present) in the UI as actual files and not red |
6096 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6102 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6097 # and therefore SYMROOT, needs to be set at the project level. | 6103 # and therefore SYMROOT, needs to be set at the project level. |
6098 'SYMROOT': '<(DEPTH)/xcodebuild', | 6104 'SYMROOT': '<(DEPTH)/xcodebuild', |
6099 }, | 6105 }, |
6100 } | 6106 } |
OLD | NEW |