1# Taken from #1409 submitted by @sgraham 2 3CTAGS="$1 --quiet --options=NONE --fields=+l" 4 5echo '#' "input: input.cc, optlib: shared" 6${CTAGS} --options=./mojom-shared.ctags -o - input.cc 7echo '#' "input: input.mojom, optlib: shared" 8${CTAGS} --options=./mojom-shared.ctags -o - input.mojom 9 10echo 11echo '#' "input: input.cc, optlib: dedicated" 12${CTAGS} --options=./mojom-dedicated.ctags -o - input.cc 13echo '#' "input: input.mojom, optlib: dedicated" 14${CTAGS} --options=./mojom-dedicated.ctags -o - input.mojom 15 16echo 17echo '#' "input: input.cc, optlib: bidirectional" 18${CTAGS} --options=./mojom-bidirectional.ctags -o - input.cc 19echo '#' "input: input.mojom, optlib: bidirectional" 20${CTAGS} --options=./mojom-bidirectional.ctags -o - input.mojom 21 22echo 23echo '#' "input: input.cc, optlib: <default>" 24${CTAGS} --options=./mojom-default.ctags -o - input.cc 25echo '#' "input: input.mojom, optlib: <default>" 26${CTAGS} --options=./mojom-default.ctags -o - input.mojom 27