1 #!/bin/bash 2 # Copyright (c) 2010 The ANGLE Project Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 # Generates GLSL ES lexer - glslang_lex.cpp 7 8 script_dir=$(dirname $0) 9 input_file=$script_dir/glslang.l 10 output_file=$script_dir/glslang_lex.cpp 11 flex --noline --nounistd --outfile=$output_file $input_file 12