| 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 ], | |
| 302 'cflags_cc': [ | |
| 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 Loading... |
| 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 } |
| OLD | NEW |