| 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 }], | 660 }], |
| 661 ], | 661 ], |
| 662 'cflags': [ | 662 'cflags': [ |
| 663 '-m32', | 663 '-m32', |
| 664 ], | 664 ], |
| 665 'ldflags': [ | 665 'ldflags': [ |
| 666 '-m32', | 666 '-m32', |
| 667 ], | 667 ], |
| 668 }], | 668 }], |
| 669 ['target_arch=="arm"', { | 669 ['target_arch=="arm"', { |
| 670 'conditions': [ | 670 'target_conditions': [ |
| 671 ['armv7==1', { | 671 ['armv7==1 and _toolset=="target"', { |
| 672 'cflags': [ | 672 'cflags': [ |
| 673 '-march=armv7-a', | 673 '-march=armv7-a', |
| 674 '-mtune=cortex-a8', | 674 '-mtune=cortex-a8', |
| 675 '-mfpu=neon', | 675 '-mfpu=neon', |
| 676 '-mfloat-abi=softfp', | 676 '-mfloat-abi=softfp', |
| 677 ], | 677 ], |
| 678 }], | 678 }], |
| 679 ], | 679 ], |
| 680 }], | 680 }], |
| 681 ['sysroot!=""', { | 681 ['sysroot!=""', { |
| 682 'cflags': [ | 682 'target_conditions': [ |
| 683 '--sysroot=<(sysroot)', | 683 ['_toolset=="target"', { |
| 684 ], | 684 'cflags': [ |
| 685 'ldflags': [ | 685 '--sysroot=<(sysroot)', |
| 686 '--sysroot=<(sysroot)', | 686 ], |
| 687 ], | 687 'ldflags': [ |
| 688 '--sysroot=<(sysroot)', |
| 689 ], |
| 690 }]] |
| 688 }], | 691 }], |
| 689 ['no_strict_aliasing==1', { | 692 ['no_strict_aliasing==1', { |
| 690 'cflags': [ | 693 'cflags': [ |
| 691 '-fno-strict-aliasing', | 694 '-fno-strict-aliasing', |
| 692 ], | 695 ], |
| 693 }], | 696 }], |
| 694 ['linux_breakpad==1', { | 697 ['linux_breakpad==1', { |
| 695 'cflags': [ '-gstabs' ], | 698 'cflags': [ '-gstabs' ], |
| 696 'defines': ['USE_LINUX_BREAKPAD'], | 699 'defines': ['USE_LINUX_BREAKPAD'], |
| 697 }], | 700 }], |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 # and therefore SYMROOT, needs to be set at the project level. | 938 # and therefore SYMROOT, needs to be set at the project level. |
| 936 'SYMROOT': '<(DEPTH)/xcodebuild', | 939 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 937 }, | 940 }, |
| 938 } | 941 } |
| 939 | 942 |
| 940 # Local Variables: | 943 # Local Variables: |
| 941 # tab-width:2 | 944 # tab-width:2 |
| 942 # indent-tabs-mode:nil | 945 # indent-tabs-mode:nil |
| 943 # End: | 946 # End: |
| 944 # vim: set expandtab tabstop=2 shiftwidth=2: | 947 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |