OLD | NEW |
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 Loading... |
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)', |
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 Loading... |
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 } |
OLD | NEW |