| 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 15 matching lines...) Expand all Loading... |
| 26 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto | 26 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto |
| 27 # | 27 # |
| 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 | 37 |
| 37 component("gpu") { | 38 component("gpu") { |
| 38 public_deps = [ | 39 public_deps = [ |
| 39 "//gpu/command_buffer/client", | 40 "//gpu/command_buffer/client", |
| 40 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 41 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
| 41 "//gpu/command_buffer/common", | 42 "//gpu/command_buffer/common", |
| 42 "//gpu/command_buffer/service", | 43 "//gpu/command_buffer/service", |
| 43 "//gpu/config", | 44 "//gpu/config", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 "command_buffer/service/gles2_cmd_decoder_unittest_1.cc", | 177 "command_buffer/service/gles2_cmd_decoder_unittest_1.cc", |
| 177 "command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h", | 178 "command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h", |
| 178 "command_buffer/service/gles2_cmd_decoder_unittest_2.cc", | 179 "command_buffer/service/gles2_cmd_decoder_unittest_2.cc", |
| 179 "command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h", | 180 "command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h", |
| 180 "command_buffer/service/gles2_cmd_decoder_unittest_3.cc", | 181 "command_buffer/service/gles2_cmd_decoder_unittest_3.cc", |
| 181 "command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h", | 182 "command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h", |
| 182 "command_buffer/service/gles2_cmd_decoder_unittest_async_pixel.cc", | 183 "command_buffer/service/gles2_cmd_decoder_unittest_async_pixel.cc", |
| 183 "command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc", | 184 "command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc", |
| 184 "command_buffer/service/gles2_cmd_decoder_unittest_base.cc", | 185 "command_buffer/service/gles2_cmd_decoder_unittest_base.cc", |
| 185 "command_buffer/service/gles2_cmd_decoder_unittest_base.h", | 186 "command_buffer/service/gles2_cmd_decoder_unittest_base.h", |
| 187 "command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc", |
| 186 "command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc", | 188 "command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc", |
| 187 "command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc", | 189 "command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc", |
| 188 "command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc", | 190 "command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc", |
| 189 "command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc", | 191 "command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc", |
| 190 "command_buffer/service/gles2_cmd_decoder_unittest_programs.cc", | 192 "command_buffer/service/gles2_cmd_decoder_unittest_programs.cc", |
| 191 "command_buffer/service/gles2_cmd_decoder_unittest_textures.cc", | 193 "command_buffer/service/gles2_cmd_decoder_unittest_textures.cc", |
| 192 "command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc", | 194 "command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc", |
| 193 "command_buffer/service/gpu_scheduler_unittest.cc", | 195 "command_buffer/service/gpu_scheduler_unittest.cc", |
| 194 "command_buffer/service/gpu_service_test.cc", | 196 "command_buffer/service/gpu_service_test.cc", |
| 195 "command_buffer/service/gpu_service_test.h", | 197 "command_buffer/service/gpu_service_test.h", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 sources = [ | 254 sources = [ |
| 253 "perftests/measurements.cc", | 255 "perftests/measurements.cc", |
| 254 "perftests/run_all_tests.cc", | 256 "perftests/run_all_tests.cc", |
| 255 "perftests/texture_upload_perftest.cc", | 257 "perftests/texture_upload_perftest.cc", |
| 256 ] | 258 ] |
| 257 | 259 |
| 258 deps = [ | 260 deps = [ |
| 259 "//base", | 261 "//base", |
| 260 "//base/test:test_support", | 262 "//base/test:test_support", |
| 261 "//gpu/command_buffer/service", | 263 "//gpu/command_buffer/service", |
| 264 "//testing/gmock", |
| 262 "//testing/gtest", | 265 "//testing/gtest", |
| 263 "//testing/perf", | 266 "//testing/perf", |
| 264 "//ui/gfx/geometry", | 267 "//ui/gfx/geometry", |
| 265 "//ui/gl", | 268 "//ui/gl", |
| 266 ] | 269 ] |
| 267 } | 270 } |
| 268 | 271 |
| 269 test("angle_unittests") { | 272 test("angle_unittests") { |
| 270 sources = [ | 273 sources = [ |
| 271 "angle_unittest_main.cc", | 274 "angle_unittest_main.cc", |
| 272 ] | 275 ] |
| 273 | 276 |
| 274 deps = [ | 277 deps = [ |
| 275 "//base", | 278 "//base", |
| 276 "//base/test:test_support", | 279 "//base/test:test_support", |
| 277 "//base/third_party/dynamic_annotations", | 280 "//base/third_party/dynamic_annotations", |
| 278 "//testing/gmock", | 281 "//testing/gmock", |
| 279 "//testing/gtest", | 282 "//testing/gtest", |
| 280 "//third_party/angle:translator_static", | 283 "//third_party/angle:translator_static", |
| 281 ] | 284 ] |
| 282 } | 285 } |
| 286 |
| 287 if (is_linux && !is_chromeos && target_cpu != "arm" && use_x11) { |
| 288 executable("compositor_model_bench") { |
| 289 sources = [ |
| 290 "tools/compositor_model_bench/compositor_model_bench.cc", |
| 291 "tools/compositor_model_bench/forward_render_model.cc", |
| 292 "tools/compositor_model_bench/render_model_utils.cc", |
| 293 "tools/compositor_model_bench/render_models.cc", |
| 294 "tools/compositor_model_bench/render_tree.cc", |
| 295 "tools/compositor_model_bench/shaders.cc", |
| 296 ] |
| 297 |
| 298 libs = [ "GL" ] |
| 299 |
| 300 configs += [ "//build/config/linux:x11" ] |
| 301 |
| 302 deps = [ |
| 303 "//base", |
| 304 "//ui/gl", |
| 305 ] |
| 306 } |
| 307 } |
| OLD | NEW |