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

Side by Side Diff: cc/cc.gyp

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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //cc 11 # GN version: //cc
12 'target_name': 'cc', 12 'target_name': 'cc',
13 'type': '<(component)', 13 'type': '<(component)',
14 'dependencies': [ 14 'dependencies': [
15 'cc_proto',
15 '<(DEPTH)/base/base.gyp:base', 16 '<(DEPTH)/base/base.gyp:base',
16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
17 '<(DEPTH)/gpu/gpu.gyp:gpu', 18 '<(DEPTH)/gpu/gpu.gyp:gpu',
18 '<(DEPTH)/media/media.gyp:media', 19 '<(DEPTH)/media/media.gyp:media',
19 '<(DEPTH)/skia/skia.gyp:skia', 20 '<(DEPTH)/skia/skia.gyp:skia',
21 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
20 '<(DEPTH)/ui/events/events.gyp:events_base', 22 '<(DEPTH)/ui/events/events.gyp:events_base',
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', 23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
23 '<(DEPTH)/ui/gl/gl.gyp:gl', 25 '<(DEPTH)/ui/gl/gl.gyp:gl',
24 ], 26 ],
25 'variables': { 27 'variables': {
26 'optimize': 'max', 28 'optimize': 'max',
27 }, 29 },
28 'export_dependent_settings': [ 30 'export_dependent_settings': [
29 '<(DEPTH)/skia/skia.gyp:skia', 31 '<(DEPTH)/skia/skia.gyp:skia',
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 'playback/float_clip_display_item.cc', 367 'playback/float_clip_display_item.cc',
366 'playback/float_clip_display_item.h', 368 'playback/float_clip_display_item.h',
367 'playback/largest_display_item.cc', 369 'playback/largest_display_item.cc',
368 'playback/largest_display_item.h', 370 'playback/largest_display_item.h',
369 'playback/position_image.h', 371 'playback/position_image.h',
370 'playback/raster_source.h', 372 'playback/raster_source.h',
371 'playback/raster_source_helper.cc', 373 'playback/raster_source_helper.cc',
372 'playback/raster_source_helper.h', 374 'playback/raster_source_helper.h',
373 'playback/transform_display_item.cc', 375 'playback/transform_display_item.cc',
374 'playback/transform_display_item.h', 376 'playback/transform_display_item.h',
377 'proto/gfx_conversions.cc',
378 'proto/gfx_conversions.h',
375 'quads/content_draw_quad_base.cc', 379 'quads/content_draw_quad_base.cc',
376 'quads/content_draw_quad_base.h', 380 'quads/content_draw_quad_base.h',
377 'quads/debug_border_draw_quad.cc', 381 'quads/debug_border_draw_quad.cc',
378 'quads/debug_border_draw_quad.h', 382 'quads/debug_border_draw_quad.h',
379 'quads/draw_polygon.cc', 383 'quads/draw_polygon.cc',
380 'quads/draw_polygon.h', 384 'quads/draw_polygon.h',
381 'quads/draw_quad.cc', 385 'quads/draw_quad.cc',
382 'quads/draw_quad.h', 386 'quads/draw_quad.h',
383 'quads/io_surface_draw_quad.cc', 387 'quads/io_surface_draw_quad.cc',
384 'quads/io_surface_draw_quad.h', 388 'quads/io_surface_draw_quad.h',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 'conditions': [ 569 'conditions': [
566 ['target_arch == "ia32" or target_arch == "x64"', { 570 ['target_arch == "ia32" or target_arch == "x64"', {
567 'sources': [ 571 'sources': [
568 'raster/texture_compressor_etc1_sse.cc', 572 'raster/texture_compressor_etc1_sse.cc',
569 'raster/texture_compressor_etc1_sse.h', 573 'raster/texture_compressor_etc1_sse.h',
570 ], 574 ],
571 }], 575 }],
572 ], 576 ],
573 }, 577 },
574 { 578 {
579 # GN version: "//cc/proto:cc_proto"
580 'target_name': 'cc_proto',
581 'type': '<(component)',
582 'sources': [
583 'proto/point.proto',
584 'proto/pointf.proto',
585 'proto/rect.proto',
586 'proto/rectf.proto',
587 'proto/size.proto',
588 'proto/sizef.proto',
589 'proto/transform.proto',
590 ],
591 'defines': [
592 'CC_PROTO_IMPLEMENTATION=1',
593 ],
594 'variables': {
595 'enable_wexit_time_destructors': 1,
danakj 2015/10/14 23:10:10 what is it? can you explain in comment
David Trainor- moved to gerrit 2015/10/15 22:18:02 I wasn't sure either, but sync did it for their pr
danakj 2015/10/16 22:04:24 But why is it important for the proto code? Is it?
596 'proto_in_dir': 'proto',
597 'proto_out_dir': 'cc/proto',
598 'cc_generator_options': 'dllexport_decl=CC_PROTO_EXPORT:',
599 'cc_include': 'cc/proto/cc_proto_export.h',
600 },
601 'includes': [ '../build/protoc.gypi' ]
602 },
603 {
575 # GN version: //cc/surfaces 604 # GN version: //cc/surfaces
576 'target_name': 'cc_surfaces', 605 'target_name': 'cc_surfaces',
577 'type': '<(component)', 606 'type': '<(component)',
578 'dependencies': [ 607 'dependencies': [
579 'cc', 608 'cc',
580 '<(DEPTH)/base/base.gyp:base', 609 '<(DEPTH)/base/base.gyp:base',
581 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 610 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
582 '<(DEPTH)/gpu/gpu.gyp:gpu', 611 '<(DEPTH)/gpu/gpu.gyp:gpu',
583 '<(DEPTH)/skia/skia.gyp:skia', 612 '<(DEPTH)/skia/skia.gyp:skia',
584 '<(DEPTH)/ui/events/events.gyp:events_base', 613 '<(DEPTH)/ui/events/events.gyp:events_base',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 'surfaces/surface_resource_holder.cc', 645 'surfaces/surface_resource_holder.cc',
617 'surfaces/surface_resource_holder.h', 646 'surfaces/surface_resource_holder.h',
618 'surfaces/surfaces_export.h', 647 'surfaces/surfaces_export.h',
619 ], 648 ],
620 'includes': [ 649 'includes': [
621 '../build/android/increase_size_for_speed.gypi', 650 '../build/android/increase_size_for_speed.gypi',
622 ], 651 ],
623 }, 652 },
624 ], 653 ],
625 } 654 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698