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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 # {'variables': {'library': 'shared_library'}} | 128 # {'variables': {'library': 'shared_library'}} |
129 # to compile as shared by default | 129 # to compile as shared by default |
130 'library%': 'static_library', | 130 'library%': 'static_library', |
131 | 131 |
132 # The Google Update appid. | 132 # The Google Update appid. |
133 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', | 133 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', |
134 | 134 |
135 # Whether to add the experimental build define. | 135 # Whether to add the experimental build define. |
136 'chrome_frame_define%': 0, | 136 'chrome_frame_define%': 0, |
137 | 137 |
| 138 # Whether pepper APIs are enabled. |
| 139 'enable_pepper%': 0, |
| 140 |
138 # TODO(bradnelson): eliminate this when possible. | 141 # TODO(bradnelson): eliminate this when possible. |
139 # To allow local gyp files to prevent release.vsprops from being included. | 142 # To allow local gyp files to prevent release.vsprops from being included. |
140 # Yes(1) means include release.vsprops. | 143 # Yes(1) means include release.vsprops. |
141 # Once all vsprops settings are migrated into gyp, this can go away. | 144 # Once all vsprops settings are migrated into gyp, this can go away. |
142 'msvs_use_common_release%': 1, | 145 'msvs_use_common_release%': 1, |
143 | 146 |
144 # TODO(bradnelson): eliminate this when possible. | 147 # TODO(bradnelson): eliminate this when possible. |
145 # To allow local gyp files to override additional linker options for msvs. | 148 # To allow local gyp files to override additional linker options for msvs. |
146 # Yes(1) means set use the common linker options. | 149 # Yes(1) means set use the common linker options. |
147 'msvs_use_common_linker_extras%': 1, | 150 'msvs_use_common_linker_extras%': 1, |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 }], | 282 }], |
280 ['toolkit_views==1', { | 283 ['toolkit_views==1', { |
281 'defines': ['TOOLKIT_VIEWS=1'], | 284 'defines': ['TOOLKIT_VIEWS=1'], |
282 }], | 285 }], |
283 ['chromeos==1', { | 286 ['chromeos==1', { |
284 'defines': ['CHROMEOS_TRANSITIONAL=1'], | 287 'defines': ['CHROMEOS_TRANSITIONAL=1'], |
285 }], | 288 }], |
286 ['chromeos==1 or toolkit_views==1', { | 289 ['chromeos==1 or toolkit_views==1', { |
287 'defines': ['OS_CHROMEOS=1'], | 290 'defines': ['OS_CHROMEOS=1'], |
288 }], | 291 }], |
| 292 ['enable_pepper==1', { |
| 293 'defines': ['ENABLE_PEPPER=1'], |
| 294 }], |
289 ['fastbuild!=0', { | 295 ['fastbuild!=0', { |
290 'conditions': [ | 296 'conditions': [ |
291 # Finally, for Windows, we simply turn on profiling. | 297 # Finally, for Windows, we simply turn on profiling. |
292 ['OS=="win"', { | 298 ['OS=="win"', { |
293 'msvs_settings': { | 299 'msvs_settings': { |
294 'VCLinkerTool': { | 300 'VCLinkerTool': { |
295 'GenerateDebugInformation': 'false', | 301 'GenerateDebugInformation': 'false', |
296 }, | 302 }, |
297 'VCCLCompilerTool': { | 303 'VCCLCompilerTool': { |
298 'DebugInformationFormat': '0', | 304 'DebugInformationFormat': '0', |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 # and therefore SYMROOT, needs to be set at the project level. | 926 # and therefore SYMROOT, needs to be set at the project level. |
921 'SYMROOT': '<(DEPTH)/xcodebuild', | 927 'SYMROOT': '<(DEPTH)/xcodebuild', |
922 }, | 928 }, |
923 } | 929 } |
924 | 930 |
925 # Local Variables: | 931 # Local Variables: |
926 # tab-width:2 | 932 # tab-width:2 |
927 # indent-tabs-mode:nil | 933 # indent-tabs-mode:nil |
928 # End: | 934 # End: |
929 # vim: set expandtab tabstop=2 shiftwidth=2: | 935 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |