~ubuntu-branches/ubuntu/saucy/nodejs/saucy-proposed

« back to all changes in this revision

Viewing changes to tools/wafadmin/Tools/gob2.py

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-08-14 00:16:46 UTC
  • mfrom: (7.1.40 sid)
  • Revision ID: package-import@ubuntu.com-20130814001646-bzlysfh8sd6mukbo
Tags: 0.10.15~dfsg1-4
* Update 2005 patch, adding a handful of tests that can fail on
  slow platforms.
* Add 1004 patch to fix test failures when writing NaN to buffer
  on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# encoding: utf-8
3
 
# Ali Sabil, 2007
4
 
 
5
 
import TaskGen
6
 
 
7
 
TaskGen.declare_chain(
8
 
        name = 'gob2',
9
 
        rule = '${GOB2} -o ${TGT[0].bld_dir(env)} ${GOB2FLAGS} ${SRC}',
10
 
        ext_in = '.gob',
11
 
        ext_out = '.c'
12
 
)
13
 
 
14
 
def detect(conf):
15
 
        gob2 = conf.find_program('gob2', var='GOB2', mandatory=True)
16
 
        conf.env['GOB2'] = gob2
17
 
        conf.env['GOB2FLAGS'] = ''
18