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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 import("//build/config/nacl/config.gni")
6
5 # The files here go into the "gpu" component in a component build (with 7 # The files here go into the "gpu" component in a component build (with
6 # "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into 8 # "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 9 # 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 10 # GYP build which was likely an attempt to make larger components to help with
9 # loading. 11 # loading.
10 group("client") { 12 group("client") {
11 if (is_component_build) { 13 if (is_component_build) {
12 public_deps = [ 14 public_deps = [
13 "//gpu", 15 "//gpu",
14 ] 16 ]
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 141 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
140 142
141 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] 143 defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
142 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 144 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
143 145
144 deps = [ 146 deps = [
145 ":gles2_cmd_helper", 147 ":gles2_cmd_helper",
146 ":gles2_interface", 148 ":gles2_interface",
147 "//base", 149 "//base",
148 "//gpu/command_buffer/common:gles2_utils", 150 "//gpu/command_buffer/common:gles2_utils",
149 "//ui/gfx/geometry",
150 ] 151 ]
152
153 if (!is_nacl_nonsfi) {
154 deps += [ "//ui/gfx/geometry" ]
155 }
151 } 156 }
152 157
153 # Library emulates GLES2 using command_buffers. 158 # Library emulates GLES2 using command_buffers.
154 component("gles2_implementation_no_check") { 159 component("gles2_implementation_no_check") {
155 sources = gles2_implementation_source_files 160 sources = gles2_implementation_source_files
156 161
157 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 162 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
158 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 163 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
159 164
160 defines = [ 165 defines = [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 ] 224 ]
220 deps = [ 225 deps = [
221 ":client", 226 ":client",
222 ":gles2_implementation_no_check", 227 ":gles2_implementation_no_check",
223 ":gles2_interface", 228 ":gles2_interface",
224 "//base", 229 "//base",
225 "//base/third_party/dynamic_annotations", 230 "//base/third_party/dynamic_annotations",
226 "//gpu/command_buffer/common", 231 "//gpu/command_buffer/common",
227 ] 232 ]
228 } 233 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698