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

Side by Side Diff: gpu/BUILD.gn

Issue 1542683002: gn: Make command_buffer_gles2 deps less weird. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # GYP-to-GN project mappings: 5 # GYP-to-GN project mappings:
6 # 6 #
7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client
8 # 8 #
9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common
10 # 10 #
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "gles2_conform_support/egl/config.cc", 56 "gles2_conform_support/egl/config.cc",
57 "gles2_conform_support/egl/config.h", 57 "gles2_conform_support/egl/config.h",
58 "gles2_conform_support/egl/display.cc", 58 "gles2_conform_support/egl/display.cc",
59 "gles2_conform_support/egl/display.h", 59 "gles2_conform_support/egl/display.h",
60 "gles2_conform_support/egl/egl.cc", 60 "gles2_conform_support/egl/egl.cc",
61 "gles2_conform_support/egl/surface.cc", 61 "gles2_conform_support/egl/surface.cc",
62 "gles2_conform_support/egl/surface.h", 62 "gles2_conform_support/egl/surface.h",
63 ] 63 ]
64 64
65 deps = [ 65 deps = [
66 ":gpu",
66 "//base", 67 "//base",
67 "//gpu/command_buffer/client:gles2_c_lib", 68 "//gpu/command_buffer/client:gles2_c_lib",
68 "//gpu/command_buffer/client:gles2_implementation", 69 "//gpu/command_buffer/client:gles2_implementation",
69 "//gpu/command_buffer/service",
70 "//gpu/config:config_sources",
71 "//ui/gl:gl", 70 "//ui/gl:gl",
72 ] 71 ]
73 72
74 if (!is_component_build) {
75 deps += [
76 "//gpu/command_buffer/client:client_sources",
77 "//gpu/command_buffer/client:gles2_cmd_helper_sources",
78 ]
79 }
80
81 defines = [ 73 defines = [
82 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", 74 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY",
83 "EGLAPIENTRY=", 75 "EGLAPIENTRY=",
84 ] 76 ]
85 if (current_os == "win") { 77 if (current_os == "win") {
86 defines += [ "EGLAPI=__declspec(dllexport)" ] 78 defines += [ "EGLAPI=__declspec(dllexport)" ]
87 } else { 79 } else {
88 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] 80 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ]
89 } 81 }
90 } 82 }
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 if (is_win || is_linux || is_mac) { 340 if (is_win || is_linux || is_mac) {
349 # TODO(GYP): Delete this after we've converted everything to GN. 341 # TODO(GYP): Delete this after we've converted everything to GN.
350 # The _run targets exist only for compatibility w/ GYP. 342 # The _run targets exist only for compatibility w/ GYP.
351 group("angle_end2end_tests_run") { 343 group("angle_end2end_tests_run") {
352 testonly = true 344 testonly = true
353 deps = [ 345 deps = [
354 "//third_party/angle/src/tests:angle_end2end_tests", 346 "//third_party/angle/src/tests:angle_end2end_tests",
355 ] 347 ]
356 } 348 }
357 } 349 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698