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 26 matching lines...) Expand all Loading... |
37 | 37 |
38 # Compute the architecture that we're building for. Default to the | 38 # Compute the architecture that we're building for. Default to the |
39 # architecture that we're building on. | 39 # architecture that we're building on. |
40 'conditions': [ | 40 'conditions': [ |
41 [ 'OS=="linux"', { | 41 [ 'OS=="linux"', { |
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; such | 43 # else gets passed through, which probably won't work very well; such |
44 # hosts should pass an explicit target_arch to gyp. | 44 # hosts should pass an explicit target_arch to gyp. |
45 'target_arch%': | 45 'target_arch%': |
46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")', | 46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")', |
| 47 |
| 48 # On Linux, we use the system versions of several libraries. We end |
| 49 # up pulling these in as .so's anyway since they are already in our |
| 50 # transitive closure due to GTK. |
| 51 'use_system_zlib': 1, |
| 52 'use_system_libjpeg': 1, |
| 53 'use_system_bzip2': 1, |
| 54 'use_system_libpng': 1, |
| 55 'use_system_libjpeg': 1, |
| 56 'use_system_libxslt': 1, |
| 57 |
| 58 # We use our own copy of libssl, although we still need to link |
| 59 # against the rest of NSS. |
| 60 'use_system_ssl': 0, |
47 }, { # OS!="linux" | 61 }, { # OS!="linux" |
48 'target_arch%': 'ia32', | 62 'target_arch%': 'ia32', |
49 }], | 63 }], |
50 ], | 64 ], |
51 | 65 |
52 # We do want to build Chromium with Breakpad support in certain | 66 # We do want to build Chromium with Breakpad support in certain |
53 # situations. I.e. for Chrome bot. | 67 # situations. I.e. for Chrome bot. |
54 'linux_chromium_breakpad%': 0, | 68 'linux_chromium_breakpad%': 0, |
55 # And if we want to dump symbols. | 69 # And if we want to dump symbols. |
56 'linux_chromium_dump_symbols%': 0, | 70 'linux_chromium_dump_symbols%': 0, |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 # and therefore SYMROOT, needs to be set at the project level. | 1102 # and therefore SYMROOT, needs to be set at the project level. |
1089 'SYMROOT': '<(DEPTH)/xcodebuild', | 1103 'SYMROOT': '<(DEPTH)/xcodebuild', |
1090 }, | 1104 }, |
1091 } | 1105 } |
1092 | 1106 |
1093 # Local Variables: | 1107 # Local Variables: |
1094 # tab-width:2 | 1108 # tab-width:2 |
1095 # indent-tabs-mode:nil | 1109 # indent-tabs-mode:nil |
1096 # End: | 1110 # End: |
1097 # vim: set expandtab tabstop=2 shiftwidth=2: | 1111 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |