| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 ], | 507 ], |
| 508 }], | 508 }], |
| 509 ], | 509 ], |
| 510 'cflags': [ | 510 'cflags': [ |
| 511 '-m32', | 511 '-m32', |
| 512 ], | 512 ], |
| 513 'ldflags': [ | 513 'ldflags': [ |
| 514 '-m32', | 514 '-m32', |
| 515 ], | 515 ], |
| 516 }], | 516 }], |
| 517 ['target_arch=="arm"', { |
| 518 'conditions': [ |
| 519 ['chromeos==1', { |
| 520 'cflags': [ |
| 521 '-march=armv7-a', |
| 522 '-mtune=cortex-a8', |
| 523 '-mfpu=vfp', |
| 524 '-mfloat-abi=softfp', |
| 525 ], |
| 526 }], |
| 527 ], |
| 528 }], |
| 517 ], | 529 ], |
| 518 }, | 530 }, |
| 519 }], | 531 }], |
| 520 ['OS=="mac"', { | 532 ['OS=="mac"', { |
| 521 'target_defaults': { | 533 'target_defaults': { |
| 522 'variables': { | 534 'variables': { |
| 523 # This should be 'mac_real_dsym%', but there seems to be a bug | 535 # This should be 'mac_real_dsym%', but there seems to be a bug |
| 524 # with % in variables that are intended to be set to different | 536 # with % in variables that are intended to be set to different |
| 525 # values in different targets, like this one. | 537 # values in different targets, like this one. |
| 526 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. | 538 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 # settings in target dicts. SYMROOT is a special case, because many other | 743 # settings in target dicts. SYMROOT is a special case, because many other |
| 732 # Xcode variables depend on it, including variables such as | 744 # Xcode variables depend on it, including variables such as |
| 733 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 745 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 734 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 746 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 735 # files to appear (when present) in the UI as actual files and not red | 747 # files to appear (when present) in the UI as actual files and not red |
| 736 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 748 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 737 # and therefore SYMROOT, needs to be set at the project level. | 749 # and therefore SYMROOT, needs to be set at the project level. |
| 738 'SYMROOT': '<(DEPTH)/xcodebuild', | 750 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 739 }, | 751 }, |
| 740 } | 752 } |
| OLD | NEW |