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 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 ['chromeos==1 and disable_sse2==0', { | 2030 ['chromeos==1 and disable_sse2==0', { |
2031 'cflags': [ | 2031 'cflags': [ |
2032 '-msse2', | 2032 '-msse2', |
2033 ], | 2033 ], |
2034 }], | 2034 }], |
2035 # Install packages have started cropping up with | 2035 # Install packages have started cropping up with |
2036 # different headers between the 32-bit and 64-bit | 2036 # different headers between the 32-bit and 64-bit |
2037 # versions, so we have to shadow those differences off | 2037 # versions, so we have to shadow those differences off |
2038 # and make sure a 32-bit-on-64-bit build picks up the | 2038 # and make sure a 32-bit-on-64-bit build picks up the |
2039 # right files. | 2039 # right files. |
2040 ['host_arch!="ia32"', { | 2040 # For android build, use NDK headers instead of host headers |
| 2041 ['host_arch!="ia32" and OS!="android"', { |
2041 'include_dirs+': [ | 2042 'include_dirs+': [ |
2042 '/usr/include32', | 2043 '/usr/include32', |
2043 ], | 2044 ], |
2044 }], | 2045 }], |
2045 ], | 2046 ], |
2046 # -mmmx allows mmintrin.h to be used for mmx intrinsics. | 2047 # -mmmx allows mmintrin.h to be used for mmx intrinsics. |
2047 # video playback is mmx and sse2 optimized. | 2048 # video playback is mmx and sse2 optimized. |
2048 'cflags': [ | 2049 'cflags': [ |
2049 '-m32', | 2050 '-m32', |
2050 '-mmmx', | 2051 '-mmmx', |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3062 # settings in target dicts. SYMROOT is a special case, because many other | 3063 # settings in target dicts. SYMROOT is a special case, because many other |
3063 # Xcode variables depend on it, including variables such as | 3064 # Xcode variables depend on it, including variables such as |
3064 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3065 # 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 | 3066 # 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 | 3067 # 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, | 3068 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3068 # and therefore SYMROOT, needs to be set at the project level. | 3069 # and therefore SYMROOT, needs to be set at the project level. |
3069 'SYMROOT': '<(DEPTH)/xcodebuild', | 3070 'SYMROOT': '<(DEPTH)/xcodebuild', |
3070 }, | 3071 }, |
3071 } | 3072 } |
OLD | NEW |