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

Side by Side Diff: base/base.gyp

Issue 1580873003: Enable handle verifier for tests and add some tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not copy variable up scope Created 4 years, 10 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
« no previous file with comments | « base/BUILD.gn ('k') | base/debug/close_handle_hook_win.cc » ('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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ], 132 ],
133 'direct_dependent_settings': { 133 'direct_dependent_settings': {
134 'defines': [ 134 'defines': [
135 'NO_TCMALLOC', 135 'NO_TCMALLOC',
136 ], 136 ],
137 }, 137 },
138 }], 138 }],
139 ], 139 ],
140 }], 140 }],
141 ['OS == "win"', { 141 ['OS == "win"', {
142 'conditions': [
143 ['win_disable_handle_verifier_hooks == 1', {
144 'defines': ['DISABLE_HANDLE_VERIFIER_HOOKS'],
145 }],
146 ],
142 # Specify delayload for base.dll. 147 # Specify delayload for base.dll.
143 'msvs_settings': { 148 'msvs_settings': {
144 'VCLinkerTool': { 149 'VCLinkerTool': {
145 'DelayLoadDLLs': [ 150 'DelayLoadDLLs': [
146 'cfgmgr32.dll', 151 'cfgmgr32.dll',
147 'powrprof.dll', 152 'powrprof.dll',
148 'setupapi.dll', 153 'setupapi.dll',
149 ], 154 ],
150 'AdditionalDependencies': [ 155 'AdditionalDependencies': [
151 'cfgmgr32.lib', 156 'cfgmgr32.lib',
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 4267, 700 4267,
696 ], 701 ],
697 'conditions': [ 702 'conditions': [
698 ['icu_use_data_file_flag==0', { 703 ['icu_use_data_file_flag==0', {
699 # This is needed to trigger the dll copy step on windows. 704 # This is needed to trigger the dll copy step on windows.
700 # TODO(mark): This should not be necessary. 705 # TODO(mark): This should not be necessary.
701 'dependencies': [ 706 'dependencies': [
702 '../third_party/icu/icu.gyp:icudata', 707 '../third_party/icu/icu.gyp:icudata',
703 ], 708 ],
704 }], 709 }],
710 ['win_disable_handle_verifier_hooks == 1', {
711 'defines': ['DISABLE_HANDLE_VERIFIER_HOOKS'],
712 }],
705 ], 713 ],
706 }, { # OS != "win" 714 }, { # OS != "win"
707 'dependencies': [ 715 'dependencies': [
708 'third_party/libevent/libevent.gyp:libevent' 716 'third_party/libevent/libevent.gyp:libevent'
709 ], 717 ],
710 }], 718 }],
711 ], # conditions 719 ], # conditions
712 'target_conditions': [ 720 'target_conditions': [
713 ['OS == "ios" and _toolset != "host"', { 721 ['OS == "ios" and _toolset != "host"', {
714 'sources/': [ 722 'sources/': [
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 '../build/isolate.gypi', 1646 '../build/isolate.gypi',
1639 ], 1647 ],
1640 'sources': [ 1648 'sources': [
1641 'base_unittests.isolate', 1649 'base_unittests.isolate',
1642 ], 1650 ],
1643 }, 1651 },
1644 ], 1652 ],
1645 }], 1653 }],
1646 ], 1654 ],
1647 } 1655 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/debug/close_handle_hook_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698