Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: build/common.gypi

Issue 1263213002: Support Android x86 ASan build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4885 matching lines...) Expand 10 before | Expand all | Expand 10 after
4896 # Clang with libc++ does not require an explicit atomic 4896 # Clang with libc++ does not require an explicit atomic
4897 # library reference. 4897 # library reference.
4898 '-latomic', 4898 '-latomic',
4899 ], 4899 ],
4900 'cflags': [ 4900 'cflags': [
4901 # Work around incompatibilities between bionic and clang 4901 # Work around incompatibilities between bionic and clang
4902 # headers. 4902 # headers.
4903 '-D__compiler_offsetof=__builtin_offsetof', 4903 '-D__compiler_offsetof=__builtin_offsetof',
4904 '-Dnan=__builtin_nan', 4904 '-Dnan=__builtin_nan',
4905 ], 4905 ],
4906 'cflags!': [
4907 # Clang does not support the following options.
4908 '-finline-limit=64',
4909 ],
4906 'conditions': [ 4910 'conditions': [
4907 ['target_arch=="arm"', { 4911 ['target_arch=="arm"', {
4908 'cflags': [ 4912 'cflags': [
4909 '-target arm-linux-androideabi', 4913 '-target arm-linux-androideabi',
4910 ], 4914 ],
4911 'ldflags': [ 4915 'ldflags': [
4912 '-target arm-linux-androideabi', 4916 '-target arm-linux-androideabi',
4913 ], 4917 ],
4914 }], 4918 }],
4915 ['target_arch=="ia32"', { 4919 ['target_arch=="ia32"', {
4916 'cflags': [ 4920 'cflags': [
4917 '-target x86-linux-androideabi', 4921 '-target i686-linux-androideabi',
4918 ], 4922 ],
4919 'ldflags': [ 4923 'ldflags': [
4920 '-target x86-linux-androideabi', 4924 '-target i686-linux-androideabi',
4921 ], 4925 ],
4922 }], 4926 }],
4923 # Place holder for x64 support, not tested. 4927 # Place holder for x64 support, not tested.
4924 # TODO: Enable clang support for Android x64. http://crbug.com /346626 4928 # TODO: Enable clang support for Android x64. http://crbug.com /346626
4925 ['target_arch=="x64"', { 4929 ['target_arch=="x64"', {
4926 'cflags': [ 4930 'cflags': [
4927 '-target x86_64-linux-androideabi', 4931 '-target x86_64-linux-androideabi',
4928 ], 4932 ],
4929 'ldflags': [ 4933 'ldflags': [
4930 '-target x86_64-linux-androideabi', 4934 '-target x86_64-linux-androideabi',
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
6294 # settings in target dicts. SYMROOT is a special case, because many other 6298 # settings in target dicts. SYMROOT is a special case, because many other
6295 # Xcode variables depend on it, including variables such as 6299 # Xcode variables depend on it, including variables such as
6296 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6300 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6297 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6301 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6298 # files to appear (when present) in the UI as actual files and not red 6302 # files to appear (when present) in the UI as actual files and not red
6299 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6303 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6300 # and therefore SYMROOT, needs to be set at the project level. 6304 # and therefore SYMROOT, needs to be set at the project level.
6301 'SYMROOT': '<(DEPTH)/xcodebuild', 6305 'SYMROOT': '<(DEPTH)/xcodebuild',
6302 }, 6306 },
6303 } 6307 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698