OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//components/viz/viz.gni") | 5 import("//components/viz/viz.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 viz_source_set("common") { | 8 viz_source_set("common") { |
| 9 defines = [ "VIZ_COMMON_IMPLEMENTATION" ] |
| 10 |
9 sources = [ | 11 sources = [ |
| 12 "export.h", |
10 "gl_helper.cc", | 13 "gl_helper.cc", |
11 "gl_helper.h", | 14 "gl_helper.h", |
12 "gl_helper_readback_support.cc", | 15 "gl_helper_readback_support.cc", |
13 "gl_helper_readback_support.h", | 16 "gl_helper_readback_support.h", |
14 "gl_helper_scaling.cc", | 17 "gl_helper_scaling.cc", |
15 "gl_helper_scaling.h", | 18 "gl_helper_scaling.h", |
16 "hit_test/aggregated_hit_test_region.h", | 19 "hit_test/aggregated_hit_test_region.h", |
17 "quads/resource_format.h", | 20 "quads/resource_format.h", |
18 "quads/shared_bitmap.cc", | 21 "quads/shared_bitmap.cc", |
19 "quads/shared_bitmap.h", | 22 "quads/shared_bitmap.h", |
(...skipping 17 matching lines...) Expand all Loading... |
37 "surfaces/sequence_surface_reference_factory.cc", | 40 "surfaces/sequence_surface_reference_factory.cc", |
38 "surfaces/sequence_surface_reference_factory.h", | 41 "surfaces/sequence_surface_reference_factory.h", |
39 "surfaces/surface_id.cc", | 42 "surfaces/surface_id.cc", |
40 "surfaces/surface_id.h", | 43 "surfaces/surface_id.h", |
41 "surfaces/surface_info.h", | 44 "surfaces/surface_info.h", |
42 "surfaces/surface_reference_factory.h", | 45 "surfaces/surface_reference_factory.h", |
43 "surfaces/surface_reference_owner.h", | 46 "surfaces/surface_reference_owner.h", |
44 "surfaces/surface_sequence.h", | 47 "surfaces/surface_sequence.h", |
45 "surfaces/surface_sequence_generator.cc", | 48 "surfaces/surface_sequence_generator.cc", |
46 "surfaces/surface_sequence_generator.h", | 49 "surfaces/surface_sequence_generator.h", |
| 50 "switches.cc", |
| 51 "switches.h", |
47 ] | 52 ] |
48 | 53 |
49 deps = [ | 54 deps = [ |
50 "//base", | 55 "//base", |
51 "//gpu/command_buffer/client:gles2_interface", | 56 "//gpu/command_buffer/client:gles2_interface", |
52 "//mojo/public/cpp/bindings", | 57 "//mojo/public/cpp/bindings", |
53 "//skia", | 58 "//skia", |
54 "//ui/gfx:color_space", | 59 "//ui/gfx:color_space", |
55 "//ui/gfx:geometry_skia", | 60 "//ui/gfx:geometry_skia", |
56 "//ui/gfx/geometry", | 61 "//ui/gfx/geometry", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "//gpu/ipc:gl_in_process_context", | 112 "//gpu/ipc:gl_in_process_context", |
108 "//testing/gmock", | 113 "//testing/gmock", |
109 "//testing/gtest", | 114 "//testing/gtest", |
110 "//ui/gfx", | 115 "//ui/gfx", |
111 ] | 116 ] |
112 | 117 |
113 data_deps = [ | 118 data_deps = [ |
114 "//third_party/mesa:osmesa", | 119 "//third_party/mesa:osmesa", |
115 ] | 120 ] |
116 } | 121 } |
OLD | NEW |