#!/usr/bin/env python3 # SPDX-License-Identifier: BSD-3-Clause # Copyright (C) 2020, Google Inc. # # Author: Paul Elder <paul.elder@ideasonboard.com> # # parser.py - Run mojo parser with python3 import os import sys # TODO set sys.pycache_prefix for >= python3.8 sys.dont_write_bytecode = True # Make sure that mojom_parser.py can import mojom sys.path.append(f'{os.path.dirname(__file__)}/mojo/public/tools/mojom') import mojo.public.tools.mojom.mojom_parser as parser parser.Run(sys.argv[1:]) ad> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/'><img src='/logo.png' alt='cgit logo'/></a></td> <td class='main'><a href='/'>index</a> : <a title='libcamera/vivid.git' href='/libcamera/vivid.git/'>libcamera/vivid.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'/><select name='h' onchange='this.form.submit();'> <option value='pobrn/rebase'>pobrn/rebase</option> <option value='vivid'>vivid</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>libcamera pipeline handler for VIVID</td><td class='sub right'>git repository hosting on libcamera.org</td></tr></table> <table class='tabs'><tr><td> <a href='/libcamera/vivid.git/?h=v0.0.3'>summary</a><a href='/libcamera/vivid.git/refs/?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>refs</a><a href='/libcamera/vivid.git/log/src/qcam/assets/feathericons/compass.svg?h=v0.0.3'>log</a><a class='active' href='/libcamera/vivid.git/tree/src/qcam/assets/feathericons/compass.svg?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>tree</a><a href='/libcamera/vivid.git/commit/src/qcam/assets/feathericons/compass.svg?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>commit</a><a href='/libcamera/vivid.git/diff/src/qcam/assets/feathericons/compass.svg?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>diff</a></td><td class='form'><form class='right' method='get' action='/libcamera/vivid.git/log/src/qcam/assets/feathericons/compass.svg'> <input type='hidden' name='h' value='v0.0.3'/><input type='hidden' name='id' value='cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/libcamera/vivid.git/tree/?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>root</a>/<a href='/libcamera/vivid.git/tree/src?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>src</a>/<a href='/libcamera/vivid.git/tree/src/qcam?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>qcam</a>/<a href='/libcamera/vivid.git/tree/src/qcam/assets?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>assets</a>/<a href='/libcamera/vivid.git/tree/src/qcam/assets/feathericons?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>feathericons</a>/<a href='/libcamera/vivid.git/tree/src/qcam/assets/feathericons/compass.svg?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>compass.svg</a></div><div class='content'>blob: 32962608031edac0fb09671cecd1c038945e29e8 (<a href='/libcamera/vivid.git/plain/src/qcam/assets/feathericons/compass.svg?h=v0.0.3&id=cb4c5f3e44d41b646c6c7b74689af6d9584e62fa'>plain</a>) <table summary='blob content' class='blob'> <tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a> </pre></td> <td class='lines'><pre><code>