Commit b40d7071 authored by Wez's avatar Wez Committed by Commit Bot

[Fuchsia] Remove legacy constant names from FIDL/JS.

Transition to the fully-qualified names has rolled in the SDK, so remove
the legacy accommodation.

Bug: 988195
Change-Id: I41bf4c655526c6ef8fd8d41976c879c4f78ce4ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746760
Auto-Submit: Wez <wez@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#686656}
parent 156fc62d
......@@ -221,11 +221,6 @@ const %(name)s = {
'/' + name + '.' + member.name)
javascript_name = name + '.' + member.name
self.resolved_constant_name[fidl_constant_name] = javascript_name
# https://crbug.com/988195: Also map the legacy unqualified name.
legacy_fidl_constant_name = ('.'.join(compound.library) +
'/' + member.name)
self.resolved_constant_name[legacy_fidl_constant_name] = javascript_name
self.f.write('};\n')
self.f.write('const _kTT_%(name)s = _kTT_%(type)s;\n\n' % data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment