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

Side by Side Diff: third_party/scons/scons-local/SCons/Tool/wix.py

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
OLDNEW
1 """SCons.Tool.wix 1 """SCons.Tool.wix
2 2
3 Tool-specific initialization for wix, the Windows Installer XML Tool. 3 Tool-specific initialization for wix, the Windows Installer XML Tool.
4 4
5 There normally shouldn't be any need to import this module directly. 5 There normally shouldn't be any need to import this module directly.
6 It will usually be imported through the generic SCons.Tool.Tool() 6 It will usually be imported through the generic SCons.Tool.Tool()
7 selection method. 7 selection method.
8 """ 8 """
9 9
10 # 10 #
(...skipping 12 matching lines...) Expand all
23 # 23 #
24 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 24 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 25 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
26 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 # 31 #
32 32
33 __revision__ = "src/engine/SCons/Tool/wix.py 3603 2008/10/10 05:46:45 scons" 33 __revision__ = "src/engine/SCons/Tool/wix.py 3842 2008/12/20 22:59:52 scons"
34 34
35 import SCons.Builder 35 import SCons.Builder
36 import SCons.Action 36 import SCons.Action
37 import os 37 import os
38 import string 38 import string
39 39
40 def generate(env): 40 def generate(env):
41 """Add Builders and construction variables for WiX to an Environment.""" 41 """Add Builders and construction variables for WiX to an Environment."""
42 if not exists(env): 42 if not exists(env):
43 return 43 return
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 env['WIXLIGHT'] in os.listdir(path): 85 env['WIXLIGHT'] in os.listdir(path):
86 env.PrependENVPath('PATH', path) 86 env.PrependENVPath('PATH', path)
87 env['WIXLIGHTFLAGS'] = [ os.path.join( path, 'wixui.wixlib' ) , 87 env['WIXLIGHTFLAGS'] = [ os.path.join( path, 'wixui.wixlib' ) ,
88 '-loc', 88 '-loc',
89 os.path.join( path, 'WixUI_en-us.wxl ' ) ] 89 os.path.join( path, 'WixUI_en-us.wxl ' ) ]
90 return 1 90 return 1
91 except OSError: 91 except OSError:
92 pass # ignore this, could be a stale PATH entry. 92 pass # ignore this, could be a stale PATH entry.
93 93
94 return None 94 return None
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/Tool/tlib.py ('k') | third_party/scons/scons-local/SCons/Tool/yacc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698