summaryrefslogtreecommitdiffstats
path: root/third_party/mesa/mesa.gypi
blob: d4e757e7f2a2b2f0e5c63c44b04d48ec41245ea5 (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
# Copyright (c) 2010 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.

{
  'variables': {
    #
    # Mesa EGL implementation has a pluggable architecture. The core consists
    # of an API dispatcher which routes all eglFooBar() API calls to a
    # pluggable driver. mesa_egl_sources contains the API dispatcher source
    # files. These sources when compiled with driver sources will produce
    # EGL library.
    #
    # Note that we cannot compile the API dispatcher into a static library
    # because they need to include EGL headers which might be driver specific.
    #
    'mesa_egl_sources': [
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglapi.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglapi.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglarray.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglarray.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglcompiler.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglconfig.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglconfig.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglcontext.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglcontext.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglcurrent.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglcurrent.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egldefines.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egldisplay.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egldisplay.h',
      #
      # Do not include egldriver.c which dynamically loads a driver at
      # runtime. We will statically bake our driver with the API dispatcher.
      #
      # '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egldriver.c',
      #
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egldriver.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglglobals.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglglobals.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglimage.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglimage.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egllog.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egllog.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglmisc.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglmisc.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglmode.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglmode.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglmutex.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglscreen.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglscreen.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglstring.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglstring.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglsurface.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglsurface.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglsync.c',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/eglsync.h',
      '<(DEPTH)/third_party/mesa/MesaLib/src/egl/main/egltypedefs.h',
    ],
  },
}