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

Side by Side Diff: content/public/gpu/BUILD.gn

Issue 2173453004: Revert of Shrink gn's chrome.dll - now smaller than gyp's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/gpu/BUILD.gn ('k') | gpu/command_buffer/service/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 # See //content/BUILD.gn for how this works. 5 # See //content/BUILD.gn for how this works.
6 group("gpu") { 6 group("gpu") {
7 if (is_component_build) { 7 if (is_component_build) {
8 public_deps = [ 8 public_deps = [
9 "//content", 9 "//content",
10 ] 10 ]
11 } else { 11 } else {
12 public_deps = [ 12 public_deps = [
13 ":gpu_sources", 13 ":gpu_sources",
14 ] 14 ]
15 } 15 }
16 } 16 }
17 17
18 if (is_component_build) { 18 source_set("gpu_sources") {
19 link_target_type = "source_set"
20 } else {
21 link_target_type = "static_library"
22 }
23 target(link_target_type, "gpu_sources") {
24 # You must depend on this via //content/public/gpu above for the component 19 # You must depend on this via //content/public/gpu above for the component
25 # build to work properly. 20 # build to work properly.
26 visibility = [ "//content/*" ] 21 visibility = [ "//content/*" ]
27 22
28 configs += [ "//content:content_implementation" ] 23 configs += [ "//content:content_implementation" ]
29 24
30 sources = [ 25 sources = [
31 "content_gpu_client.cc", 26 "content_gpu_client.cc",
32 "content_gpu_client.h", 27 "content_gpu_client.h",
33 "gpu_video_decode_accelerator_factory.cc", 28 "gpu_video_decode_accelerator_factory.cc",
34 "gpu_video_decode_accelerator_factory.h", 29 "gpu_video_decode_accelerator_factory.h",
35 ] 30 ]
36 31
37 deps = [ 32 deps = [
38 "//base", 33 "//base",
39 "//content:export", 34 "//content:export",
40 "//content/gpu:gpu_sources", 35 "//content/gpu:gpu_sources",
41 "//content/public/common:common_sources", 36 "//content/public/common:common_sources",
42 "//gpu/command_buffer/service", 37 "//gpu/command_buffer/service",
43 "//gpu/config", 38 "//gpu/config",
44 "//media", 39 "//media",
45 "//media/gpu", 40 "//media/gpu",
46 ] 41 ]
47 42
48 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ] 43 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ]
49 } 44 }
OLDNEW
« no previous file with comments | « content/gpu/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698