blob: 0764709529fad5bcabb758f438d5c1ea0e19ef80 [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/cpp/fidl' % args.name.replace('.', '/'))
if __name__ == '__main__':
sys.exit(main())