Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / gpu / command_buffer / common / BUILD.gn
1 # Copyright (c) 2013 The Chromium 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.
4
5 source_set("common") {
6   sources = [
7     "bitfield_helpers.h",
8     "buffer.cc",
9     "buffer.h",
10     "capabilities.cc",
11     "capabilities.h",
12     "cmd_buffer_common.cc",
13     "cmd_buffer_common.h",
14     "command_buffer.h",
15     "constants.h",
16     "debug_marker_manager.cc",
17     "debug_marker_manager.h",
18     "gles2_cmd_format.cc",
19     "gles2_cmd_format.h",
20     "gles2_cmd_format.h",
21     "gles2_cmd_format_autogen.h",
22     "gles2_cmd_ids.h",
23     "gles2_cmd_ids_autogen.h",
24     "id_allocator.cc",
25     "id_allocator.h",
26     "mailbox.cc",
27     "mailbox.h",
28     "mailbox_holder.cc",
29     "mailbox_holder.h",
30     "thread_local.h",
31     "time.h",
32   ]
33
34   defines = [ "GPU_IMPLEMENTATION" ]
35
36   deps = [
37     ":gles2_utils",
38     "//base",
39   ]
40 }
41
42 component("gles2_utils") {
43   sources = [
44     "gles2_cmd_utils.cc",
45     "gles2_cmd_utils.h",
46     "gles2_utils_export.h",
47   ]
48
49   defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
50
51   deps = [
52     "//base",
53   ]
54
55   all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
56 }