Index: cc/BUILD.gn |
diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
index 105004ae7e7cf1cf7014fa2914ae81a1db56bec2..64a60f7a7e7bbeab970fe31904d24c898fb53e0c 100644 |
--- a/cc/BUILD.gn |
+++ b/cc/BUILD.gn |
@@ -312,6 +312,8 @@ component("cc") { |
"playback/raster_source_helper.h", |
"playback/transform_display_item.cc", |
"playback/transform_display_item.h", |
+ "proto/gfx_conversions.cc", |
+ "proto/gfx_conversions.h", |
"quads/content_draw_quad_base.cc", |
"quads/content_draw_quad_base.h", |
"quads/debug_border_draw_quad.cc", |
@@ -516,10 +518,12 @@ component("cc") { |
deps = [ |
"//base", |
"//base/third_party/dynamic_annotations", |
+ "//cc/proto:cc_proto", |
"//cc/surfaces:surface_id", |
"//gpu", |
"//gpu/command_buffer/client:gles2_interface", |
"//media", |
+ "//third_party/protobuf:protobuf_lite", |
danakj
2015/10/14 23:10:10
how come this isn't a dep of //cc/proto instead/on
David Trainor- moved to gerrit
2015/10/15 22:18:02
I can do this in GN, but gyp with component=shared
|
"//ui/events:events_base", |
"//ui/gfx", |
"//ui/gfx/geometry", |
@@ -784,6 +788,7 @@ test("cc_unittests") { |
"playback/display_item_list_unittest.cc", |
"playback/display_list_raster_source_unittest.cc", |
"playback/display_list_recording_source_unittest.cc", |
+ "proto/gfx_conversions_unittest.cc", |
"quads/draw_polygon_unittest.cc", |
"quads/draw_quad_unittest.cc", |
"quads/render_pass_unittest.cc", |
@@ -863,6 +868,7 @@ test("cc_unittests") { |
":cc", |
":test_support", |
"//base/test:test_support", |
+ "//cc/proto:cc_proto", |
"//cc/surfaces", |
"//cc/surfaces:surface_id", |
"//gpu", |
@@ -872,6 +878,7 @@ test("cc_unittests") { |
"//media", |
"//testing/gmock", |
"//testing/gtest", |
+ "//third_party/protobuf:protobuf_lite", |
"//ui/events:events_base", |
"//ui/gfx", |
"//ui/gfx/geometry", |
@@ -880,7 +887,9 @@ test("cc_unittests") { |
"//ui/gl:test_support", |
] |
- data_deps = [ "//third_party/mesa:osmesa" ] |
+ data_deps = [ |
+ "//third_party/mesa:osmesa", |
+ ] |
} |
test("cc_perftests") { |