| OLD | NEW |
| 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("//content/content.gni") | 6 import("//content/content.gni") |
| 7 | 7 |
| 8 source_set("gpu") { | 8 source_set("gpu") { |
| 9 # TODO(brettw) it seems like this should be only visible to content like | 9 visibility = [ "//content/*" ] |
| 10 # the other non-public content directories are. But this is depended on by | |
| 11 # the chrome target. | |
| 12 | 10 |
| 13 sources = [ | 11 sources = [ |
| 14 "gpu_main.cc", | 12 "gpu_main.cc", |
| 15 "gpu_process.cc", | 13 "gpu_process.cc", |
| 16 "gpu_process.h", | 14 "gpu_process.h", |
| 17 "gpu_child_thread.cc", | 15 "gpu_child_thread.cc", |
| 18 "gpu_child_thread.h", | 16 "gpu_child_thread.h", |
| 19 "gpu_watchdog_thread.cc", | 17 "gpu_watchdog_thread.cc", |
| 20 "gpu_watchdog_thread.h", | 18 "gpu_watchdog_thread.h", |
| 21 "in_process_gpu_thread.cc", | 19 "in_process_gpu_thread.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 } | 43 } |
| 46 | 44 |
| 47 if (is_chromeos && cpu_arch != "arm") { | 45 if (is_chromeos && cpu_arch != "arm") { |
| 48 configs += [ "//third_party/libva:libva_config" ] | 46 configs += [ "//third_party/libva:libva_config" ] |
| 49 } | 47 } |
| 50 | 48 |
| 51 if (use_x11) { | 49 if (use_x11) { |
| 52 deps += [ "//ui/events/platform/x11" ] | 50 deps += [ "//ui/events/platform/x11" ] |
| 53 } | 51 } |
| 54 } | 52 } |
| OLD | NEW |