65
66 manifest_output = args.output + '.manifest'
67 with open(manifest_output, 'w') as manifest:
68
69 for root, dirs, files in os.walk(DART_ROOT):
70 dirs[:] = [d for d in dirs if d not in EXCLUDE_DIRS]
71 for file in files:
72 filepath = os.path.join(root, file)
73 relpath = filepath[
len(DART_ROOT) + 1:]
74 fuchsiapath = os.path.join(FUCHSIA_TEST_MANIFEST_PREFIX,
75 relpath)
76 manifest.write(
77 '%s=%s\n' % (fuchsiapath, os.path.join(root, file)))
78
80 dart_out = os.path.join(FUCHSIA_TEST_MANIFEST_PREFIX, 'out', dart_conf)
81 fuchsia_conf =
'%s-%s' % (args.mode,
fuchsia_arch(args.arch))
82 fuchsia_out = os.path.join(FUCHSIA_ROOT, 'out', fuchsia_conf)
83 for file in BINARY_FILES:
84 manifest.write('%s=%s\n' % (os.path.join(dart_out, file),
85 os.path.join(fuchsia_out, file)))
86
87 return 0
88
89
def GetBuildConf(mode, arch)
static void parse_args(int argc, char *argv[], Args *args)