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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 # Set to 1 to link against gsettings APIs instead of using dlopen(). | 718 # Set to 1 to link against gsettings APIs instead of using dlopen(). |
719 'linux_link_gsettings%': 0, | 719 'linux_link_gsettings%': 0, |
720 | 720 |
721 # Set Thumb compilation flags. | 721 # Set Thumb compilation flags. |
722 'arm_thumb%': 0, | 722 'arm_thumb%': 0, |
723 | 723 |
724 # Set ARM fpu compilation flags (only meaningful if armv7==1 and | 724 # Set ARM fpu compilation flags (only meaningful if armv7==1 and |
725 # arm_neon==0). | 725 # arm_neon==0). |
726 'arm_fpu%': 'vfpv3', | 726 'arm_fpu%': 'vfpv3', |
727 | 727 |
| 728 # Set ARM float abi compilation flag. |
| 729 'arm_float_abi%': 'softfp', |
| 730 |
728 # Enable new NPDevice API. | 731 # Enable new NPDevice API. |
729 'enable_new_npdevice_api%': 0, | 732 'enable_new_npdevice_api%': 0, |
730 | 733 |
731 # Enable EGLImage support in OpenMAX | 734 # Enable EGLImage support in OpenMAX |
732 'enable_eglimage%': 1, | 735 'enable_eglimage%': 1, |
733 | 736 |
734 # Enable a variable used elsewhere throughout the GYP files to determine | 737 # Enable a variable used elsewhere throughout the GYP files to determine |
735 # whether to compile in the sources for the GPU plugin / process. | 738 # whether to compile in the sources for the GPU plugin / process. |
736 'enable_gpu%': 1, | 739 'enable_gpu%': 1, |
737 | 740 |
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2068 'conditions': [ | 2071 'conditions': [ |
2069 ['arm_thumb==1', { | 2072 ['arm_thumb==1', { |
2070 'cflags': [ | 2073 'cflags': [ |
2071 '-mthumb', | 2074 '-mthumb', |
2072 ] | 2075 ] |
2073 }], | 2076 }], |
2074 ['armv7==1', { | 2077 ['armv7==1', { |
2075 'cflags': [ | 2078 'cflags': [ |
2076 '-march=armv7-a', | 2079 '-march=armv7-a', |
2077 '-mtune=cortex-a8', | 2080 '-mtune=cortex-a8', |
2078 '-mfloat-abi=softfp', | 2081 '-mfloat-abi=<(arm_float_abi)', |
2079 ], | 2082 ], |
2080 'conditions': [ | 2083 'conditions': [ |
2081 ['arm_neon==1', { | 2084 ['arm_neon==1', { |
2082 'cflags': [ '-mfpu=neon', ], | 2085 'cflags': [ '-mfpu=neon', ], |
2083 }, { | 2086 }, { |
2084 'cflags': [ '-mfpu=<(arm_fpu)', ], | 2087 'cflags': [ '-mfpu=<(arm_fpu)', ], |
2085 }] | 2088 }] |
2086 ], | 2089 ], |
2087 }], | 2090 }], |
2088 ['OS=="android"', { | 2091 ['OS=="android"', { |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3062 # settings in target dicts. SYMROOT is a special case, because many other | 3065 # settings in target dicts. SYMROOT is a special case, because many other |
3063 # Xcode variables depend on it, including variables such as | 3066 # Xcode variables depend on it, including variables such as |
3064 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3067 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3065 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3068 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3066 # files to appear (when present) in the UI as actual files and not red | 3069 # files to appear (when present) in the UI as actual files and not red |
3067 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3070 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3068 # and therefore SYMROOT, needs to be set at the project level. | 3071 # and therefore SYMROOT, needs to be set at the project level. |
3069 'SYMROOT': '<(DEPTH)/xcodebuild', | 3072 'SYMROOT': '<(DEPTH)/xcodebuild', |
3070 }, | 3073 }, |
3071 } | 3074 } |
OLD | NEW |