OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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': { | 9 'variables': { |
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
(...skipping 20 matching lines...) Expand all Loading... |
31 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 31 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
32 # conversion is done), some of the things which are now controlled by | 32 # conversion is done), some of the things which are now controlled by |
33 # 'branding', such as symbol generation, will need to be refactored based | 33 # 'branding', such as symbol generation, will need to be refactored based |
34 # on 'buildtype' (i.e. we don't care about saving symbols for non-Official | 34 # on 'buildtype' (i.e. we don't care about saving symbols for non-Official |
35 # builds). | 35 # builds). |
36 'buildtype%': 'Dev', | 36 'buildtype%': 'Dev', |
37 | 37 |
38 'variables': { | 38 'variables': { |
39 # Compute the architecture that we're building on. | 39 # Compute the architecture that we're building on. |
40 'conditions': [ | 40 'conditions': [ |
41 [ 'OS=="linux" or OS=="freebsd"', { | 41 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
42 # This handles the Linux platforms we generally deal with. Anything | 42 # This handles the Linux platforms we generally deal with. Anything |
43 # else gets passed through, which probably won't work very well; suc
h | 43 # else gets passed through, which probably won't work very well; suc
h |
44 # hosts should pass an explicit target_arch to gyp. | 44 # hosts should pass an explicit target_arch to gyp. |
45 'host_arch%': | 45 'host_arch%': |
46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/")', | 46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/")', |
47 }, { # OS!="linux" | 47 }, { # OS!="linux" |
48 'host_arch%': 'ia32', | 48 'host_arch%': 'ia32', |
49 }], | 49 }], |
50 ], | 50 ], |
51 }, | 51 }, |
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 # and therefore SYMROOT, needs to be set at the project level. | 1160 # and therefore SYMROOT, needs to be set at the project level. |
1161 'SYMROOT': '<(DEPTH)/xcodebuild', | 1161 'SYMROOT': '<(DEPTH)/xcodebuild', |
1162 }, | 1162 }, |
1163 } | 1163 } |
1164 | 1164 |
1165 # Local Variables: | 1165 # Local Variables: |
1166 # tab-width:2 | 1166 # tab-width:2 |
1167 # indent-tabs-mode:nil | 1167 # indent-tabs-mode:nil |
1168 # End: | 1168 # End: |
1169 # vim: set expandtab tabstop=2 shiftwidth=2: | 1169 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |