| 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 24 matching lines...) Expand all Loading... |
| 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. | 44 # And if we want to dump symbols. |
| 45 'linux_chromium_dump_symbols': 0, | 45 'linux_chromium_dump_symbols%': 0, |
| 46 # Also see linux_strip_binary below. |
| 46 | 47 |
| 47 # By default, Linux does not use views. To turn on views in Linux, | 48 # By default, Linux does not use views. To turn on views in Linux, |
| 48 # set the variable GYP_DEFINES to "toolkit_views=1", or modify | 49 # set the variable GYP_DEFINES to "toolkit_views=1", or modify |
| 49 # ~/.gyp/include.gypi . | 50 # ~/.gyp/include.gypi . |
| 50 'toolkit_views%': 0, | 51 'toolkit_views%': 0, |
| 51 | 52 |
| 52 # Defaults to a desktop build, overridden via command line/env. | 53 # Defaults to a desktop build, overridden via command line/env. |
| 53 'chromeos%': 0, | 54 'chromeos%': 0, |
| 54 | 55 |
| 55 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 56 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 'sysroot%': '', | 141 'sysroot%': '', |
| 141 | 142 |
| 142 # This is the location of the sandbox binary. Chrome looks for this before | 143 # This is the location of the sandbox binary. Chrome looks for this before |
| 143 # running the zygote process. If found, and SUID, it will be used to | 144 # running the zygote process. If found, and SUID, it will be used to |
| 144 # sandbox the zygote process and, thus, all renderer processes. | 145 # sandbox the zygote process and, thus, all renderer processes. |
| 145 'linux_sandbox_path%': '', | 146 'linux_sandbox_path%': '', |
| 146 | 147 |
| 147 # Set this to true to enable SELinux support. | 148 # Set this to true to enable SELinux support. |
| 148 'selinux%': 0, | 149 'selinux%': 0, |
| 149 | 150 |
| 151 # Strip the binary after dumping symbols. |
| 152 'linux_strip_binary%': 0, |
| 153 |
| 150 # Set to select the Title Case versions of strings in GRD files. | 154 # Set to select the Title Case versions of strings in GRD files. |
| 151 'use_titlecase_in_grd_files%': 0, | 155 'use_titlecase_in_grd_files%': 0, |
| 152 | 156 |
| 153 'conditions': [ | 157 'conditions': [ |
| 154 ['OS=="linux"', { | 158 ['OS=="linux"', { |
| 155 'conditions': [ | 159 'conditions': [ |
| 156 ['branding=="Chrome" or linux_chromium_breakpad==1', { | 160 ['branding=="Chrome" or linux_chromium_breakpad==1', { |
| 157 'linux_breakpad%': 1, | 161 'linux_breakpad%': 1, |
| 158 }, { | 162 }, { |
| 159 'linux_breakpad%': 0, | 163 'linux_breakpad%': 0, |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 # settings in target dicts. SYMROOT is a special case, because many other | 875 # settings in target dicts. SYMROOT is a special case, because many other |
| 872 # Xcode variables depend on it, including variables such as | 876 # Xcode variables depend on it, including variables such as |
| 873 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 877 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 874 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 878 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 875 # files to appear (when present) in the UI as actual files and not red | 879 # files to appear (when present) in the UI as actual files and not red |
| 876 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 880 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 877 # and therefore SYMROOT, needs to be set at the project level. | 881 # and therefore SYMROOT, needs to be set at the project level. |
| 878 'SYMROOT': '<(DEPTH)/xcodebuild', | 882 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 879 }, | 883 }, |
| 880 } | 884 } |
| OLD | NEW |