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 }], | |
4946 ['target_arch == "arm" and order_profiling==0', { | 4937 ['target_arch == "arm" and order_profiling==0', { |
4947 'ldflags': [ | 4938 'ldflags': [ |
4948 # Enable identical code folding to reduce size. | 4939 # Enable identical code folding to reduce size. |
4949 '-Wl,--icf=<(gold_icf_level)', | 4940 '-Wl,--icf=<(gold_icf_level)', |
4950 ], | 4941 ], |
4951 }], | 4942 }], |
4952 ['target_arch=="ia32"', { | 4943 ['target_arch=="ia32"', { |
4953 # The x86 toolchain currently has problems with stack-protector. | 4944 # The x86 toolchain currently has problems with stack-protector. |
4954 'cflags!': [ | 4945 'cflags!': [ |
4955 '-fstack-protector', | 4946 '-fstack-protector', |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6329 # settings in target dicts. SYMROOT is a special case, because many other | 6320 # settings in target dicts. SYMROOT is a special case, because many other |
6330 # Xcode variables depend on it, including variables such as | 6321 # Xcode variables depend on it, including variables such as |
6331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6322 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6332 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6323 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6333 # files to appear (when present) in the UI as actual files and not red | 6324 # files to appear (when present) in the UI as actual files and not red |
6334 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6325 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6335 # and therefore SYMROOT, needs to be set at the project level. | 6326 # and therefore SYMROOT, needs to be set at the project level. |
6336 'SYMROOT': '<(DEPTH)/xcodebuild', | 6327 'SYMROOT': '<(DEPTH)/xcodebuild', |
6337 }, | 6328 }, |
6338 } | 6329 } |
OLD | NEW |