summaryrefslogtreecommitdiffstats
path: root/cc/copyfiles.py
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 23:25:27 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 23:25:27 +0000
commitc0dd24c4c6af6280e5c286ccb872f914560598b7 (patch)
treec5fc9825367e88ae8959cb447b3684f4ab322444 /cc/copyfiles.py
parentce71608c071b244cb668e4ee858108d90a00be5e (diff)
downloadchromium_src-c0dd24c4c6af6280e5c286ccb872f914560598b7.zip
chromium_src-c0dd24c4c6af6280e5c286ccb872f914560598b7.tar.gz
chromium_src-c0dd24c4c6af6280e5c286ccb872f914560598b7.tar.bz2
Enable webkit_compositor_unittests
These are unit tests of the webkit compositor bindings that bind the WebKit Platform Web*Layer* family of APIs to cc. They currently depend on some test utilities in cc. Also updates snapshot to WebKit r127194 BUG= Review URL: https://chromiumcodereview.appspot.com/10909020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/copyfiles.py')
-rw-r--r--cc/copyfiles.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/cc/copyfiles.py b/cc/copyfiles.py
index 8366ccb..00943ae 100644
--- a/cc/copyfiles.py
+++ b/cc/copyfiles.py
@@ -61,16 +61,15 @@ def Readfile(gypfile):
obj = eval(cc_gyp.read())
return obj
-def Main():
- files = Readfile("cc.gyp")['variables']['cc_source_files']
+def CopyFiles(files):
for f in files:
dst = Copy(f)
FixCopyrightHeader(dst)
- files = Readfile("cc_tests.gyp")['variables']['cc_tests_source_files']
- for f in files:
- dst = Copy(f)
- FixCopyrightHeader(dst)
+def Main():
+ CopyFiles(Readfile("cc.gyp")['variables']['cc_source_files'])
+ CopyFiles(Readfile("cc_tests.gyp")['variables']['cc_tests_source_files'])
+ CopyFiles(Readfile("cc_tests.gyp")['variables']['cc_tests_support_files'])
if __name__ == '__main__':
import sys