{
'target_name': 'essl_to_glsl',
'type': 'executable',
+ 'includes': [ '../build/common_defines.gypi', ],
'dependencies': [ '../src/angle.gyp:translator_static', ],
'include_dirs': [ '../include', ],
- 'sources': [ '<!@(python enumerate_files.py translator -types *.cpp *.h)' ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py translator -types *.cpp *.h)' ],
},
],
'conditions':
{
'target_name': 'essl_to_hlsl',
'type': 'executable',
+ 'includes': [ '../build/common_defines.gypi', ],
'dependencies': [ '../src/angle.gyp:translator_static', ],
'include_dirs':
[
],
'sources':
[
- '<!@(python enumerate_files.py translator -types *.cpp *.h)',
+ '<!@(python <(angle_path)/enumerate_files.py translator -types *.cpp *.h)',
],
- 'msvs_settings':
- {
- 'VCLinkerTool':
- {
- 'AdditionalDependencies':
- [
- 'd3d9.lib',
- ],
- }
- }
},
{
- 'target_name': 'es_util',
+ 'target_name': 'dds_to_header',
+ 'type': 'executable',
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources':
+ [
+ '<!@(python <(angle_path)/enumerate_files.py dds_to_header -types *.cpp)',
+ ],
+ },
+
+ {
+ 'target_name': 'sample_util',
'type': 'static_library',
+ 'includes': [ '../build/common_defines.gypi', ],
'dependencies':
[
'../src/angle.gyp:libEGL',
'../src/angle.gyp:libGLESv2',
+ '../util/util.gyp:angle_util',
],
'include_dirs':
[
- 'gles2_book/Common',
'../include',
+ 'angle/sample_util',
],
'sources':
[
- '<!@(python enumerate_files.py gles2_book/Common -types *.c *.h)'
+ '<!@(python <(angle_path)/enumerate_files.py angle/sample_util -types *.cpp *.h)'
],
+ 'msvs_disabled_warnings': [ 4201 ],
'direct_dependent_settings':
{
+ 'msvs_disabled_warnings': [ 4201 ],
'include_dirs':
[
- 'gles2_book/Common',
'../include',
+ 'angle/sample_util',
+ '../util',
],
},
},
{
'target_name': 'hello_triangle',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/Hello_Triangle -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/hello_triangle -types *.cpp *.h)' ],
},
{
'target_name': 'mip_map_2d',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/MipMap2D -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/mip_map_2d -types *.cpp *.h)' ],
},
{
'target_name': 'multi_texture',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/MultiTexture -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/multi_texture -types *.cpp *.h)' ],
'copies':
[
{
'destination': '<(PRODUCT_DIR)',
- 'files': [ '<!@(python enumerate_files.py gles2_book/MultiTexture -types *.tga)' ],
- }
+ 'files': [ '<!@(python <(angle_path)/enumerate_files.py angle/multi_texture -types *.tga)' ],
+ },
]
},
{
'target_name': 'particle_system',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/ParticleSystem -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/particle_system -types *.cpp *.h)' ],
+ 'copies':
+ [
+ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [ '<!@(python <(angle_path)/enumerate_files.py angle/particle_system -types *.tga)' ],
+ }
+ ]
+ },
+
+ {
+ 'target_name': 'simple_instancing',
+ 'type': 'executable',
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/simple_instancing -types *.cpp *.h)' ],
+ },
+
+ {
+ 'target_name': 'multiple_draw_buffers',
+ 'type': 'executable',
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/multiple_draw_buffers -types *.cpp *.h *.glsl)' ],
'copies':
[
{
'destination': '<(PRODUCT_DIR)',
- 'files': [ '<!@(python enumerate_files.py gles2_book/ParticleSystem -types *.tga)' ],
+ 'files': [ '<!@(python <(angle_path)/enumerate_files.py angle/multiple_draw_buffers -types *.glsl)' ],
}
]
},
{
'target_name': 'simple_texture_2d',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/Simple_Texture2D -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/simple_texture_2d -types *.cpp *.h)' ],
},
{
'target_name': 'simple_texture_cubemap',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/Simple_TextureCubemap -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/simple_texture_cubemap -types *.cpp *.h)' ],
},
{
'target_name': 'simple_vertex_shader',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/Simple_VertexShader -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/simple_vertex_shader -types *.cpp *.h)' ],
},
{
- 'target_name': 'stencil_test',
+ 'target_name': 'stencil_operations',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/Stencil_Test -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/stencil_operations -types *.cpp *.h)' ],
},
{
'target_name': 'texture_wrap',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/TextureWrap -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/texture_wrap -types *.cpp *.h)' ],
},
{
'target_name': 'post_sub_buffer',
'type': 'executable',
- 'dependencies': [ 'es_util' ],
- 'sources': [ '<!@(python enumerate_files.py gles2_book/PostSubBuffer -types *.c *.h)' ],
+ 'dependencies': [ 'sample_util' ],
+ 'includes': [ '../build/common_defines.gypi', ],
+ 'sources': [ '<!@(python <(angle_path)/enumerate_files.py angle/post_sub_buffer -types *.cpp *.h)' ],
},
],
}