OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 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 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/gfx/using_base_gfx.scons', | 10 '$BASE_DIR/gfx/using_base_gfx.scons', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 if env.Bit('windows'): | 55 if env.Bit('windows'): |
56 env.Prepend( | 56 env.Prepend( |
57 LIBS = [ | 57 LIBS = [ |
58 'rpcrt4', | 58 'rpcrt4', |
59 'shlwapi', | 59 'shlwapi', |
60 'winmm', | 60 'winmm', |
61 ], | 61 ], |
62 ) | 62 ) |
63 | 63 |
64 input_files = [ | 64 input_files = ChromeFileList([ |
65 'generate_profile.cc', | 65 'generate_profile.cc', |
66 ] | 66 'thumbnail-inl.h', |
| 67 ]) |
67 | 68 |
68 # TODO(port): | 69 # TODO(port): |
69 if env.Bit('windows'): | 70 if env.Bit('windows'): |
70 env.ChromeTestProgram('generate_profile', input_files) | 71 env.ChromeTestProgram('generate_profile', input_files) |
71 | 72 |
72 env.ChromeMSVSProject('$CHROME_DIR/tools/profiles/generate_profile.vcproj', | 73 p = env.ChromeMSVSProject('generate_profile.vcproj', |
73 dependencies = [ | 74 dest=('$CHROME_SRC_DIR/chrome/' |
74 '$BASE_DIR/build/base.vcproj', | 75 + 'tools/profiles/generate_profile.vcproj'), |
75 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | 76 guid='{2E969AE9-7B12-4EDB-8E8B-48C7AE7BE357}', |
76 '$CHROME_DIR/plugin/plugin.vcproj', | 77 keyword='Win32Proj', |
77 '$LIBJPEG_DIR/libjpeg.vcproj', | 78 dependencies = [ |
78 '$BZIP2_DIR/bzip2.vcproj', | 79 '$BASE_DIR/build/base.vcproj', |
79 '$NET_DIR/build/net.vcproj', | 80 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
80 ('$WEBKIT_DIR/build/JavaScriptCore/' + | 81 '$CHROME_DIR/plugin/plugin.vcproj', |
81 'JavaScriptCore_pcre.vcproj'), | 82 '$LIBJPEG_DIR/libjpeg.vcproj', |
82 '$WEBKIT_DIR/build/port/port.vcproj', | 83 '$BZIP2_DIR/bzip2.vcproj', |
83 '$CHROME_DIR/browser/debugger/debugger.vcproj', | 84 '$NET_DIR/build/net.vcproj', |
84 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', | 85 ('$WEBKIT_DIR/build/JavaScriptCore/' + |
85 '$CHROME_DIR/browser/browser.vcproj', | 86 'JavaScriptCore_pcre.vcproj'), |
86 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', | 87 '$WEBKIT_DIR/build/port/port.vcproj', |
87 '$SQLITE_DIR/sqlite.vcproj', | 88 '$CHROME_DIR/browser/debugger/debugger.vcproj', |
88 '$CHROME_DIR/views/views.vcproj', | 89 ('$WEBKIT_DIR/default_plugin/' |
89 '$MODP_B64_DIR/modp_b64.vcproj', | 90 + 'default_plugin.vcproj'), |
90 '$ZLIB_DIR/zlib.vcproj', | 91 '$CHROME_DIR/browser/browser.vcproj', |
91 '$CHROME_DIR/common/common.vcproj', | 92 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', |
92 '$ICU38_DIR/build/icu.vcproj', | 93 '$SQLITE_DIR/sqlite.vcproj', |
93 '$CHROME_DIR/renderer/renderer.vcproj', | 94 '$CHROME_DIR/views/views.vcproj', |
94 '$BASE_DIR/build/base_gfx.vcproj', | 95 '$MODP_B64_DIR/modp_b64.vcproj', |
95 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', | 96 '$ZLIB_DIR/zlib.vcproj', |
96 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 97 '$CHROME_DIR/common/common.vcproj', |
97 '$LIBPNG_DIR/libpng.vcproj', | 98 '$ICU38_DIR/build/icu.vcproj', |
98 '$WEBKIT_DIR/build/glue/glue.vcproj', | 99 '$CHROME_DIR/renderer/renderer.vcproj', |
99 '$SKIA_DIR/skia.vcproj', | 100 '$BASE_DIR/build/base_gfx.vcproj', |
100 '$CHROME_DIR/third_party/hunspell/hunspell.vcproj', | 101 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
101 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 102 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
102 '$CHROME_DIR/installer/util/util.vcproj', | 103 '$LIBPNG_DIR/libpng.vcproj', |
103 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', | 104 '$WEBKIT_DIR/build/glue/glue.vcproj', |
104 '$SDCH_DIR/sdch.vcproj', | 105 '$SKIA_DIR/skia.vcproj', |
105 '$CHROME_DIR/browser/views/browser_views.vcproj', | 106 ('$CHROME_DIR/third_party/' |
106 '$LIBXSLT_DIR/build/libxslt.vcproj', | 107 + 'hunspell/hunspell.vcproj'), |
107 » | 108 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
108 ], | 109 '$CHROME_DIR/installer/util/util.vcproj', |
109 guid='{2E969AE9-7B12-4EDB-8E8B-48C7AE7BE357}') | 110 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', |
| 111 '$SDCH_DIR/sdch.vcproj', |
| 112 '$CHROME_DIR/browser/views/browser_views.vcproj', |
| 113 '$LIBXSLT_DIR/build/libxslt.vcproj', |
| 114 » |
| 115 ], |
| 116 # TODO(sgk): when we can intuit the hierarchy |
| 117 # from the built targets. |
| 118 #buildtargets=TODO, |
| 119 files=input_files, |
| 120 relative_path_prefix='./', |
| 121 tools=[ |
| 122 'VCPreBuildEventTool', |
| 123 'VCCustomBuildTool', |
| 124 'VCXMLDataGeneratorTool', |
| 125 'VCWebServiceProxyGeneratorTool', |
| 126 'VCMIDLTool', |
| 127 MSVSTool('VCCLCompilerTool', |
| 128 AdditionalIncludeDirectories='../../..', |
| 129 PreprocessorDefinitions='PERF_TEST'), |
| 130 'VCManagedResourceCompilerTool', |
| 131 'VCResourceCompilerTool', |
| 132 'VCPreLinkEventTool', |
| 133 MSVSTool('VCLinkerTool', |
| 134 AdditionalDependencies=[ |
| 135 'shlwapi.lib', |
| 136 'rpcrt4.lib', |
| 137 'winmm.lib' |
| 138 ], |
| 139 SubSystem='1'), |
| 140 'VCALinkTool', |
| 141 'VCManifestTool', |
| 142 'VCXDCMakeTool', |
| 143 'VCBscMakeTool', |
| 144 'VCFxCopTool', |
| 145 'VCAppVerifierTool', |
| 146 'VCWebDeploymentTool', |
| 147 'VCPostBuildEventTool', |
| 148 ], |
| 149 ConfigurationType='1') |
| 150 |
| 151 |
| 152 p.AddConfig('Debug|Win32', |
| 153 InheritedPropertySheets=[ |
| 154 '$(SolutionDir)../build/common.vsprops', |
| 155 '$(SolutionDir)../build/debug.vsprops', |
| 156 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', |
| 157 '../../../skia/using_skia.vsprops', |
| 158 ]) |
| 159 |
| 160 p.AddConfig('Release|Win32', |
| 161 InheritedPropertySheets=[ |
| 162 '$(SolutionDir)../build/common.vsprops', |
| 163 '$(SolutionDir)../build/release.vsprops', |
| 164 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', |
| 165 '../../../skia/using_skia.vsprops', |
| 166 ]) |
OLD | NEW |