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

Side by Side Diff: build/common.gypi

Issue 2001523002: GYP changes for arm64 linux build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments related to disabling nacl and tcmalloc in GN files. Created 4 years, 6 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/allocator.gni » ('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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 }], 296 }],
297 297
298 # The system root for linux builds. 298 # The system root for linux builds.
299 ['OS=="linux" and chromeos==0 and use_sysroot==1', { 299 ['OS=="linux" and chromeos==0 and use_sysroot==1', {
300 # sysroot needs to be an absolute path otherwise it generates 300 # sysroot needs to be an absolute path otherwise it generates
301 # incorrect results when passed to pkg-config 301 # incorrect results when passed to pkg-config
302 'conditions': [ 302 'conditions': [
303 ['target_arch=="arm"', { 303 ['target_arch=="arm"', {
304 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', 304 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot',
305 }], 305 }],
306 ['target_arch=="arm64"', {
307 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_jessie _arm64-sysroot',
308 }],
306 ['target_arch=="x64"', { 309 ['target_arch=="x64"', {
307 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', 310 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot',
308 }], 311 }],
309 ['target_arch=="ia32"', { 312 ['target_arch=="ia32"', {
310 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _i386-sysroot', 313 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _i386-sysroot',
311 }], 314 }],
312 ['target_arch=="mipsel"', { 315 ['target_arch=="mipsel"', {
313 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _mips-sysroot', 316 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _mips-sysroot',
314 }], 317 }],
315 ], 318 ],
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 }], 1881 }],
1879 # TODO(dalecurtis): What audio codecs does Chromecast want here? Sort 1882 # TODO(dalecurtis): What audio codecs does Chromecast want here? Sort
1880 # out and add configs if necessary. http://crbug.com/570754 1883 # out and add configs if necessary. http://crbug.com/570754
1881 ['OS!="android"', { 1884 ['OS!="android"', {
1882 'ffmpeg_branding%': 'ChromeOS', 1885 'ffmpeg_branding%': 'ChromeOS',
1883 }], 1886 }],
1884 ], 1887 ],
1885 }], 1888 }],
1886 ['OS=="linux"', { 1889 ['OS=="linux"', {
1887 'clang%': 1, 1890 'clang%': 1,
1891 'conditions': [
1892 ['target_arch=="arm64"', {
1893 # Temporarily disable nacl and tcmalloc on arm64 linux to get
1894 # rid of compilation errors.
1895 'disable_nacl%': 1,
1896 'use_allocator%': 'none',
1897 }],
1898 ],
1888 }], # OS=="mac" 1899 }], # OS=="mac"
1889 ['OS=="mac"', { 1900 ['OS=="mac"', {
1890 'conditions': [ 1901 'conditions': [
1891 # All Chrome builds have breakpad symbols, but only process the 1902 # All Chrome builds have breakpad symbols, but only process the
1892 # symbols from official builds. 1903 # symbols from official builds.
1893 ['(branding=="Chrome" and buildtype=="Official")', { 1904 ['(branding=="Chrome" and buildtype=="Official")', {
1894 'mac_strip_release%': 1, 1905 'mac_strip_release%': 1,
1895 }], 1906 }],
1896 ], 1907 ],
1897 }], # OS=="mac" 1908 }], # OS=="mac"
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
4101 }], 4112 }],
4102 ['target_arch=="arm64"', { 4113 ['target_arch=="arm64"', {
4103 'target_conditions': [ 4114 'target_conditions': [
4104 ['_toolset=="target"', { 4115 ['_toolset=="target"', {
4105 'conditions': [ 4116 'conditions': [
4106 ['OS=="android"', { 4117 ['OS=="android"', {
4107 'cflags!': [ 4118 'cflags!': [
4108 '-fstack-protector', # stack protector is always enabled on arm64. 4119 '-fstack-protector', # stack protector is always enabled on arm64.
4109 ], 4120 ],
4110 }], 4121 }],
4122 ['clang==1 and arm_arch!="" and OS!="android"', {
4123 'cflags': [
4124 '-target aarch64-linux-gnu',
4125 ],
4126 'ldflags': [
4127 '-target aarch64-linux-gnu',
4128 ],
4129 }],
4111 ], 4130 ],
4112 }], 4131 }],
4113 ], 4132 ],
4114 }], 4133 }],
4115 ['target_arch=="mipsel"', { 4134 ['target_arch=="mipsel"', {
4116 'target_conditions': [ 4135 'target_conditions': [
4117 ['_toolset=="target"', { 4136 ['_toolset=="target"', {
4118 'conditions': [ 4137 'conditions': [
4119 ['mips_arch_variant=="r6"', { 4138 ['mips_arch_variant=="r6"', {
4120 'conditions': [ 4139 'conditions': [
(...skipping 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after
6326 # settings in target dicts. SYMROOT is a special case, because many other 6345 # settings in target dicts. SYMROOT is a special case, because many other
6327 # Xcode variables depend on it, including variables such as 6346 # Xcode variables depend on it, including variables such as
6328 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6347 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6329 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6348 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6330 # files to appear (when present) in the UI as actual files and not red 6349 # files to appear (when present) in the UI as actual files and not red
6331 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6350 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6332 # and therefore SYMROOT, needs to be set at the project level. 6351 # and therefore SYMROOT, needs to be set at the project level.
6333 'SYMROOT': '<(DEPTH)/xcodebuild', 6352 'SYMROOT': '<(DEPTH)/xcodebuild',
6334 }, 6353 },
6335 } 6354 }
OLDNEW
« no previous file with comments | « no previous file | build/config/allocator.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698