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, | |
61 }, { # OS!="linux" | 47 }, { # OS!="linux" |
62 'target_arch%': 'ia32', | 48 'target_arch%': 'ia32', |
63 }], | 49 }], |
64 ], | 50 ], |
65 | 51 |
66 # We do want to build Chromium with Breakpad support in certain | 52 # We do want to build Chromium with Breakpad support in certain |
67 # situations. I.e. for Chrome bot. | 53 # situations. I.e. for Chrome bot. |
68 'linux_chromium_breakpad%': 0, | 54 'linux_chromium_breakpad%': 0, |
69 # And if we want to dump symbols. | 55 # And if we want to dump symbols. |
70 'linux_chromium_dump_symbols%': 0, | 56 'linux_chromium_dump_symbols%': 0, |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 # and therefore SYMROOT, needs to be set at the project level. | 1088 # and therefore SYMROOT, needs to be set at the project level. |
1103 'SYMROOT': '<(DEPTH)/xcodebuild', | 1089 'SYMROOT': '<(DEPTH)/xcodebuild', |
1104 }, | 1090 }, |
1105 } | 1091 } |
1106 | 1092 |
1107 # Local Variables: | 1093 # Local Variables: |
1108 # tab-width:2 | 1094 # tab-width:2 |
1109 # indent-tabs-mode:nil | 1095 # indent-tabs-mode:nil |
1110 # End: | 1096 # End: |
1111 # vim: set expandtab tabstop=2 shiftwidth=2: | 1097 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |