Skip to content

Commit

Permalink
tools/make-frozen: Update for latest changes in frozen modules support.
Browse files Browse the repository at this point in the history
Frozen modules are now stored with extensions and with '/' as path
separator. In other words, frozen modules paths stored as they are
in normal filesystem.
  • Loading branch information
pfalcon committed May 21, 2016
1 parent fb742cd commit daa4793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/make-frozen.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


def module_name(f):
return f[:-len(".py")]
return f

modules = []

Expand All @@ -40,7 +40,7 @@ def module_name(f):
print("const char mp_frozen_str_names[] = {")
for f, st in modules:
m = module_name(f)
print('"%s\\0"' % m.replace("/", "."))
print('"%s\\0"' % m)
print('"\\0"};')

print("const uint32_t mp_frozen_str_sizes[] = {")
Expand Down

0 comments on commit daa4793

Please sign in to comment.