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

Side by Side Diff: build/common.gypi

Issue 9816003: GYP build for ARM untrusted runtime. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 [ 'target_arch=="arm"', { 291 [ 'target_arch=="arm"', {
292 'cflags': [ 292 'cflags': [
293 '-Wno-abi', 293 '-Wno-abi',
294 '-march=armv7-a', 294 '-march=armv7-a',
295 '-mtune=cortex-a8', 295 '-mtune=cortex-a8',
296 '-mfpu=neon', 296 '-mfpu=neon',
297 '-mfloat-abi=softfp', 297 '-mfloat-abi=softfp',
298 '-fno-exceptions', 298 '-fno-exceptions',
299 '-Wall', 299 '-Wall',
300 '-fPIC', 300 '-fPIC',
301 '--sysroot=<(sysroot)',
Mark Seaborn 2012/03/22 17:13:21 This is for building trusted code, right? Why thi
Nikolay 2012/03/23 11:35:20 Trusted code builds on ARM for me otherwise. From
Nikolay 2012/03/26 13:29:56 Yep, I meant it doesn't. Maybe on buildbots openss
301 ], 302 ],
302 'cflags_cc': [ 303 'cflags_cc': [
303 '--sysroot=<(sysroot)', 304 '--sysroot=<(sysroot)',
304 ], 305 ],
305 'ldflags': [ 306 'ldflags': [
306 '--sysroot=<(sysroot)', 307 '--sysroot=<(sysroot)',
307 ], 308 ],
308 }, { # else: target_arch != "arm" 309 }, { # else: target_arch != "arm"
309 'conditions': [ 310 'conditions': [
310 ['target_arch=="x64"', { 311 ['target_arch=="x64"', {
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 800 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
800 # files to appear (when present) in the UI as actual files and not red 801 # files to appear (when present) in the UI as actual files and not red
801 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 802 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
802 # and therefore SYMROOT, needs to be set at the project level. 803 # and therefore SYMROOT, needs to be set at the project level.
803 'SYMROOT': '<(DEPTH)/xcodebuild', 804 'SYMROOT': '<(DEPTH)/xcodebuild',
804 }, 805 },
805 'includes': [ 806 'includes': [
806 'untrusted.gypi', 807 'untrusted.gypi',
807 ], 808 ],
808 } 809 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698