| OLD | NEW |
| 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 |
| 28 configs += [ | 37 configs += [ |
| 29 "//gpu:gpu_implementation", | 38 "//gpu:gpu_implementation", |
| 30 "//third_party/khronos:khronos_headers", | 39 "//third_party/khronos:khronos_headers", |
| 31 ] | 40 ] |
| 32 | 41 |
| 33 deps = [ | 42 deps = [ |
| 34 "//base", | 43 "//base", |
| 35 "//gpu/command_buffer/common:common_sources", | 44 "//gpu/command_buffer/common:common_sources", |
| 36 "//ipc", | 45 "//ipc", |
| 37 ] | 46 ] |
| 38 } | 47 } |
| OLD | NEW |