OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 }, | 353 }, |
354 'profile': { | 354 'profile': { |
355 'cflags': ['-pg', '-g'], | 355 'cflags': ['-pg', '-g'], |
356 'ldflags': ['-pg'], | 356 'ldflags': ['-pg'], |
357 }, | 357 }, |
358 'symbols': { | 358 'symbols': { |
359 'cflags': ['-g'], | 359 'cflags': ['-g'], |
360 }, | 360 }, |
361 }, | 361 }, |
362 'conditions': [ | 362 'conditions': [ |
363 [ 'target_arch!="arm"', { | 363 [ 'target_arch=="ia32"', { |
364 'asflags': [ | 364 'asflags': [ |
365 # Needed so that libs with .s files (e.g. libicudata.a) | 365 # Needed so that libs with .s files (e.g. libicudata.a) |
366 # are compatible with the general 32-bit-ness. | 366 # are compatible with the general 32-bit-ness. |
367 '-32', | 367 '-32', |
368 ], | 368 ], |
369 # All floating-point computations on x87 happens in 80-bit | 369 # All floating-point computations on x87 happens in 80-bit |
370 # precision. Because the C and C++ language standards allow | 370 # precision. Because the C and C++ language standards allow |
371 # the compiler to keep the floating-point values in higher | 371 # the compiler to keep the floating-point values in higher |
372 # precision than what's specified in the source and doing so | 372 # precision than what's specified in the source and doing so |
373 # is more efficient than constantly rounding up to 64-bit or | 373 # is more efficient than constantly rounding up to 64-bit or |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 # settings in target dicts. SYMROOT is a special case, because many other | 609 # settings in target dicts. SYMROOT is a special case, because many other |
610 # Xcode variables depend on it, including variables such as | 610 # Xcode variables depend on it, including variables such as |
611 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 611 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
612 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 612 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
613 # files to appear (when present) in the UI as actual files and not red | 613 # files to appear (when present) in the UI as actual files and not red |
614 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 614 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
615 # and therefore SYMROOT, needs to be set at the project level. | 615 # and therefore SYMROOT, needs to be set at the project level. |
616 'SYMROOT': '<(DEPTH)/xcodebuild', | 616 'SYMROOT': '<(DEPTH)/xcodebuild', |
617 }, | 617 }, |
618 } | 618 } |
OLD | NEW |