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 4916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4927 ['target_arch=="x64"', { | 4927 ['target_arch=="x64"', { |
4928 'cflags': [ | 4928 'cflags': [ |
4929 '-target x86_64-linux-androideabi', | 4929 '-target x86_64-linux-androideabi', |
4930 ], | 4930 ], |
4931 'ldflags': [ | 4931 'ldflags': [ |
4932 '-target x86_64-linux-androideabi', | 4932 '-target x86_64-linux-androideabi', |
4933 ], | 4933 ], |
4934 }], | 4934 }], |
4935 ], | 4935 ], |
4936 }], | 4936 }], |
| 4937 ['asan==1', { |
| 4938 'cflags': [ |
| 4939 # Android build relies on -Wl,--gc-sections removing |
| 4940 # unreachable code. ASan instrumentation for globals inhibits |
| 4941 # this and results in a library with unresolvable relocations. |
| 4942 # TODO(eugenis): find a way to reenable this. |
| 4943 '-mllvm -asan-globals=0', |
| 4944 ], |
| 4945 }], |
4937 ['target_arch == "arm" and order_profiling==0', { | 4946 ['target_arch == "arm" and order_profiling==0', { |
4938 'ldflags': [ | 4947 'ldflags': [ |
4939 # Enable identical code folding to reduce size. | 4948 # Enable identical code folding to reduce size. |
4940 '-Wl,--icf=<(gold_icf_level)', | 4949 '-Wl,--icf=<(gold_icf_level)', |
4941 ], | 4950 ], |
4942 }], | 4951 }], |
4943 ['target_arch=="ia32"', { | 4952 ['target_arch=="ia32"', { |
4944 # The x86 toolchain currently has problems with stack-protector. | 4953 # The x86 toolchain currently has problems with stack-protector. |
4945 'cflags!': [ | 4954 'cflags!': [ |
4946 '-fstack-protector', | 4955 '-fstack-protector', |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6320 # settings in target dicts. SYMROOT is a special case, because many other | 6329 # settings in target dicts. SYMROOT is a special case, because many other |
6321 # Xcode variables depend on it, including variables such as | 6330 # Xcode variables depend on it, including variables such as |
6322 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6323 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6332 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6324 # files to appear (when present) in the UI as actual files and not red | 6333 # files to appear (when present) in the UI as actual files and not red |
6325 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6334 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6326 # and therefore SYMROOT, needs to be set at the project level. | 6335 # and therefore SYMROOT, needs to be set at the project level. |
6327 'SYMROOT': '<(DEPTH)/xcodebuild', | 6336 'SYMROOT': '<(DEPTH)/xcodebuild', |
6328 }, | 6337 }, |
6329 } | 6338 } |
OLD | NEW |