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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 [ 'OS=="win" or OS=="mac"', { | 56 [ 'OS=="win" or OS=="mac"', { |
57 'host_arch%': 'ia32', | 57 'host_arch%': 'ia32', |
58 }, { | 58 }, { |
59 # This handles the Unix platforms for which there is some support. | 59 # This handles the Unix platforms for which there is some support. |
60 # Anything else gets passed through, which probably won't work very | 60 # Anything else gets passed through, which probably won't work very |
61 # well; such hosts should pass an explicit target_arch to gyp. | 61 # well; such hosts should pass an explicit target_arch to gyp. |
62 'host_arch%': | 62 'host_arch%': |
63 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', | 63 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', |
64 }], | 64 }], |
65 | 65 |
66 # Non-GTK Chromeos implies ash. | 66 # Chromeos implies ash. |
67 ['chromeos==1', { | 67 ['chromeos==1', { |
68 'use_ash%': 1, | 68 'use_ash%': 1, |
69 'use_aura%': 1, | 69 'use_aura%': 1, |
70 }], | 70 }], |
71 | 71 |
72 # For now, Windows *AND* Linux builds that |use_aura| should also | 72 # For now, Windows *AND* Linux builds that |use_aura| should also |
73 # imply using ash. This rule should be removed for the future when | 73 # imply using ash. This rule should be removed for the future when |
74 # both Linux and Windows are using the aura windows without the ash | 74 # both Linux and Windows are using the aura windows without the ash |
75 # interface. | 75 # interface. |
76 ['use_aura==1 and ((OS=="linux" and chromeos==0) or OS=="win")', { | 76 ['use_aura==1 and ((OS=="linux" and chromeos==0) or OS=="win")', { |
(...skipping 2848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2925 # settings in target dicts. SYMROOT is a special case, because many other | 2925 # settings in target dicts. SYMROOT is a special case, because many other |
2926 # Xcode variables depend on it, including variables such as | 2926 # Xcode variables depend on it, including variables such as |
2927 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2927 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2928 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2928 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2929 # files to appear (when present) in the UI as actual files and not red | 2929 # files to appear (when present) in the UI as actual files and not red |
2930 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2930 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2931 # and therefore SYMROOT, needs to be set at the project level. | 2931 # and therefore SYMROOT, needs to be set at the project level. |
2932 'SYMROOT': '<(DEPTH)/xcodebuild', | 2932 'SYMROOT': '<(DEPTH)/xcodebuild', |
2933 }, | 2933 }, |
2934 } | 2934 } |
OLD | NEW |