| 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("//content/content.gni") | 5 import("//content/content.gni") |
| 6 | 6 |
| 7 # We don't support x64 prior to Win7 and D3DCompiler_43.dll is not needed on | 7 # We don't support x64 prior to Win7 and D3DCompiler_43.dll is not needed on |
| 8 # Vista+. | 8 # Vista+. |
| 9 need_d3dcompiler = (is_win && cpu_arch == "x86" && directxsdk_exists) | 9 need_d3dcompiler = (is_win && cpu_arch == "x86" && directxsdk_exists) |
| 10 | 10 |
| 11 source_set("gpu") { | 11 source_set("gpu") { |
| 12 visibility = "//content/*" | 12 visibility = "//content/*" |
| 13 sources = [ | 13 sources = [ |
| 14 "gpu_main.cc", | 14 "gpu_main.cc", |
| 15 "gpu_process.cc", | 15 "gpu_process.cc", |
| 16 "gpu_process.h", | 16 "gpu_process.h", |
| 17 "gpu_child_thread.cc", | 17 "gpu_child_thread.cc", |
| 18 "gpu_child_thread.h", | 18 "gpu_child_thread.h", |
| 19 "gpu_watchdog_thread.cc", | 19 "gpu_watchdog_thread.cc", |
| 20 "gpu_watchdog_thread.h", | 20 "gpu_watchdog_thread.h", |
| 21 "in_process_gpu_thread.cc", | 21 "in_process_gpu_thread.cc", |
| 22 "in_process_gpu_thread.h", | 22 "in_process_gpu_thread.h", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 configs += [ "//content:content_implementation" ] | 25 configs += [ "//content:content_implementation" ] |
| 26 | 26 |
| 27 deps = [ | 27 deps = [ |
| 28 "//base", | 28 "//base", |
| 29 "//content:export", | 29 "//content:export", |
| 30 "//mojo/public/interfaces/interface_provider", | 30 "//mojo/public/interfaces/service_provider", |
| 31 "//skia", | 31 "//skia", |
| 32 "//ui/gl", | 32 "//ui/gl", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 if (is_win) { | 35 if (is_win) { |
| 36 configs += [ | 36 configs += [ |
| 37 "//third_party/khronos:khronos_headers", | 37 "//third_party/khronos:khronos_headers", |
| 38 "//third_party/wtl:wtl_includes", | 38 "//third_party/wtl:wtl_includes", |
| 39 ] | 39 ] |
| 40 libs = [ "setupapi.lib" ] | 40 libs = [ "setupapi.lib" ] |
| (...skipping 23 matching lines...) Expand all Loading... |
| 64 source_prereqs = [ cabfile ] | 64 source_prereqs = [ cabfile ] |
| 65 outputs = [ "$root_out_dir/$dllfile" ] | 65 outputs = [ "$root_out_dir/$dllfile" ] |
| 66 | 66 |
| 67 args = [ | 67 args = [ |
| 68 rebase_path(cabfile, root_build_dir), | 68 rebase_path(cabfile, root_build_dir), |
| 69 dllfile, | 69 dllfile, |
| 70 rebase_path(root_out_dir, root_build_dir), | 70 rebase_path(root_out_dir, root_build_dir), |
| 71 ] | 71 ] |
| 72 } | 72 } |
| 73 } | 73 } |
| OLD | NEW |