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

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

Issue 1800343002: Enable GN check for gpu and rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/gles2_conform_support/egl/BUILD.gn ('k') | gpu/skia_bindings/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 group("common") { 5 group("common") {
6 if (is_component_build) { 6 if (is_component_build) {
7 public_deps = [ 7 public_deps = [
8 "//gpu", 8 "//gpu",
9 ] 9 ]
10 } else { 10 } else {
11 public_deps = [ 11 public_deps = [
12 ":ipc_common_sources", 12 ":ipc_common_sources",
13 ] 13 ]
14 } 14 }
15 } 15 }
16 16
17 source_set("ipc_common_sources") { 17 source_set("ipc_common_sources") {
18 visibility = [ "//gpu/*" ] 18 visibility = [ "//gpu/*" ]
19 19
20 sources = [ 20 sources = [
21 "gpu_command_buffer_traits.cc", 21 "gpu_command_buffer_traits.cc",
22 "gpu_command_buffer_traits.h", 22 "gpu_command_buffer_traits.h",
23 "id_type_traits.h", 23 "id_type_traits.h",
24 "memory_stats.cc", 24 "memory_stats.cc",
25 "memory_stats.h", 25 "memory_stats.h",
26 ] 26 ]
27 27
28 if (is_android) {
29 sources += [
30 "android/surface_texture_manager.cc",
31 "android/surface_texture_manager.h",
32 "android/surface_texture_peer.cc",
33 "android/surface_texture_peer.h",
34 ]
35 }
36
37 configs += [ 28 configs += [
38 "//gpu:gpu_implementation", 29 "//gpu:gpu_implementation",
39 "//third_party/khronos:khronos_headers", 30 "//third_party/khronos:khronos_headers",
40 ] 31 ]
41 32
42 deps = [ 33 deps = [
43 "//base", 34 "//base",
44 "//gpu/command_buffer/common:common_sources", 35 "//gpu/command_buffer/common:common_sources",
45 "//ipc", 36 "//ipc",
37 "//ui/gfx:native_widget_types",
46 ] 38 ]
39
40 if (is_android) {
41 sources += [
42 "android/surface_texture_manager.cc",
43 "android/surface_texture_manager.h",
44 "android/surface_texture_peer.cc",
45 "android/surface_texture_peer.h",
46 ]
47
48 deps += [ "//ui/gl" ]
49 }
47 } 50 }
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/BUILD.gn ('k') | gpu/skia_bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698