| 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 23 matching lines...) Expand all Loading... |
| 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 # The architecture that we're building on. | 38 # The architecture that we're building on. |
| 39 'target_arch%': 'ia32', | 39 'target_arch%': 'ia32', |
| 40 | 40 |
| 41 # We do want to build Chromium with Breakpad support in certain | 41 # We do want to build Chromium with Breakpad support in certain |
| 42 # situations. I.e. for Chrome bot. | 42 # situations. I.e. for Chrome bot. |
| 43 'linux_chromium_breakpad%': 0, | 43 'linux_chromium_breakpad%': 0, |
| 44 # And if we want to dump symbols. |
| 45 'linux_chromium_dump_symbols': 0, |
| 44 | 46 |
| 45 # By default, Linux does not use views. To turn on views in Linux, | 47 # By default, Linux does not use views. To turn on views in Linux, |
| 46 # set the variable GYP_DEFINES to "toolkit_views=1", or modify | 48 # set the variable GYP_DEFINES to "toolkit_views=1", or modify |
| 47 # ~/.gyp/include.gypi . | 49 # ~/.gyp/include.gypi . |
| 48 'toolkit_views%': 0, | 50 'toolkit_views%': 0, |
| 49 | 51 |
| 50 # Defaults to a desktop build, overridden via command line/env. | 52 # Defaults to a desktop build, overridden via command line/env. |
| 51 'chromeos%': 0, | 53 'chromeos%': 0, |
| 52 | 54 |
| 53 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 55 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 # The system root for cross-compiles. Default: none. | 139 # The system root for cross-compiles. Default: none. |
| 138 'sysroot%': '', | 140 'sysroot%': '', |
| 139 | 141 |
| 140 # This is the location of the sandbox binary. Chrome looks for this before | 142 # This is the location of the sandbox binary. Chrome looks for this before |
| 141 # running the zygote process. If found, and SUID, it will be used to | 143 # running the zygote process. If found, and SUID, it will be used to |
| 142 # sandbox the zygote process and, thus, all renderer processes. | 144 # sandbox the zygote process and, thus, all renderer processes. |
| 143 'linux_sandbox_path%': '', | 145 'linux_sandbox_path%': '', |
| 144 | 146 |
| 145 # Set this to true to enable SELinux support. | 147 # Set this to true to enable SELinux support. |
| 146 'selinux%': 0, | 148 'selinux%': 0, |
| 147 | 149 |
| 148 # Set to select the Title Case versions of strings in GRD files. | 150 # Set to select the Title Case versions of strings in GRD files. |
| 149 'use_titlecase_in_grd_files%': 0, | 151 'use_titlecase_in_grd_files%': 0, |
| 150 | 152 |
| 151 'conditions': [ | 153 'conditions': [ |
| 152 ['OS=="linux"', { | 154 ['OS=="linux"', { |
| 153 'conditions': [ | 155 'conditions': [ |
| 154 ['branding=="Chrome" or linux_chromium_breakpad==1', { | 156 ['branding=="Chrome" or linux_chromium_breakpad==1', { |
| 155 'linux_breakpad%': 1, | 157 'linux_breakpad%': 1, |
| 156 }, { | 158 }, { |
| 157 'linux_breakpad%': 0, | 159 'linux_breakpad%': 0, |
| 158 }], | 160 }], |
| 161 # All Chrome builds have breakpad symbols, but only process the |
| 162 # symbols from official builds. |
| 163 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and |
| 164 # crash server handle 64-bit symbols. |
| 165 ['linux_chromium_dump_symbols==1 or ' |
| 166 '(branding=="Chrome" and buildtype=="Official" and ' |
| 167 'target_arch=="ia32")', { |
| 168 'linux_dump_symbols%': 1, |
| 169 }, { |
| 170 'linux_dump_symbols%': 0, |
| 171 }], |
| 159 ['toolkit_views==0', { | 172 ['toolkit_views==0', { |
| 160 # GTK wants Title Case strings | 173 # GTK wants Title Case strings |
| 161 'use_titlecase_in_grd_files%': 1, | 174 'use_titlecase_in_grd_files%': 1, |
| 162 }], | 175 }], |
| 163 ], | 176 ], |
| 164 }], # OS=="linux" | 177 }], # OS=="linux" |
| 165 ['OS=="mac"', { | 178 ['OS=="mac"', { |
| 166 # Mac wants Title Case strings | 179 # Mac wants Title Case strings |
| 167 'use_titlecase_in_grd_files%': 1, | 180 'use_titlecase_in_grd_files%': 1, |
| 168 'conditions': [ | 181 'conditions': [ |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 # settings in target dicts. SYMROOT is a special case, because many other | 871 # settings in target dicts. SYMROOT is a special case, because many other |
| 859 # Xcode variables depend on it, including variables such as | 872 # Xcode variables depend on it, including variables such as |
| 860 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 873 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 861 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 874 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 862 # files to appear (when present) in the UI as actual files and not red | 875 # files to appear (when present) in the UI as actual files and not red |
| 863 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 876 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 864 # and therefore SYMROOT, needs to be set at the project level. | 877 # and therefore SYMROOT, needs to be set at the project level. |
| 865 'SYMROOT': '<(DEPTH)/xcodebuild', | 878 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 866 }, | 879 }, |
| 867 } | 880 } |
| OLD | NEW |