2016-02-19 14:41:16 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import os
|
|
|
|
import tarfile
|
2016-07-22 15:25:06 +00:00
|
|
|
from itertools import chain
|
2016-02-19 14:41:16 +00:00
|
|
|
|
|
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
2016-07-22 15:25:06 +00:00
|
|
|
for root, dirs, files in chain(os.walk("data"), os.walk("harness")):
|
2016-02-19 14:41:16 +00:00
|
|
|
dirs[:] = [d for d in dirs if not d.endswith('.git')]
|
|
|
|
for name in files:
|
|
|
|
# These names are for gyp, which expects slashes on all platforms.
|
|
|
|
print('/'.join(root.split(os.sep) + [name]))
|