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

Side by Side Diff: webkit/compositor/copyfiles.py

Issue 10898023: Update cc snapshot to WK r126941 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased Created 8 years, 3 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 unified diff | Download patch
« no previous file with comments | « cc/test/MockCCQuadCuller.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import shutil 5 import shutil
6 import os 6 import os
7 import re 7 import re
8 8
9 prefixes = ["../../third_party/WebKit/Source/WebCore/platform/chromium/support", 9 prefixes = ["../../third_party/WebKit/Source/WebCore/platform/chromium/support",
10 "../../third_party/WebKit/Source/WebKit/chromium/src", 10 "../../third_party/WebKit/Source/WebKit/chromium/src",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 fixed_text = FixCopyrightHeaderText(text, year) 57 fixed_text = FixCopyrightHeaderText(text, year)
58 with open(filepath, "w") as f: 58 with open(filepath, "w") as f:
59 f.write(fixed_text) 59 f.write(fixed_text)
60 60
61 def Main(): 61 def Main():
62 files = Readfile("compositor.gyp")['variables']['webkit_compositor_sources'] 62 files = Readfile("compositor.gyp")['variables']['webkit_compositor_sources']
63 for f in files: 63 for f in files:
64 dst = Copy(f) 64 dst = Copy(f)
65 FixCopyrightHeader(dst) 65 FixCopyrightHeader(dst)
66 66
67 files = Readfile("compositor.gyp")['variables']['webkit_compositor_tests_sourc es'] 67 variables = Readfile("compositor_tests.gyp")['variables']
68 files = variables['webkit_compositor_tests_sources']
68 for f in files: 69 for f in files:
69 dst = Copy(f) 70 dst = Copy(f)
70 FixCopyrightHeader(dst) 71 FixCopyrightHeader(dst)
71 72
72 if __name__ == '__main__': 73 if __name__ == '__main__':
73 import sys 74 import sys
74 os.chdir(os.path.dirname(__file__)) 75 os.chdir(os.path.dirname(__file__))
75 sys.exit(Main()) 76 sys.exit(Main())
OLDNEW
« no previous file with comments | « cc/test/MockCCQuadCuller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698