1 # Copyright (c) 2013 The ANGLE Project 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.
9 'target_name': 'preprocessor',
10 'type': 'static_library',
11 'includes': [ '../build/common_defines.gypi', ],
12 'sources': [ '<!@(python <(angle_path)/enumerate_files.py compiler/preprocessor -types *.cpp *.h *.y *.l )' ],
15 'target_name': 'translator_lib',
16 'type': 'static_library',
17 'dependencies': [ 'preprocessor' ],
18 'includes': [ '../build/common_defines.gypi', ],
26 '<!@(python <(angle_path)/enumerate_files.py \
27 -dirs compiler/translator third_party/compiler common ../include \
28 -excludes compiler/translator/ShaderLang.cpp \
29 -types *.cpp *.h *.y *.l)',
35 'msvs_disabled_warnings': [ 4267 ],
36 'sources/': [ [ 'exclude', 'compiler/translator/ossource_posix.cpp' ], ],
39 'sources/': [ [ 'exclude', 'compiler/translator/ossource_win.cpp' ], ],
47 'AdditionalOptions': ['/ignore:4221']
53 'target_name': 'translator',
54 'type': '<(component)',
55 'dependencies': [ 'translator_lib' ],
56 'includes': [ '../build/common_defines.gypi', ],
64 'ANGLE_TRANSLATOR_IMPLEMENTATION',
68 'compiler/translator/ShaderLang.cpp'
73 'target_name': 'translator_static',
74 'type': 'static_library',
75 'dependencies': [ 'translator_lib' ],
76 'includes': [ '../build/common_defines.gypi', ],
84 'ANGLE_TRANSLATOR_STATIC',
86 'direct_dependent_settings':
90 'ANGLE_TRANSLATOR_STATIC',
95 'compiler/translator/ShaderLang.cpp'