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

Side by Side Diff: build/common.gypi

Issue 179903004: Always embed manifests, even in component builds! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add explicit 'EmbedManifest': 'false'; needed? Created 6 years, 9 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/chrome_exe.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 2038 matching lines...) Expand 10 before | Expand all | Expand 10 after
2049 # instead of O(N*logN). This is particularly slow under memory 2049 # instead of O(N*logN). This is particularly slow under memory
2050 # tools like ThreadSanitizer so we want it to be disablable. 2050 # tools like ThreadSanitizer so we want it to be disablable.
2051 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx 2051 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx
2052 'win_debug_disable_iterator_debugging%': '0', 2052 'win_debug_disable_iterator_debugging%': '0',
2053 2053
2054 # An application manifest fragment to declare compatibility settings for 2054 # An application manifest fragment to declare compatibility settings for
2055 # 'executable' targets. Ignored in other target type. 2055 # 'executable' targets. Ignored in other target type.
2056 'win_exe_compatibility_manifest%': 2056 'win_exe_compatibility_manifest%':
2057 '<(DEPTH)\\build\\win\\compatibility.manifest', 2057 '<(DEPTH)\\build\\win\\compatibility.manifest',
2058 2058
2059 # Set to 1 to generate external manifest instead of embedding it for
2060 # 'executable' target. Does nothing for other target type. This flag is
2061 # used to make mini_installer compatible with the component build.
2062 # See http://crbug.com/127233
2063 'win_use_external_manifest%': 0,
2064
2065 'release_extra_cflags%': '', 2059 'release_extra_cflags%': '',
2066 'debug_extra_cflags%': '', 2060 'debug_extra_cflags%': '',
2067 2061
2068 'release_valgrind_build%': '<(release_valgrind_build)', 2062 'release_valgrind_build%': '<(release_valgrind_build)',
2069 2063
2070 # the non-qualified versions are widely assumed to be *nix-only 2064 # the non-qualified versions are widely assumed to be *nix-only
2071 'win_release_extra_cflags%': '', 2065 'win_release_extra_cflags%': '',
2072 'win_debug_extra_cflags%': '', 2066 'win_debug_extra_cflags%': '',
2073 2067
2074 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 2068 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600
(...skipping 2631 matching lines...) Expand 10 before | Expand all | Expand 10 after
4706 'InterfaceIdentifierFileName': '$(InputName)_i.c', 4700 'InterfaceIdentifierFileName': '$(InputName)_i.c',
4707 'ProxyFileName': '$(InputName)_p.c', 4701 'ProxyFileName': '$(InputName)_p.c',
4708 }, 4702 },
4709 'VCResourceCompilerTool': { 4703 'VCResourceCompilerTool': {
4710 'Culture' : '1033', 4704 'Culture' : '1033',
4711 'AdditionalIncludeDirectories': [ 4705 'AdditionalIncludeDirectories': [
4712 '<(DEPTH)', 4706 '<(DEPTH)',
4713 '<(SHARED_INTERMEDIATE_DIR)', 4707 '<(SHARED_INTERMEDIATE_DIR)',
4714 ], 4708 ],
4715 }, 4709 },
4710 # The manifests are now always embedded as resources post-link rather
4711 # than via MSVC.
4712 'VCManifestTool': {
4713 'EmbedManifest': 'false',
scottmg 2014/02/25 23:04:23 This should still be true, gyp still respects this
gab 2014/02/25 23:08:35 Indeed, whoops, also removed redundancy in remotin
4714 },
4716 'target_conditions': [ 4715 'target_conditions': [
4717 ['_type=="executable" and ">(win_exe_compatibility_manifest)"!=""', { 4716 ['_type=="executable" and ">(win_exe_compatibility_manifest)"!=""', {
4718 'VCManifestTool': { 4717 'VCManifestTool': {
4719 'AdditionalManifestFiles': [ 4718 'AdditionalManifestFiles': [
4720 '>(win_exe_compatibility_manifest)', 4719 '>(win_exe_compatibility_manifest)',
4721 ], 4720 ],
4722 }, 4721 },
4723 }], 4722 }],
4724 ['_type=="executable" and >(win_use_external_manifest)==0', {
4725 'VCManifestTool': {
4726 'EmbedManifest': 'true',
4727 }
4728 }],
4729 ['_type=="executable" and >(win_use_external_manifest)==1', {
4730 'VCManifestTool': {
4731 'EmbedManifest': 'false',
4732 }
4733 }],
4734 ], 4723 ],
4735 'conditions': [ 4724 'conditions': [
4736 ['clang==1', { 4725 ['clang==1', {
4737 # Building with Clang on Windows is a work in progress and very 4726 # Building with Clang on Windows is a work in progress and very
4738 # experimental. See crbug.com/82385. 4727 # experimental. See crbug.com/82385.
4739 'VCCLCompilerTool': { 4728 'VCCLCompilerTool': {
4740 'WarnAsError': 'false', 4729 'WarnAsError': 'false',
4741 'RuntimeTypeInfo': 'false', 4730 'RuntimeTypeInfo': 'false',
4742 'AdditionalOptions': [ 4731 'AdditionalOptions': [
4743 '/fallback', 4732 '/fallback',
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
4984 # settings in target dicts. SYMROOT is a special case, because many other 4973 # settings in target dicts. SYMROOT is a special case, because many other
4985 # Xcode variables depend on it, including variables such as 4974 # Xcode variables depend on it, including variables such as
4986 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4975 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4987 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4976 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4988 # files to appear (when present) in the UI as actual files and not red 4977 # files to appear (when present) in the UI as actual files and not red
4989 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4978 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4990 # and therefore SYMROOT, needs to be set at the project level. 4979 # and therefore SYMROOT, needs to be set at the project level.
4991 'SYMROOT': '<(DEPTH)/xcodebuild', 4980 'SYMROOT': '<(DEPTH)/xcodebuild',
4992 }, 4981 },
4993 } 4982 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698