OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 3685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3696 ], | 3696 ], |
3697 'ldflags': [ | 3697 'ldflags': [ |
3698 '-m64', | 3698 '-m64', |
3699 ], | 3699 ], |
3700 }], | 3700 }], |
3701 ], | 3701 ], |
3702 }], | 3702 }], |
3703 ['target_arch=="arm"', { | 3703 ['target_arch=="arm"', { |
3704 'target_conditions': [ | 3704 'target_conditions': [ |
3705 ['_toolset=="target"', { | 3705 ['_toolset=="target"', { |
3706 'cflags_cc': [ | |
3707 # The codesourcery arm-2009q3 toolchain warns at that the ABI | |
3708 # has changed whenever it encounters a varargs function. This | |
3709 # silences those warnings, as they are not helpful and | |
3710 # clutter legitimate warnings. | |
3711 '-Wno-abi', | |
3712 ], | |
3713 'conditions': [ | 3706 'conditions': [ |
3707 ['clang==0', { | |
3708 'cflags_cc': [ | |
3709 # The codesourcery arm-2009q3 toolchain warns at that the ABI | |
3710 # has changed whenever it encounters a varargs function. T his | |
3711 # silences those warnings, as they are not helpful and | |
3712 # clutter legitimate warnings. | |
3713 '-Wno-abi', | |
3714 ], | |
3715 }], | |
3716 ['clang==1 and arm_arch!=""', { | |
3717 'cflags': [ | |
3718 '-target arm-linux-gnueabihf', | |
3719 # TODO(sbc): Remove this once the warning in libvpx is fix ed: | |
3720 # https://code.google.com/p/webm/issues/detail?id=829 | |
3721 '-Wno-absolute-value', | |
Nico
2014/08/08 15:28:44
nit: Normally, this should go into libvpx.gyp inst
| |
3722 ], | |
3723 'ldflags': [ | |
3724 '-target arm-linux-gnueabihf', | |
3725 ], | |
3726 }], | |
3714 ['arm_arch!=""', { | 3727 ['arm_arch!=""', { |
3715 'cflags': [ | 3728 'cflags': [ |
3716 '-march=<(arm_arch)', | 3729 '-march=<(arm_arch)', |
3717 ], | 3730 ], |
3718 }], | 3731 }], |
3732 ['clang==1', { | |
3733 'cflags': [ | |
3734 # We need to disable clang's builtin assember as it can't | |
3735 # handle a several of asm files. | |
Nico
2014/08/08 15:28:44
Include link to http://crbug.com/124610 (the bug t
| |
3736 '-no-integrated-as', | |
3737 ], | |
3738 }], | |
3719 ['arm_tune!=""', { | 3739 ['arm_tune!=""', { |
3720 'cflags': [ | 3740 'cflags': [ |
3721 '-mtune=<(arm_tune)', | 3741 '-mtune=<(arm_tune)', |
3722 ], | 3742 ], |
3723 }], | 3743 }], |
3724 ['arm_fpu!=""', { | 3744 ['arm_fpu!=""', { |
3725 'cflags': [ | 3745 'cflags': [ |
3726 '-mfpu=<(arm_fpu)', | 3746 '-mfpu=<(arm_fpu)', |
3727 ], | 3747 ], |
3728 }], | 3748 }], |
(...skipping 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5680 # settings in target dicts. SYMROOT is a special case, because many other | 5700 # settings in target dicts. SYMROOT is a special case, because many other |
5681 # Xcode variables depend on it, including variables such as | 5701 # Xcode variables depend on it, including variables such as |
5682 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5702 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5683 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5703 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5684 # files to appear (when present) in the UI as actual files and not red | 5704 # files to appear (when present) in the UI as actual files and not red |
5685 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5705 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5686 # and therefore SYMROOT, needs to be set at the project level. | 5706 # and therefore SYMROOT, needs to be set at the project level. |
5687 'SYMROOT': '<(DEPTH)/xcodebuild', | 5707 'SYMROOT': '<(DEPTH)/xcodebuild', |
5688 }, | 5708 }, |
5689 } | 5709 } |
OLD | NEW |