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

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

Issue 2163933003: Shrink gn's chrome.dll - now smaller than gyp's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to landed patch 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 | « gpu/command_buffer/service/BUILD.gn ('k') | media/gpu/ipc/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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 if (is_mac) { 7 if (is_mac) {
8 import("//build/config/mac/mac_sdk.gni") 8 import("//build/config/mac/mac_sdk.gni")
9 } 9 }
10 10
11 group("service") { 11 group("service") {
12 if (is_component_build) { 12 if (is_component_build) {
13 public_deps = [ 13 public_deps = [
14 "//gpu", 14 "//gpu",
15 ] 15 ]
16 } else { 16 } else {
17 public_deps = [ 17 public_deps = [
18 ":ipc_service_sources", 18 ":ipc_service_sources",
19 ] 19 ]
20 } 20 }
21 } 21 }
22 22
23 source_set("ipc_service_sources") { 23 if (is_component_build) {
24 link_target_type = "source_set"
25 } else {
26 link_target_type = "static_library"
27 }
28 target(link_target_type, "ipc_service_sources") {
24 visibility = [ "//gpu/*" ] 29 visibility = [ "//gpu/*" ]
25 sources = [ 30 sources = [
26 "gpu_channel.cc", 31 "gpu_channel.cc",
27 "gpu_channel.h", 32 "gpu_channel.h",
28 "gpu_channel_manager.cc", 33 "gpu_channel_manager.cc",
29 "gpu_channel_manager.h", 34 "gpu_channel_manager.h",
30 "gpu_channel_manager_delegate.h", 35 "gpu_channel_manager_delegate.h",
31 "gpu_command_buffer_stub.cc", 36 "gpu_command_buffer_stub.cc",
32 "gpu_command_buffer_stub.h", 37 "gpu_command_buffer_stub.h",
33 "gpu_config.h", 38 "gpu_config.h",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 deps += [ "//ui/android:ui_java" ] 164 deps += [ "//ui/android:ui_java" ]
160 } 165 }
161 if (is_mac) { 166 if (is_mac) {
162 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] 167 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ]
163 } 168 }
164 if (use_ozone) { 169 if (use_ozone) {
165 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] 170 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ]
166 deps += [ "//ui/ozone" ] 171 deps += [ "//ui/ozone" ]
167 } 172 }
168 } 173 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | media/gpu/ipc/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698