Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: cc/copyfiles.py

Issue 10909020: Enable webkit_compositor_unittests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/test/CCAnimationTestCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/copyfiles.py
diff --git a/cc/copyfiles.py b/cc/copyfiles.py
index 8366ccbbc74eeb456125d33c67aabf2740b600db..00943ae9ee2a1f2633165fb20af43edc97c07c33 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
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/test/CCAnimationTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698