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

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 ],
302 'cflags_cc': [
Mark Seaborn 2012/03/28 07:21:02 I would still prefer if you did trusted-code Gyp c
Nikolay 2012/03/28 13:24:23 OK, will make it separate CL, see https://chromium
303 '--sysroot=<(sysroot)', 301 '--sysroot=<(sysroot)',
304 ], 302 ],
305 'ldflags': [ 303 'ldflags': [
306 '--sysroot=<(sysroot)', 304 '--sysroot=<(sysroot)',
307 ], 305 ],
308 }, { # else: target_arch != "arm" 306 }, { # else: target_arch != "arm"
309 'conditions': [ 307 'conditions': [
310 ['target_arch=="x64"', { 308 ['target_arch=="x64"', {
311 'variables': { 309 'variables': {
312 'mbits_flag': '-m64', 310 'mbits_flag': '-m64',
(...skipping 486 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 797 # 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 798 # 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, 799 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
802 # and therefore SYMROOT, needs to be set at the project level. 800 # and therefore SYMROOT, needs to be set at the project level.
803 'SYMROOT': '<(DEPTH)/xcodebuild', 801 'SYMROOT': '<(DEPTH)/xcodebuild',
804 }, 802 },
805 'includes': [ 803 'includes': [
806 'untrusted.gypi', 804 'untrusted.gypi',
807 ], 805 ],
808 } 806 }
OLDNEW
« build/build_nexe.py ('K') | « build/build_nexe.py ('k') | build/untrusted.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698