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

Side by Side Diff: chrome/installer/util/installer_unittests.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « chrome/installer/setup/setup.scons ('k') | chrome/installer/util/util.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 Import('env')
6
7 env = env.Clone()
8
9 env.ApplySConscript([
10 '$BASE_DIR/using_base.scons',
11 '$GTEST_DIR/../using_gtest.scons',
12 '$ICU38_DIR/using_icu38.scons',
13 ])
14
15 env.Prepend(
16 CPPPATH = [
17 '$CHROME_SRC_DIR',
18 ],
19 LIBS = [
20 'common',
21 'util',
22 ],
23 )
24
25 if env.Bit('windows'):
26 env.FilterOut(
27 LIBS = ['DelayImp.lib'],
28 )
29
30 env.Prepend(
31 LINKFLAGS = [
32 '/INCREMENTAL',
33 '/DEBUG',
34
35 '/DELAYLOAD:"dwmapi.dll"',
36 '/DELAYLOAD:"uxtheme.dll"',
37
38 '/MACHINE:X86',
39 '/FIXED:No',
40
41 '/safeseh',
42 '/dynamicbase',
43 '/ignore:4199',
44 '/nxcompat',
45 ],
46 LIBS = [
47 'comsupp',
48 'oleacc',
49 'rpcrt4',
50 'shlwapi',
51 ],
52 )
53
54 input_files = ChromeFileList([
55 # TODO(sgk): violate standard indentation so we don't have to
56 # reindent too much when we remove the explicit MSVSFilter() calls
57 # in favor of generating the hierarchy to reflect the file system.
58 MSVSFilter('support', [
59 'run_all_unittests.cc',
60 ]),
61 MSVSFilter('tests', [
62 'copy_tree_work_item_unittest.cc',
63 'create_dir_work_item_unittest.cc',
64 'create_reg_key_work_item_unittest.cc',
65 'delete_reg_value_work_item_unittest.cc',
66 'delete_tree_work_item_unittest.cc',
67 'helper_unittest.cc',
68 'google_chrome_distribution_unittest.cc',
69 'set_reg_value_work_item_unittest.cc',
70 '../setup/setup_constants$OBJSUFFIX',
71 'work_item_list_unittest.cc',
72 ]),
73 ])
74
75
76 # TODO(port):
77 if env.Bit('windows'):
78 env.ChromeTestProgram('installer_unittests', input_files)
79
80 p = env.ChromeMSVSProject('installer_unittests.vcproj',
81 dest=('$CHROME_SRC_DIR/chrome/'
82 + 'installer/util/installer_unittests.vcproj'),
83 guid='{903F8C1E-537A-4C9E-97BE-075147CBE769}',
84 dependencies = [
85 '$BASE_DIR/build/base.vcproj',
86 '$CHROME_DIR/common/common.vcproj',
87 '$ICU38_DIR/build/icu.vcproj',
88 '$TESTING_DIR/gtest.vcproj',
89 '$CHROME_DIR/installer/util/util.vcproj',
90 ],
91 # TODO(sgk): when we can intuit the hierarchy
92 # from the built targets.
93 #buildtargets=TODO,
94 files=input_files,
95 tools=[
96 'VCPreBuildEventTool',
97 'VCCustomBuildTool',
98 'VCXMLDataGeneratorTool',
99 'VCWebServiceProxyGeneratorTool',
100 'VCMIDLTool',
101 'VCCLCompilerTool',
102 'VCManagedResourceCompilerTool',
103 'VCResourceCompilerTool',
104 'VCPreLinkEventTool',
105 'VCLinkerTool',
106 'VCALinkTool',
107 MSVSTool('VCManifestTool',
108 AdditionalManifestFiles=(
109 '$(SolutionDir)installer/'
110 + 'mini_installer/'
111 + 'mini_installer.exe.manifest')),
112 'VCXDCMakeTool',
113 'VCBscMakeTool',
114 'VCFxCopTool',
115 'VCAppVerifierTool',
116 'VCWebDeploymentTool',
117 'VCPostBuildEventTool',
118 ],
119 ConfigurationType='1')
120
121
122 p.AddConfig('Debug|Win32',
123 InheritedPropertySheets=[
124 '$(SolutionDir)../build/common.vsprops',
125 '$(SolutionDir)../build/debug.vsprops',
126 '$(SolutionDir)/tools/build/win/unit_test.vsprops',
127 '$(SolutionDir)../testing/using_gtest.vsprops',
128 ])
129
130 p.AddConfig('Release|Win32',
131 InheritedPropertySheets=[
132 '$(SolutionDir)../build/common.vsprops',
133 '$(SolutionDir)../build/release.vsprops',
134 '$(SolutionDir)/tools/build/win/unit_test.vsprops',
135 '$(SolutionDir)../testing/using_gtest.vsprops',
136 ])
OLDNEW
« no previous file with comments | « chrome/installer/setup/setup.scons ('k') | chrome/installer/util/util.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698