Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: build/common.gypi

Issue 150102: Fix the tree. It looks like the previous change (19561)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 # {'variables': {'library': 'shared_library'}} 53 # {'variables': {'library': 'shared_library'}}
54 # to compile as shared by default 54 # to compile as shared by default
55 'library%': 'static_library', 55 'library%': 'static_library',
56 56
57 # TODO(bradnelson): eliminate this when possible. 57 # TODO(bradnelson): eliminate this when possible.
58 # To allow local gyp files to prevent release.vsprops from being included. 58 # To allow local gyp files to prevent release.vsprops from being included.
59 # Yes(1) means include release.vsprops. 59 # Yes(1) means include release.vsprops.
60 # Once all vsprops settings are migrated into gyp, this can go away. 60 # Once all vsprops settings are migrated into gyp, this can go away.
61 'msvs_use_common_release%': 1, 61 'msvs_use_common_release%': 1,
62 62
63 # TODO(bradnelson): eliminate this when possible.
64 # To allow local gyp files to override additional linker options for msvs.
65 # Yes(1) means set use the common linker options.
66 'msvs_use_common_linker_extras%': 1,
67
68 # TODO(sgk): eliminate this if possible. 63 # TODO(sgk): eliminate this if possible.
69 # It would be nicer to support this via a setting in 'target_defaults' 64 # It would be nicer to support this via a setting in 'target_defaults'
70 # in chrome/app/locales/locales.gypi overriding the setting in the 65 # in chrome/app/locales/locales.gypi overriding the setting in the
71 # 'Debug' configuration in the 'target_defaults' dict below, 66 # 'Debug' configuration in the 'target_defaults' dict below,
72 # but that doesn't work as we'd like. 67 # but that doesn't work as we'd like.
73 'msvs_debug_link_incremental%': '2', 68 'msvs_debug_link_incremental%': '2',
74 69
75 # The architecture that we're building on. 70 # The architecture that we're building on.
76 'target_arch%': 'ia32', 71 'target_arch%': 'ia32',
77 72
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 'WarningLevel': '3', 476 'WarningLevel': '3',
482 'WarnAsError': 'true', 477 'WarnAsError': 'true',
483 'DebugInformationFormat': '3', 478 'DebugInformationFormat': '3',
484 }, 479 },
485 'VCLibrarianTool': { 480 'VCLibrarianTool': {
486 'AdditionalOptions': '/ignore:4221', 481 'AdditionalOptions': '/ignore:4221',
487 'AdditionalLibraryDirectories': 482 'AdditionalLibraryDirectories':
488 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'], 483 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'],
489 }, 484 },
490 'VCLinkerTool': { 485 'VCLinkerTool': {
486 'AdditionalOptions':
487 '/safeseh:NO /dynamicbase:NO /ignore:4199 /ignore:4221 /nxcompat',
491 'AdditionalDependencies': [ 488 'AdditionalDependencies': [
492 'wininet.lib', 489 'wininet.lib',
493 'version.lib', 490 'version.lib',
494 'msimg32.lib', 491 'msimg32.lib',
495 'ws2_32.lib', 492 'ws2_32.lib',
496 'usp10.lib', 493 'usp10.lib',
497 'psapi.lib', 494 'psapi.lib',
498 'dbghelp.lib', 495 'dbghelp.lib',
499 ], 496 ],
500 'AdditionalLibraryDirectories': 497 'AdditionalLibraryDirectories':
501 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'], 498 ['<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib'],
499 'DelayLoadDLLs': [
500 'dbghelp.dll',
501 'dwmapi.dll',
502 'uxtheme.dll',
503 ],
502 'GenerateDebugInformation': 'true', 504 'GenerateDebugInformation': 'true',
503 'MapFileName': '$(OutDir)\\$(TargetName).map', 505 'MapFileName': '$(OutDir)\\$(TargetName).map',
504 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', 506 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib',
505 'TargetMachine': '1', 507 'TargetMachine': '1',
506 'FixedBaseAddress': '1', 508 'FixedBaseAddress': '1',
507 # SubSystem values: 509 # SubSystem values:
508 # 0 == not set 510 # 0 == not set
509 # 1 == /SUBSYSTEM:CONSOLE 511 # 1 == /SUBSYSTEM:CONSOLE
510 # 2 == /SUBSYSTEM:WINDOWS 512 # 2 == /SUBSYSTEM:WINDOWS
511 # Most of the executables we'll ever create are tests 513 # Most of the executables we'll ever create are tests
(...skipping 24 matching lines...) Expand all
536 ], 538 ],
537 }, { 539 }, {
538 'target_defaults': { 540 'target_defaults': {
539 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the 541 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the
540 # C99 macros on Mac and Linux. 542 # C99 macros on Mac and Linux.
541 'defines': [ 543 'defines': [
542 '__STDC_FORMAT_MACROS', 544 '__STDC_FORMAT_MACROS',
543 ], 545 ],
544 }, 546 },
545 }], 547 }],
546 ['msvs_use_common_linker_extras', {
547 'VCLinkerTool': {
548 'AdditionalOptions':
549 '/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat',
550 'DelayLoadDLLs': [
551 'dbghelp.dll',
552 'dwmapi.dll',
553 'uxtheme.dll',
554 ],
555 },
556 }],
557 ], 548 ],
558 'scons_settings': { 549 'scons_settings': {
559 'sconsbuild_dir': '<(DEPTH)/sconsbuild', 550 'sconsbuild_dir': '<(DEPTH)/sconsbuild',
560 }, 551 },
561 'xcode_settings': { 552 'xcode_settings': {
562 # The Xcode generator will look for an xcode_settings section at the root 553 # The Xcode generator will look for an xcode_settings section at the root
563 # of each dict and use it to apply settings on a file-wide basis. Most 554 # of each dict and use it to apply settings on a file-wide basis. Most
564 # settings should not be here, they should be in target-specific 555 # settings should not be here, they should be in target-specific
565 # xcode_settings sections, or better yet, should use non-Xcode-specific 556 # xcode_settings sections, or better yet, should use non-Xcode-specific
566 # settings in target dicts. SYMROOT is a special case, because many other 557 # settings in target dicts. SYMROOT is a special case, because many other
567 # Xcode variables depend on it, including variables such as 558 # Xcode variables depend on it, including variables such as
568 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 559 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
569 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 560 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
570 # files to appear (when present) in the UI as actual files and not red 561 # files to appear (when present) in the UI as actual files and not red
571 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 562 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
572 # and therefore SYMROOT, needs to be set at the project level. 563 # and therefore SYMROOT, needs to be set at the project level.
573 'SYMROOT': '<(DEPTH)/xcodebuild', 564 'SYMROOT': '<(DEPTH)/xcodebuild',
574 }, 565 },
575 } 566 }
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/mini_installer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698