Work on Windows GN component build.
[chromium-blink-merge.git] / gpu / ipc / BUILD.gn
blobc78dea73a9bc93fba9bfcc2354f2aa7ba536caf9
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
3 # found in the LICENSE file.
5 group("ipc") {
6   if (is_component_build) {
7     public_deps = [
8       "//gpu",
9     ]
10   } else {
11     public_deps = [
12       ":ipc_sources",
13     ]
14   }
17 source_set("ipc_sources") {
18   visibility = [ "//gpu/*" ]
20   sources = [
21     "gpu_command_buffer_traits.cc",
22     "gpu_command_buffer_traits.h",
23   ]
25   configs += [
26     "//gpu:gpu_implementation",
27     "//third_party/khronos:khronos_headers",
28   ]
30   deps = [
31     "//gpu/command_buffer/common:common_sources",
32     "//ipc",
33   ]