2011-02-22 22:15:28 -06:00
|
|
|
#!/usr/bin/env python
|
2010-12-19 03:17:18 -08:00
|
|
|
import sys, os
|
|
|
|
|
|
|
|
|
|
import vars_init
|
|
|
|
|
vars_init.init([])
|
|
|
|
|
|
|
|
|
|
import vars, state, deps
|
|
|
|
|
from log import err
|
|
|
|
|
|
|
|
|
|
if len(sys.argv[1:]) != 0:
|
|
|
|
|
err('%s: no arguments expected.\n' % sys.argv[0])
|
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
2010-12-19 03:39:37 -08:00
|
|
|
|
|
|
|
|
cache = {}
|
|
|
|
|
|
|
|
|
|
def is_checked(f):
|
|
|
|
|
return cache.get(f.id, 0)
|
|
|
|
|
|
|
|
|
|
def set_checked(f):
|
|
|
|
|
cache[f.id] = 1
|
|
|
|
|
|
|
|
|
|
|
2010-12-19 03:17:18 -08:00
|
|
|
for f in state.files():
|
|
|
|
|
if f.is_generated and f.read_stamp() != state.STAMP_MISSING:
|
2010-12-19 03:39:37 -08:00
|
|
|
if deps.isdirty(f, depth='', max_changed=vars.RUNID,
|
2018-10-30 23:03:46 -04:00
|
|
|
already_checked=[],
|
2010-12-19 03:39:37 -08:00
|
|
|
is_checked=is_checked, set_checked=set_checked):
|
2010-12-19 03:17:18 -08:00
|
|
|
print f.nicename()
|