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

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

Issue 1838493002: Fix building gpu twice in gn component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « content/public/gpu/BUILD.gn ('k') | gpu/config/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 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 7
8 group("service") { 8 group("service") {
9 if (is_component_build) { 9 if (is_component_build) {
10 public_deps = [ 10 public_deps = [
11 "//gpu", 11 "//gpu",
12 ] 12 ]
13 } else { 13 } else {
14 public_deps = [ 14 public_deps = [
15 ":service_sources", 15 ":service_sources",
16 ] 16 ]
17 } 17 }
18 } 18 }
19 19
20 source_set("service_sources") { 20 source_set("service_sources") {
21 visibility = [ 21 visibility = [
22 "//content/public/gpu/*",
23 "//gpu/*", 22 "//gpu/*",
24 "//mojo/gles2:gles2", 23 "//mojo/gles2:gles2",
25 ] 24 ]
26 25
27 sources = [ 26 sources = [
28 "buffer_manager.cc", 27 "buffer_manager.cc",
29 "buffer_manager.h", 28 "buffer_manager.h",
30 "cmd_buffer_engine.h", 29 "cmd_buffer_engine.h",
31 "cmd_parser.cc", 30 "cmd_parser.cc",
32 "cmd_parser.h", 31 "cmd_parser.h",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 configs -= [ "//build/config/compiler:default_optimization" ] 171 configs -= [ "//build/config/compiler:default_optimization" ]
173 configs += [ "//build/config/compiler:optimize_max" ] 172 configs += [ "//build/config/compiler:optimize_max" ]
174 } 173 }
175 } 174 }
176 175
177 proto_library("disk_cache_proto") { 176 proto_library("disk_cache_proto") {
178 sources = [ 177 sources = [
179 "disk_cache_proto.proto", 178 "disk_cache_proto.proto",
180 ] 179 ]
181 } 180 }
OLDNEW
« no previous file with comments | « content/public/gpu/BUILD.gn ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698