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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 }], | 663 }], |
664 ], | 664 ], |
665 'cflags': [ | 665 'cflags': [ |
666 '-m32', | 666 '-m32', |
667 ], | 667 ], |
668 'ldflags': [ | 668 'ldflags': [ |
669 '-m32', | 669 '-m32', |
670 ], | 670 ], |
671 }], | 671 }], |
672 ['target_arch=="arm"', { | 672 ['target_arch=="arm"', { |
673 'target_conditions': [ | 673 'conditions': [ |
674 ['armv7==1 and _toolset=="target"', { | 674 ['armv7==1', { |
675 'cflags': [ | 675 'target_conditions': [ |
676 '-march=armv7-a', | 676 ['_toolset=="target"', { |
677 '-mtune=cortex-a8', | 677 'cflags': [ |
678 '-mfpu=neon', | 678 '-march=armv7-a', |
679 '-mfloat-abi=softfp', | 679 '-mtune=cortex-a8', |
| 680 '-mfpu=neon', |
| 681 '-mfloat-abi=softfp', |
| 682 ], |
| 683 }], |
680 ], | 684 ], |
681 }], | 685 }], |
682 ], | 686 ], |
683 }], | 687 }], |
684 ['sysroot!=""', { | 688 ['sysroot!=""', { |
685 'target_conditions': [ | 689 'target_conditions': [ |
686 ['_toolset=="target"', { | 690 ['_toolset=="target"', { |
687 'cflags': [ | 691 'cflags': [ |
688 '--sysroot=<(sysroot)', | 692 '--sysroot=<(sysroot)', |
689 ], | 693 ], |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 # and therefore SYMROOT, needs to be set at the project level. | 964 # and therefore SYMROOT, needs to be set at the project level. |
961 'SYMROOT': '<(DEPTH)/xcodebuild', | 965 'SYMROOT': '<(DEPTH)/xcodebuild', |
962 }, | 966 }, |
963 } | 967 } |
964 | 968 |
965 # Local Variables: | 969 # Local Variables: |
966 # tab-width:2 | 970 # tab-width:2 |
967 # indent-tabs-mode:nil | 971 # indent-tabs-mode:nil |
968 # End: | 972 # End: |
969 # vim: set expandtab tabstop=2 shiftwidth=2: | 973 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |