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

Unified Diff: mojo/public/sky/convert_amd_modules_to_sky.py

Issue 881093003: Normalize import paths for Sky modules (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
Index: mojo/public/sky/convert_amd_modules_to_sky.py
diff --git a/mojo/public/sky/convert_amd_modules_to_sky.py b/mojo/public/sky/convert_amd_modules_to_sky.py
index ddff565cce79dc89889abbd32f70f9afbd837545..906bc05530be9290d46967505e6a03b5d74e62af 100755
--- a/mojo/public/sky/convert_amd_modules_to_sky.py
+++ b/mojo/public/sky/convert_amd_modules_to_sky.py
@@ -7,7 +7,7 @@ import argparse
import sys
import re
-IMPORT_TEMPLATE = '<import src="/%s.sky" as="%s" />'
+IMPORT_TEMPLATE = '<import src="/gen/%s.sky" as="%s" />'
PREAMBLE_TEMPLATE = '<script>'
POSTAMBLE_TEMPLATE = ' module.exports = exports;\n</script>'

Powered by Google App Engine
This is Rietveld 408576698