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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 # but you can override this with "gyp -Dlibrary=shared_library" or you | 107 # but you can override this with "gyp -Dlibrary=shared_library" or you |
108 # can add the following line (without the #) to ~/.gyp/include.gypi | 108 # can add the following line (without the #) to ~/.gyp/include.gypi |
109 # {'variables': {'library': 'shared_library'}} | 109 # {'variables': {'library': 'shared_library'}} |
110 # to compile as shared by default | 110 # to compile as shared by default |
111 'library%': 'static_library', | 111 'library%': 'static_library', |
112 | 112 |
113 # The Google Update appid. | 113 # The Google Update appid. |
114 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', | 114 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', |
115 | 115 |
116 # Whether to add the experimental build define. | 116 # Whether to add the experimental build define. |
117 'experimental_build_define%': 0, | 117 'chrome_frame_define%': 0, |
118 | 118 |
119 # TODO(bradnelson): eliminate this when possible. | 119 # TODO(bradnelson): eliminate this when possible. |
120 # To allow local gyp files to prevent release.vsprops from being included. | 120 # To allow local gyp files to prevent release.vsprops from being included. |
121 # Yes(1) means include release.vsprops. | 121 # Yes(1) means include release.vsprops. |
122 # Once all vsprops settings are migrated into gyp, this can go away. | 122 # Once all vsprops settings are migrated into gyp, this can go away. |
123 'msvs_use_common_release%': 1, | 123 'msvs_use_common_release%': 1, |
124 | 124 |
125 # TODO(bradnelson): eliminate this when possible. | 125 # TODO(bradnelson): eliminate this when possible. |
126 # To allow local gyp files to override additional linker options for msvs. | 126 # To allow local gyp files to override additional linker options for msvs. |
127 # Yes(1) means set use the common linker options. | 127 # Yes(1) means set use the common linker options. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 'release_extra_cflags%': '', | 227 'release_extra_cflags%': '', |
228 'debug_extra_cflags%': '', | 228 'debug_extra_cflags%': '', |
229 'release_valgrind_build%': 0, | 229 'release_valgrind_build%': 0, |
230 }, | 230 }, |
231 'conditions': [ | 231 'conditions': [ |
232 ['branding=="Chrome"', { | 232 ['branding=="Chrome"', { |
233 'defines': ['GOOGLE_CHROME_BUILD'], | 233 'defines': ['GOOGLE_CHROME_BUILD'], |
234 }, { # else: branding!="Chrome" | 234 }, { # else: branding!="Chrome" |
235 'defines': ['CHROMIUM_BUILD'], | 235 'defines': ['CHROMIUM_BUILD'], |
236 }], | 236 }], |
237 ['experimental_build_define', { | 237 ['chrome_frame_define', { |
238 'defines': ['CHROME_EXP_BUILD'], | 238 'defines': ['CHROME_FRAME_BUILD'], |
239 }], | 239 }], |
240 ['toolkit_views==1', { | 240 ['toolkit_views==1', { |
241 'defines': ['TOOLKIT_VIEWS=1'], | 241 'defines': ['TOOLKIT_VIEWS=1'], |
242 }], | 242 }], |
243 ['chromeos==1', { | 243 ['chromeos==1', { |
244 'defines': ['OS_CHROMEOS=1'], | 244 'defines': ['OS_CHROMEOS=1'], |
245 }], | 245 }], |
246 ['selinux==1', { | 246 ['selinux==1', { |
247 'defines': ['CHROMIUM_SELINUX=1'], | 247 'defines': ['CHROMIUM_SELINUX=1'], |
248 }], | 248 }], |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 # settings in target dicts. SYMROOT is a special case, because many other | 858 # settings in target dicts. SYMROOT is a special case, because many other |
859 # Xcode variables depend on it, including variables such as | 859 # Xcode variables depend on it, including variables such as |
860 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 860 # 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 | 861 # 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 | 862 # 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, | 863 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
864 # and therefore SYMROOT, needs to be set at the project level. | 864 # and therefore SYMROOT, needs to be set at the project level. |
865 'SYMROOT': '<(DEPTH)/xcodebuild', | 865 'SYMROOT': '<(DEPTH)/xcodebuild', |
866 }, | 866 }, |
867 } | 867 } |
OLD | NEW |