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

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

Issue 837283002: Mojo JS Bindings: merge Application, Shell, ServiceProvider with Sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Commit missing file 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
« no previous file with comments | « examples/js/wget.js ('k') | mojo/services/BUILD.gn » ('j') | sky/tools/skydb » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4a7ed8d611a53501c94f8fd209131ddaed77871a..ddff565cce79dc89889abbd32f70f9afbd837545 100755
--- a/mojo/public/sky/convert_amd_modules_to_sky.py
+++ b/mojo/public/sky/convert_amd_modules_to_sky.py
@@ -42,7 +42,8 @@ def AddImportNames(module, unparsed_names):
module.imports[i].name = names[i]
def RewritePathNames(path):
- return path.replace("mojo/public/js", "mojo/public/sky")
+ return path.replace("mojo/public/js", "mojo/public/sky") \
+ .replace("mojo/services/public/js", "mojo/services/public/sky")
def Parse(amd_module):
module = Module()
« no previous file with comments | « examples/js/wget.js ('k') | mojo/services/BUILD.gn » ('j') | sky/tools/skydb » ('J')

Powered by Google App Engine
This is Rietveld 408576698