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 os | 5 import os |
6 | 6 |
7 Import(['env']) | 7 Import(['env']) |
8 | 8 |
9 env_res = env.Clone() | 9 env_res = env.Clone() |
10 env_test = env.Clone() | 10 env_test = env.Clone() |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 chrome_exe_version_res = env_res.RES(chrome_exe_version_rc) | 252 chrome_exe_version_res = env_res.RES(chrome_exe_version_rc) |
253 chrome_dll_version_res = env_res.RES(chrome_dll_version_rc) | 253 chrome_dll_version_res = env_res.RES(chrome_dll_version_rc) |
254 | 254 |
255 install_targets.extend(chrome_exe_version_rc) | 255 install_targets.extend(chrome_exe_version_rc) |
256 install_targets.extend(chrome_exe_version_res) | 256 install_targets.extend(chrome_exe_version_res) |
257 | 257 |
258 install_targets.extend(chrome_dll_version_rc) | 258 install_targets.extend(chrome_dll_version_rc) |
259 install_targets.extend(chrome_dll_version_res) | 259 install_targets.extend(chrome_dll_version_res) |
260 | 260 |
| 261 env.ChromeMSVSProject('$CHROME_DIR/app/chrome_dll.vcproj', |
| 262 dependencies = [ |
| 263 '$BASE_DIR/build/base.vcproj', |
| 264 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
| 265 '$CHROME_DIR/plugin/plugin.vcproj', |
| 266 '$LIBJPEG_DIR/libjpeg.vcproj', |
| 267 '$BZIP2_DIR/bzip2.vcproj', |
| 268 '$NET_DIR/build/net.vcproj', |
| 269 ('$WEBKIT_DIR/build/JavaScriptCore/' + |
| 270 'JavaScriptCore_pcre.vcproj'), |
| 271 '$WEBKIT_DIR/build/port/port.vcproj', |
| 272 '$CHROME_DIR/browser/debugger/debugger.vcproj', |
| 273 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', |
| 274 '$CHROME_DIR/browser/browser.vcproj', |
| 275 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', |
| 276 '$SQLITE_DIR/sqlite.vcproj', |
| 277 '$CHROME_DIR/views/views.vcproj', |
| 278 '$MODP_B64_DIR/modp_b64.vcproj', |
| 279 '$ZLIB_DIR/zlib.vcproj', |
| 280 '$CHROME_DIR/common/common.vcproj', |
| 281 '$ICU38_DIR/build/icu.vcproj', |
| 282 '$CHROME_DIR/renderer/renderer.vcproj', |
| 283 '$BASE_DIR/build/base_gfx.vcproj', |
| 284 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
| 285 '$CHROME_DIR/browser/resources/browser_resources.vcproj', |
| 286 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
| 287 '$LIBPNG_DIR/libpng.vcproj', |
| 288 '$WEBKIT_DIR/build/glue/glue.vcproj', |
| 289 '$SKIA_DIR/skia.vcproj', |
| 290 '$CHROME_DIR/third_party/hunspell/hunspell.vcproj', |
| 291 '$GEARS_DIR/gears.vcproj', |
| 292 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 293 '$CHROME_DIR/installer/util/util.vcproj', |
| 294 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', |
| 295 '$SDCH_DIR/sdch.vcproj', |
| 296 '$CHROME_DIR/browser/views/browser_views.vcproj', |
| 297 '$LIBXSLT_DIR/build/libxslt.vcproj', |
| 298 ], |
| 299 guid='{C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9}') |
| 300 |
261 | 301 |
262 | 302 |
263 env_exe = env.Clone() | 303 env_exe = env.Clone() |
264 | 304 |
265 env_exe.Prepend( | 305 env_exe.Prepend( |
266 CPPPATH = [ | 306 CPPPATH = [ |
267 '..', | 307 '..', |
268 '$BREAKPAD_DIR/src', | 308 '$BREAKPAD_DIR/src', |
269 ], | 309 ], |
270 LIBS = [ | 310 LIBS = [ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 '$DESTINATION_ROOT/First Run', | 361 '$DESTINATION_ROOT/First Run', |
322 '$DESTINATION_ROOT/themes', | 362 '$DESTINATION_ROOT/themes', |
323 Alias('chrome_locales'), | 363 Alias('chrome_locales'), |
324 Alias('chrome_Dictionaries'), | 364 Alias('chrome_Dictionaries'), |
325 ]) | 365 ]) |
326 | 366 |
327 env.Install('$DESTINATION_ROOT', '$CHROME_DIR/app/FirstRun') | 367 env.Install('$DESTINATION_ROOT', '$CHROME_DIR/app/FirstRun') |
328 | 368 |
329 # For release we want to run dependencies.py, may look something like: | 369 # For release we want to run dependencies.py, may look something like: |
330 #env.AddPostAction('$TARGET_ROOT/chrome.exe', | 370 #env.AddPostAction('$TARGET_ROOT/chrome.exe', |
331 # '$PYTHON tools/build/win/dependencies.py $(TargetPath) chro
me.exe.deps') | 371 # ('$PYTHON tools/build/win/dependencies.py ' + |
| 372 # '$(TargetPath) chrome.exe.deps')) |
332 | 373 |
| 374 env.ChromeMSVSProject('$CHROME_DIR/app/chrome_exe.vcproj', |
| 375 dependencies = [ |
| 376 '$BASE_DIR/build/base.vcproj', |
| 377 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 378 '$CHROME_DIR/tools/crash_service/crash_service.vcproj', |
| 379 '$BREAKPAD_DIR/breakpad_handler.vcproj', |
| 380 '$CHROME_DIR/app/chrome_dll.vcproj', |
| 381 '$CHROME_DIR/app/locales/en-US.vcproj', |
| 382 '$CHROME_DIR/installer/util/util.vcproj', |
| 383 '$CHROME_DIR/app/theme/theme_dll.vcproj', |
| 384 ], |
| 385 guid='{7B219FAA-E360-43C8-B341-804A94EEFFAC}') |
333 | 386 |
334 | 387 |
335 env_flat = env.Clone( | 388 env_flat = env.Clone( |
336 BROWSER_RESOURCES = Dir('browser_resources'), | 389 BROWSER_RESOURCES = Dir('browser_resources'), |
337 HTML_INLINE = env.File( | 390 HTML_INLINE = env.File( |
338 '$CHROME_SRC_DIR/chrome/tools/build/win/html_inline.py'), | 391 '$CHROME_SRC_DIR/chrome/tools/build/win/html_inline.py'), |
339 FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET', | 392 FLATTEN_HTML_COM = '$PYTHON $HTML_INLINE $SOURCE $TARGET', |
340 ) | 393 ) |
341 | 394 |
342 def FlatHtmlEmitter(target, source, env): | 395 def FlatHtmlEmitter(target, source, env): |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 ] | 461 ] |
409 | 462 |
410 # TODO(port) | 463 # TODO(port) |
411 if env.Bit('windows'): | 464 if env.Bit('windows'): |
412 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) | 465 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) |
413 | 466 |
414 env.Command('$DESTINATION_ROOT/resources/inspector', | 467 env.Command('$DESTINATION_ROOT/resources/inspector', |
415 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', | 468 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', |
416 Copy('$TARGET', '$SOURCE'), | 469 Copy('$TARGET', '$SOURCE'), |
417 source_scanner=DirScanner) | 470 source_scanner=DirScanner) |
OLD | NEW |