Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / stp / flex.py
blob8eac4e0b1597bda47576fe7ee0e4bd908300bd05
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import subprocess
6 import sys
8 (source, name, out,) = sys.argv[1:]
10 subprocess.check_call([
11 "flex",
12 "-Cfe",
13 "-o", out + ".cpp",
14 "--prefix=" + name,
15 source,