summaryrefslogtreecommitdiffstats
path: root/third_party/gles2_book/gles2_book.gyp
blob: 91ae62a69d00291fc3688d4630d038736143fcc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'es_util',
      'type': 'static_library',
      'dependencies': [
        '../../gpu/gpu.gyp:gles2_c_lib_nocheck',
      ],
      'include_dirs': [
        'Common/Include',
      ],
      'all_dependent_settings': {
        'include_dirs': [
          'Common/Include',
        ],
      },
      'sources': [
        'Common/Include/esUtil.h',
        'Common/Source/esShader.c',
        'Common/Source/esShapes.c',
        'Common/Source/esTransform.c',
        'Common/Source/esUtil.c',
      ],
    },
    {
      'target_name': 'hello_triangle',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_2/Hello_Triangle/Hello_Triangle.c',
        'Chapter_2/Hello_Triangle/Hello_Triangle.h',
      ],
    },
    {
      'target_name': 'mip_map_2d',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_9/MipMap2D/MipMap2D.c',
        'Chapter_9/MipMap2D/MipMap2D.h',
      ],
    },
    {
      'target_name': 'simple_texture_2d',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_9/Simple_Texture2D/Simple_Texture2D.c',
        'Chapter_9/Simple_Texture2D/Simple_Texture2D.h',
      ],
    },
    {
      'target_name': 'simple_texture_cubemap',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c',
        'Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.h',
      ],
    },
    {
      'target_name': 'simple_vertex_shader',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_8/Simple_VertexShader/Simple_VertexShader.c',
        'Chapter_8/Simple_VertexShader/Simple_VertexShader.h',
      ],
    },
    {
      'target_name': 'stencil_test',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_11/Stencil_Test/Stencil_Test.c',
        'Chapter_11/Stencil_Test/Stencil_Test.h',
      ],
    },
    {
      'target_name': 'texture_wrap',
      'type': 'static_library',
      'dependencies': [
        'es_util',
      ],
      'sources': [
        'Chapter_9/TextureWrap/TextureWrap.c',
        'Chapter_9/TextureWrap/TextureWrap.h',
      ],
    },
  ]
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: