| 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 # GYP-to-GN project mappings: | 5 # GYP-to-GN project mappings: |
| 6 # | 6 # |
| 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client | 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client |
| 8 # | 8 # |
| 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common | 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common |
| 10 # | 10 # |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 # command_buffer/command_buffer.gyp:gles2_utils => | 28 # command_buffer/command_buffer.gyp:gles2_utils => |
| 29 # //gpu/command_buffer/common | 29 # //gpu/command_buffer/common |
| 30 # (Merged in to here because the separate file exists in GYP only to break | 30 # (Merged in to here because the separate file exists in GYP only to break |
| 31 # a .gyp file dependency cycle which GN doesn't have.) | 31 # a .gyp file dependency cycle which GN doesn't have.) |
| 32 # | 32 # |
| 33 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings | 33 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings |
| 34 | 34 |
| 35 import("//testing/test.gni") | 35 import("//testing/test.gni") |
| 36 import("//build/config/ui.gni") | 36 import("//build/config/ui.gni") |
| 37 | 37 |
| 38 config("gpu_implementation") { |
| 39 defines = [ "GPU_IMPLEMENTATION" ] |
| 40 } |
| 41 |
| 38 component("gpu") { | 42 component("gpu") { |
| 39 public_deps = [ | 43 public_deps = [ |
| 40 "//gpu/command_buffer/client", | 44 "//gpu/command_buffer/client", |
| 41 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 45 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
| 42 "//gpu/command_buffer/common", | 46 "//gpu/command_buffer/common", |
| 43 "//gpu/command_buffer/service", | 47 "//gpu/command_buffer/service", |
| 44 "//gpu/config", | 48 "//gpu/config", |
| 45 ] | 49 ] |
| 46 } | 50 } |
| 47 | 51 |
| 48 source_set("test_support") { | 52 source_set("test_support") { |
| 49 testonly = true | 53 testonly = true |
| 50 sources = [ | 54 sources = [ |
| 51 "command_buffer/client/gles2_interface_stub.cc", | 55 "command_buffer/client/gles2_interface_stub.cc", |
| 52 "command_buffer/client/gles2_interface_stub.h", | 56 "command_buffer/client/gles2_interface_stub.h", |
| 53 "command_buffer/service/error_state_mock.cc", | 57 "command_buffer/service/error_state_mock.cc", |
| 54 "command_buffer/service/gles2_cmd_decoder_mock.cc", | 58 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
| 55 ] | 59 ] |
| 56 | 60 |
| 61 configs += [ ":gpu_implementation" ] |
| 62 |
| 57 public_deps = [ | 63 public_deps = [ |
| 58 ":gpu", | 64 ":gpu", |
| 59 "//gpu/command_buffer/client:gles2_interface", | 65 "//gpu/command_buffer/client:gles2_interface", |
| 60 ] | 66 ] |
| 61 deps = [ | 67 deps = [ |
| 62 "//testing/gmock", | 68 "//testing/gmock", |
| 63 "//testing/gtest", | 69 "//testing/gtest", |
| 64 "//ui/gl:gl_unittest_utils", | 70 "//ui/gl:gl_unittest_utils", |
| 65 ] | 71 ] |
| 66 } | 72 } |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 libs = [ "GL" ] | 304 libs = [ "GL" ] |
| 299 | 305 |
| 300 configs += [ "//build/config/linux:x11" ] | 306 configs += [ "//build/config/linux:x11" ] |
| 301 | 307 |
| 302 deps = [ | 308 deps = [ |
| 303 "//base", | 309 "//base", |
| 304 "//ui/gl", | 310 "//ui/gl", |
| 305 ] | 311 ] |
| 306 } | 312 } |
| 307 } | 313 } |
| OLD | NEW |