Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Side by Side Diff: gpu/command_buffer/client/BUILD.gn

Issue 1057993004: Revert of Work on Windows GN component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/blink/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # The files here go into the "gpu" component in a component build (with 5 source_set("client") {
6 # "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into
7 # separate static libraries in non-component build. This needs to match the
8 # GYP build which was likely an attempt to make larger components to help with
9 # loading.
10 group("client") {
11 if (is_component_build) {
12 public_deps = [
13 "//gpu",
14 ]
15 } else {
16 public_deps = [
17 ":client_sources",
18 ]
19 }
20 }
21
22 group("gles2_cmd_helper") {
23 if (is_component_build) {
24 public_deps = [
25 "//gpu",
26 ]
27 } else {
28 public_deps = [
29 ":gles2_cmd_helper_sources",
30 ]
31 }
32 }
33
34 source_set("client_sources") {
35 visibility = [ "//gpu/*" ]
36
37 sources = [ 6 sources = [
38 "cmd_buffer_helper.cc", 7 "cmd_buffer_helper.cc",
39 "cmd_buffer_helper.h", 8 "cmd_buffer_helper.h",
40 "fenced_allocator.cc", 9 "fenced_allocator.cc",
41 "fenced_allocator.h", 10 "fenced_allocator.h",
42 "gpu_control.h", 11 "gpu_control.h",
43 "gpu_memory_buffer_manager.cc", 12 "gpu_memory_buffer_manager.cc",
44 "gpu_memory_buffer_manager.h", 13 "gpu_memory_buffer_manager.h",
45 "mapped_memory.cc", 14 "mapped_memory.cc",
46 "mapped_memory.h", 15 "mapped_memory.h",
47 "ring_buffer.cc", 16 "ring_buffer.cc",
48 "ring_buffer.h", 17 "ring_buffer.h",
49 "transfer_buffer.cc", 18 "transfer_buffer.cc",
50 "transfer_buffer.h", 19 "transfer_buffer.h",
51 ] 20 ]
52 21
53 configs += [ 22 configs += [
54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 23 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
55 "//build/config/compiler:no_size_t_to_int_warning", 24 "//build/config/compiler:no_size_t_to_int_warning",
56 "//gpu:gpu_implementation", 25 "//gpu:gpu_implementation",
57 ] 26 ]
58 27
59 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 28 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
60 29
61 deps = [ 30 deps = [
62 "//gpu/command_buffer/common:common_sources", 31 "//gpu/command_buffer/common",
63 ] 32 ]
64 } 33 }
65 34
35 group("gles2_cmd_helper") {
36 if (is_component_build) {
37 deps = [
38 "//gpu",
39 ]
40 } else {
41 deps = [
42 ":gles2_cmd_helper_sources",
43 ]
44 }
45 }
46
66 source_set("gles2_cmd_helper_sources") { 47 source_set("gles2_cmd_helper_sources") {
67 visibility = [ "//gpu/*" ] 48 visibility = [
49 ":gles2_cmd_helper",
50 "//gpu",
51 ]
68 sources = [ 52 sources = [
69 "gles2_cmd_helper.cc", 53 "gles2_cmd_helper.cc",
70 "gles2_cmd_helper.h", 54 "gles2_cmd_helper.h",
71 "gles2_cmd_helper_autogen.h", 55 "gles2_cmd_helper_autogen.h",
72 ] 56 ]
73 57
74 configs += [ 58 configs += [
75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
76 "//build/config/compiler:no_size_t_to_int_warning", 60 "//build/config/compiler:no_size_t_to_int_warning",
77 "//gpu:gpu_implementation", 61 "//gpu:gpu_implementation",
78 ] 62 ]
79 63
80 deps = [ 64 deps = [
81 ":client_sources", 65 ":client",
82 ] 66 ]
83 } 67 }
84 68
85 gles2_c_lib_source_files = [ 69 gles2_c_lib_source_files = [
86 "gles2_c_lib.cc", 70 "gles2_c_lib.cc",
87 "gles2_c_lib_autogen.h", 71 "gles2_c_lib_autogen.h",
88 "gles2_c_lib_export.h", 72 "gles2_c_lib_export.h",
89 "gles2_lib.cc", 73 "gles2_lib.cc",
90 "gles2_lib.h", 74 "gles2_lib.h",
91 ] 75 ]
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 ] 203 ]
220 deps = [ 204 deps = [
221 ":client", 205 ":client",
222 ":gles2_implementation_no_check", 206 ":gles2_implementation_no_check",
223 ":gles2_interface", 207 ":gles2_interface",
224 "//base", 208 "//base",
225 "//base/third_party/dynamic_annotations", 209 "//base/third_party/dynamic_annotations",
226 "//gpu/command_buffer/common", 210 "//gpu/command_buffer/common",
227 ] 211 ]
228 } 212 }
OLDNEW
« no previous file with comments | « gpu/blink/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698