Apply _RELATIVE relocations ahead of others.
[chromium-blink-merge.git] / gpu / command_buffer / common / BUILD.gn
blobad6d3200e91b22034bb5f95a86906f9d01213bfb
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.
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_autogen.h",
21     "gles2_cmd_ids.h",
22     "gles2_cmd_ids_autogen.h",
23     "id_allocator.cc",
24     "id_allocator.h",
25     "mailbox.cc",
26     "mailbox.h",
27     "mailbox_holder.cc",
28     "mailbox_holder.h",
29     "thread_local.h",
30     "time.h",
31   ]
33   defines = [ "GPU_IMPLEMENTATION" ]
35   deps = [
36     ":gles2_utils",
37     "//base",
38   ]
41 component("gles2_utils") {
42   sources = [
43     "gles2_cmd_utils.cc",
44     "gles2_cmd_utils.h",
45     "gles2_utils_export.h",
46   ]
48   defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
50   deps = [
51     "//base",
52   ]
54   all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]