Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3203)

Unified Diff: cc/BUILD.gn

Issue 1394353002: Add Protobuf support in cc for gfx objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build for other targets Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | cc/cc.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | cc/cc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698