| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 # static_library and shared_library. We default to doing a static build | 182 # static_library and shared_library. We default to doing a static build |
| 183 # but you can override this with "gyp -Dlibrary=shared_library" or you | 183 # but you can override this with "gyp -Dlibrary=shared_library" or you |
| 184 # can add the following line (without the #) to ~/.gyp/include.gypi | 184 # can add the following line (without the #) to ~/.gyp/include.gypi |
| 185 # {'variables': {'library': 'shared_library'}} | 185 # {'variables': {'library': 'shared_library'}} |
| 186 # to compile as shared by default | 186 # to compile as shared by default |
| 187 'library%': 'static_library', | 187 'library%': 'static_library', |
| 188 | 188 |
| 189 # Whether usage of OpenMAX is enabled. | 189 # Whether usage of OpenMAX is enabled. |
| 190 'enable_openmax%': 0, | 190 'enable_openmax%': 0, |
| 191 | 191 |
| 192 # Whether proprietary audio/video codecs are assumed to be included with |
| 193 # this build (only meaningful if branding!=Chrome). |
| 194 'proprietary_codecs%': 0, |
| 195 |
| 192 # TODO(bradnelson): eliminate this when possible. | 196 # TODO(bradnelson): eliminate this when possible. |
| 193 # To allow local gyp files to prevent release.vsprops from being included. | 197 # To allow local gyp files to prevent release.vsprops from being included. |
| 194 # Yes(1) means include release.vsprops. | 198 # Yes(1) means include release.vsprops. |
| 195 # Once all vsprops settings are migrated into gyp, this can go away. | 199 # Once all vsprops settings are migrated into gyp, this can go away. |
| 196 'msvs_use_common_release%': 1, | 200 'msvs_use_common_release%': 1, |
| 197 | 201 |
| 198 # TODO(bradnelson): eliminate this when possible. | 202 # TODO(bradnelson): eliminate this when possible. |
| 199 # To allow local gyp files to override additional linker options for msvs. | 203 # To allow local gyp files to override additional linker options for msvs. |
| 200 # Yes(1) means set use the common linker options. | 204 # Yes(1) means set use the common linker options. |
| 201 'msvs_use_common_linker_extras%': 1, | 205 'msvs_use_common_linker_extras%': 1, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 'defines': ['GOOGLE_CHROME_BUILD'], | 397 'defines': ['GOOGLE_CHROME_BUILD'], |
| 394 }, { # else: branding!="Chrome" | 398 }, { # else: branding!="Chrome" |
| 395 'defines': ['CHROMIUM_BUILD'], | 399 'defines': ['CHROMIUM_BUILD'], |
| 396 }], | 400 }], |
| 397 ['toolkit_views==1', { | 401 ['toolkit_views==1', { |
| 398 'defines': ['TOOLKIT_VIEWS=1'], | 402 'defines': ['TOOLKIT_VIEWS=1'], |
| 399 }], | 403 }], |
| 400 ['chromeos==1', { | 404 ['chromeos==1', { |
| 401 'defines': ['OS_CHROMEOS=1'], | 405 'defines': ['OS_CHROMEOS=1'], |
| 402 }], | 406 }], |
| 407 ['proprietary_codecs==1', { |
| 408 'defines': ['USE_PROPRIETARY_CODECS'], |
| 409 }], |
| 403 ['fastbuild!=0', { | 410 ['fastbuild!=0', { |
| 404 'conditions': [ | 411 'conditions': [ |
| 405 # Finally, for Windows, we simply turn on profiling. | 412 # Finally, for Windows, we simply turn on profiling. |
| 406 ['OS=="win"', { | 413 ['OS=="win"', { |
| 407 'msvs_settings': { | 414 'msvs_settings': { |
| 408 'VCLinkerTool': { | 415 'VCLinkerTool': { |
| 409 'GenerateDebugInformation': 'false', | 416 'GenerateDebugInformation': 'false', |
| 410 }, | 417 }, |
| 411 'VCCLCompilerTool': { | 418 'VCCLCompilerTool': { |
| 412 'DebugInformationFormat': '0', | 419 'DebugInformationFormat': '0', |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 # and therefore SYMROOT, needs to be set at the project level. | 1350 # and therefore SYMROOT, needs to be set at the project level. |
| 1344 'SYMROOT': '<(DEPTH)/xcodebuild', | 1351 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1345 }, | 1352 }, |
| 1346 } | 1353 } |
| 1347 | 1354 |
| 1348 # Local Variables: | 1355 # Local Variables: |
| 1349 # tab-width:2 | 1356 # tab-width:2 |
| 1350 # indent-tabs-mode:nil | 1357 # indent-tabs-mode:nil |
| 1351 # End: | 1358 # End: |
| 1352 # vim: set expandtab tabstop=2 shiftwidth=2: | 1359 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |