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 # Ash requires Aura. | 66 # Ash and ChromeOS require Aura. |
67 ['use_ash==1', { | 67 ['use_ash==1 or chromeos==1', { |
68 'use_aura%': 1, | 68 'use_aura%': 1, |
69 }], | 69 }], |
70 | 70 |
71 # Set default value of toolkit_views based on OS. | 71 # Set default value of toolkit_views based on OS. |
72 ['OS=="win" or chromeos==1 or use_aura==1', { | 72 ['OS=="win" or chromeos==1 or use_aura==1', { |
73 'toolkit_views%': 1, | 73 'toolkit_views%': 1, |
74 }, { | 74 }, { |
75 'toolkit_views%': 0, | 75 'toolkit_views%': 0, |
76 }], | 76 }], |
77 ], | 77 ], |
(...skipping 2660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2738 # settings in target dicts. SYMROOT is a special case, because many other | 2738 # settings in target dicts. SYMROOT is a special case, because many other |
2739 # Xcode variables depend on it, including variables such as | 2739 # Xcode variables depend on it, including variables such as |
2740 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2740 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2741 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2741 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2742 # files to appear (when present) in the UI as actual files and not red | 2742 # files to appear (when present) in the UI as actual files and not red |
2743 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2743 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2744 # and therefore SYMROOT, needs to be set at the project level. | 2744 # and therefore SYMROOT, needs to be set at the project level. |
2745 'SYMROOT': '<(DEPTH)/xcodebuild', | 2745 'SYMROOT': '<(DEPTH)/xcodebuild', |
2746 }, | 2746 }, |
2747 } | 2747 } |
OLD | NEW |