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

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: Created 4 years, 7 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 | third_party/libwebp/README.chromium » ('j') | third_party/libwebp/libwebp.gyp » ('J')
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 }], 306 }],
307 307
308 # The system root for linux builds. 308 # The system root for linux builds.
309 ['OS=="linux" and chromeos==0 and use_sysroot==1', { 309 ['OS=="linux" and chromeos==0 and use_sysroot==1', {
310 # sysroot needs to be an absolute path otherwise it generates 310 # sysroot needs to be an absolute path otherwise it generates
311 # incorrect results when passed to pkg-config 311 # incorrect results when passed to pkg-config
312 'conditions': [ 312 'conditions': [
313 ['target_arch=="arm"', { 313 ['target_arch=="arm"', {
314 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', 314 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot',
315 }], 315 }],
316 ['target_arch=="arm64"', {
317 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_jessie _arm64-sysroot',
318 }],
316 ['target_arch=="x64"', { 319 ['target_arch=="x64"', {
317 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', 320 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot',
318 }], 321 }],
319 ['target_arch=="ia32"', { 322 ['target_arch=="ia32"', {
320 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _i386-sysroot', 323 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _i386-sysroot',
321 }], 324 }],
322 ['target_arch=="mipsel"', { 325 ['target_arch=="mipsel"', {
323 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _mips-sysroot', 326 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _mips-sysroot',
324 }], 327 }],
325 ], 328 ],
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 }], 1891 }],
1889 # TODO(dalecurtis): What audio codecs does Chromecast want here? Sort 1892 # TODO(dalecurtis): What audio codecs does Chromecast want here? Sort
1890 # out and add configs if necessary. http://crbug.com/570754 1893 # out and add configs if necessary. http://crbug.com/570754
1891 ['OS!="android"', { 1894 ['OS!="android"', {
1892 'ffmpeg_branding%': 'ChromeOS', 1895 'ffmpeg_branding%': 'ChromeOS',
1893 }], 1896 }],
1894 ], 1897 ],
1895 }], 1898 }],
1896 ['OS=="linux"', { 1899 ['OS=="linux"', {
1897 'clang%': 1, 1900 'clang%': 1,
1901 'conditions': [
1902 ['target_arch=="arm64"', {
1903 'disable_nacl%': 1, # Disable Native Client
1904 'use_allocator%': 'none', # Temporarily disable tcmalloc on arm64 li nux to get rid of compilation errors.
1905 }],
1906 ],
1898 }], # OS=="mac" 1907 }], # OS=="mac"
1899 ['OS=="mac"', { 1908 ['OS=="mac"', {
1900 'conditions': [ 1909 'conditions': [
1901 # All Chrome builds have breakpad symbols, but only process the 1910 # All Chrome builds have breakpad symbols, but only process the
1902 # symbols from official builds. 1911 # symbols from official builds.
1903 ['(branding=="Chrome" and buildtype=="Official")', { 1912 ['(branding=="Chrome" and buildtype=="Official")', {
1904 'mac_strip_release%': 1, 1913 'mac_strip_release%': 1,
1905 }], 1914 }],
1906 ], 1915 ],
1907 }], # OS=="mac" 1916 }], # OS=="mac"
(...skipping 2211 matching lines...) Expand 10 before | Expand all | Expand 10 after
4119 }], 4128 }],
4120 ['target_arch=="arm64"', { 4129 ['target_arch=="arm64"', {
4121 'target_conditions': [ 4130 'target_conditions': [
4122 ['_toolset=="target"', { 4131 ['_toolset=="target"', {
4123 'conditions': [ 4132 'conditions': [
4124 ['OS=="android"', { 4133 ['OS=="android"', {
4125 'cflags!': [ 4134 'cflags!': [
4126 '-fstack-protector', # stack protector is always enabled on arm64. 4135 '-fstack-protector', # stack protector is always enabled on arm64.
4127 ], 4136 ],
4128 }], 4137 }],
4138 ['clang==1 and arm_arch!="" and OS!="android"', {
4139 'cflags': [
4140 '-target aarch64-linux-gnu',
4141 ],
4142 'ldflags': [
4143 '-target aarch64-linux-gnu',
4144 ],
4145 }],
4129 ], 4146 ],
4130 }], 4147 }],
4131 ], 4148 ],
4132 }], 4149 }],
4133 ['target_arch=="mipsel"', { 4150 ['target_arch=="mipsel"', {
4134 'target_conditions': [ 4151 'target_conditions': [
4135 ['_toolset=="target"', { 4152 ['_toolset=="target"', {
4136 'conditions': [ 4153 'conditions': [
4137 ['mips_arch_variant=="r6"', { 4154 ['mips_arch_variant=="r6"', {
4138 'conditions': [ 4155 'conditions': [
(...skipping 2173 matching lines...) Expand 10 before | Expand all | Expand 10 after
6312 # 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
6313 # Xcode variables depend on it, including variables such as 6330 # Xcode variables depend on it, including variables such as
6314 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6315 # 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
6316 # 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
6317 # 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,
6318 # and therefore SYMROOT, needs to be set at the project level. 6335 # and therefore SYMROOT, needs to be set at the project level.
6319 'SYMROOT': '<(DEPTH)/xcodebuild', 6336 'SYMROOT': '<(DEPTH)/xcodebuild',
6320 }, 6337 },
6321 } 6338 }
OLDNEW
« no previous file with comments | « no previous file | third_party/libwebp/README.chromium » ('j') | third_party/libwebp/libwebp.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698