Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
scottmg@chromium.org de129dd1ee Quieter cab extraction
Suppress stdout of 'expand' command unless there's an error.

i.e.

"""
[2294->7960/10271 ~17] ACTION content_common: extract_xinput
Microsoft (R) File Expansion Utility  Version 6.1.7600.16385
Copyright (c) Microsoft Corporation. All rights reserved.

Adding ../out/Debug\tmpamaser\xinput1_3.dll to Extraction Queue

Expanding Files ....

Expanding Files Complete ...
[2164->8090/10271 ~17] ACTION content_gpu: extract_d3dx9
Microsoft (R) File Expansion Utility  Version 6.1.7600.16385
Copyright (c) Microsoft Corporation. All rights reserved.

Adding ../out/Debug\tmpcxuoz9\d3dx9_43.dll to Extraction Queue

Expanding Files ....

Expanding Files Complete ...
[2163->8091/10271 ~17] ACTION content_gpu: extract_d3dcompiler
Microsoft (R) File Expansion Utility  Version 6.1.7600.16385
Copyright (c) Microsoft Corporation. All rights reserved.

Adding ../out/Debug\tmploys57\D3DCompiler_43.dll to Extraction Queue

Expanding Files ....

Expanding Files Complete ...
"""

R=apatrick@chromium.org
BUG=126483

Review URL: https://chromiumcodereview.appspot.com/10409086

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 07:08:56 +00:00
grt@chromium.org b3a94d8445 Yet another fix for concurrent calls to expand.exe.
This time, try doing the work in uniquely named temp directories rather than blocking.

BUG=107291
TEST=Watch for build failures while extracting d3dx9_43.dll, D3DCompiler_43.dll, or xinput1_3.dll.

Review URL: http://codereview.chromium.org/8890072

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114290 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-13 22:20:46 +00:00
apatrick@chromium.org 34f1cc1bdc Address comments in 8921029 extract_from_cab script now takes a global lock while extracting from the CAB file.
http://codereview.chromium.org/8921029/

BUG=107291

Review URL: http://codereview.chromium.org/8929001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114173 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-13 03:32:12 +00:00
apatrick@chromium.org 9fe7e36db0 extract_from_cab script now takes a global lock while extracting from the CAB file.
I suspect the Microsoft expand tool does not work reliably if invoked concurrently. Since a recent change to extract the xinput DLL using the same script, but for a different target than the D3D DLLs, it is possible that expand_from_cab.py can be invoked concurrently.

BUG=107291
Review URL: http://codereview.chromium.org/8921029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114132 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-13 00:34:15 +00:00
maruel@chromium.org 16ff10324f Add automatic retry of cab extraction.
It fails occasionally with:
One or more files could not be expanded. Delta Package Expander Returned 0x80070002
Expanding File ..\third_party\directxsdk\files\redist\jun2010_d3dx9_43_x86.cab Incomplete, Error Code=0x80070002
Error Description: The system cannot find the file specified.

NOTRY=true
TBR=sky@chromium.org
BUG=
TEST=


Review URL: http://codereview.chromium.org/8883029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@113653 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-08 20:47:15 +00:00
maruel@chromium.org 628d2696f1 Fix python scripts in src/build/
Make sure that:
- shebang is only present for executable files
- shebang is #!/usr/bin/env python
- __main__ is only present for executable files
- file's executable bit is coherent

Also fix EOF LF to be only one.

TBR=michaelbai@chromium.org
BUG=105108
TEST=

Review URL: http://codereview.chromium.org/8667008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 19:13:44 +00:00
apatrick@chromium.org 11cfe360cb Touch extracted D3DX9 dll in extract_d3dx9 action.
This was necessary because the Windows expand utility preserves the modification time from the archive. This lead to the extract_d3dx9 action firing repeatedly because the action output was older than the input.

TEST=try
BUG=none

Review URL: http://codereview.chromium.org/3067008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@54058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-28 23:02:22 +00:00