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 4113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4124 # And using '-mcpu=cortex-a9' should be sufficient. | 4124 # And using '-mcpu=cortex-a9' should be sufficient. |
4125 '-mcpu=cortex-a9', | 4125 '-mcpu=cortex-a9', |
4126 '-funwind-tables', | 4126 '-funwind-tables', |
4127 # Breakpad requires symbols with debugging information | 4127 # Breakpad requires symbols with debugging information |
4128 '-g', | 4128 '-g', |
4129 ], | 4129 ], |
4130 'ldflags': [ | 4130 'ldflags': [ |
4131 # We want to statically link libstdc++/libgcc. | 4131 # We want to statically link libstdc++/libgcc. |
4132 '-static-libstdc++', | 4132 '-static-libstdc++', |
4133 '-static-libgcc', | 4133 '-static-libgcc', |
| 4134 # Don't allow visible symbols from libraries that contain |
| 4135 # assembly code with symbols that aren't hidden properly. |
| 4136 # http://b/26390825 |
| 4137 '-Wl,--exclude-libs=libffmpeg.a', |
4134 ], | 4138 ], |
4135 'cflags!': [ | 4139 'cflags!': [ |
4136 # Some components in Chromium (e.g. v8, skia, ffmpeg) | 4140 # Some components in Chromium (e.g. v8, skia, ffmpeg) |
4137 # define their own cflags for arm builds that could | 4141 # define their own cflags for arm builds that could |
4138 # conflict with the flags we set here (e.g. | 4142 # conflict with the flags we set here (e.g. |
4139 # '-mcpu=cortex-a9'). Remove these flags explicitly. | 4143 # '-mcpu=cortex-a9'). Remove these flags explicitly. |
4140 '-march=armv7-a', | 4144 '-march=armv7-a', |
4141 '-mtune=cortex-a8', | 4145 '-mtune=cortex-a8', |
4142 ], | 4146 ], |
4143 'target_conditions': [ | 4147 'target_conditions': [ |
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6376 # settings in target dicts. SYMROOT is a special case, because many other | 6380 # settings in target dicts. SYMROOT is a special case, because many other |
6377 # Xcode variables depend on it, including variables such as | 6381 # Xcode variables depend on it, including variables such as |
6378 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6382 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6379 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6383 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6380 # files to appear (when present) in the UI as actual files and not red | 6384 # files to appear (when present) in the UI as actual files and not red |
6381 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6385 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6382 # and therefore SYMROOT, needs to be set at the project level. | 6386 # and therefore SYMROOT, needs to be set at the project level. |
6383 'SYMROOT': '<(DEPTH)/xcodebuild', | 6387 'SYMROOT': '<(DEPTH)/xcodebuild', |
6384 }, | 6388 }, |
6385 } | 6389 } |
OLD | NEW |