blob: be15edfbd4b4e24ef7f6754662f60037225e4b66 [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import argparse
import sys
def main():
parser = argparse.ArgumentParser(
description='Converts a FIDL library name to an include path base')
parser.add_argument('--name',
help='Name of the FIDL library',
required=True)
args = parser.parse_args()
print('%s/c/fidl' % args.name.replace('.', '/'))
if __name__ == '__main__':
sys.exit(main())