Move closure-library-read-only to closure-library (due to the Closure project's move).

This commit is contained in:
Neil Fraser
2014-10-29 22:51:12 -07:00
parent 6909e38fc8
commit f5108ba043
13 changed files with 43 additions and 39 deletions

View File

@@ -129,7 +129,7 @@ delete window.BLOCKLY_BOOT;
document.write('<script type="text/javascript">var goog = undefined;</script>');
// Load fresh Closure Library.
document.write('<script type="text/javascript" src="' + window.BLOCKLY_DIR +
'/../closure-library-read-only/closure/goog/base.js"></script>');
'/../closure-library/closure/goog/base.js"></script>');
document.write('<script type="text/javascript">window.BLOCKLY_BOOT()</script>');
""")
f.close()
@@ -404,13 +404,13 @@ class Gen_langfiles(threading.Thread):
if __name__ == '__main__':
try:
calcdeps = import_path(os.path.join(os.path.pardir,
'closure-library-read-only', 'closure', 'bin', 'calcdeps.py'))
'closure-library', 'closure', 'bin', 'calcdeps.py'))
except ImportError:
print("""Error: Closure not found. Read this:
https://developers.google.com/blockly/hacking/closure""")
sys.exit(1)
search_paths = calcdeps.ExpandDirectories(
['core', os.path.join(os.path.pardir, 'closure-library-read-only')])
['core', os.path.join(os.path.pardir, 'closure-library')])
# Run both tasks in parallel threads.
# Uncompressed is limited by processor speed.