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

Unified Diff: tools/get_archive.py

Issue 10917293: Copy AHEM____.TTF after DRT update. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/get_archive.py
diff --git a/tools/get_archive.py b/tools/get_archive.py
index cbba11748239b4495d5c193e6b41bd465a0f8fac..cfbfec3783819811fea3d07ac0ee5f3870a70d72 100755
--- a/tools/get_archive.py
+++ b/tools/get_archive.py
@@ -315,6 +315,12 @@ def TooEarlyError():
sys.exit(1)
+def CopyDrtFont(drt_dir):
+ if platform.system() != 'Windows':
+ return
+ shutil.copy('third_party/drt_resources/AHEM____.TTF', drt_dir)
+
+
def main():
parser = optparse.OptionParser(usage='usage: %prog [options] download_name')
parser.add_option('-r', '--revision', dest='revision',
@@ -341,6 +347,7 @@ def main():
GetDartiumRevision('DumpRenderTree', DRT_DIR, DRT_VERSION,
DRT_LATEST_PATTERN, DRT_PERMANENT_PATTERN,
args.revision)
+ CopyDrtFont(DRT_DIR)
else:
print ('Please specify the target you wish to download from Google Storage '
'("drt", "dartium", "chromedriver", or "sdk")')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698