OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //cc/ipc | |
12 'target_name': 'cc_ipc', | |
13 'type': '<(component)', | |
14 'dependencies': [ | |
15 '../../base/base.gyp:base', | |
16 '../../cc/cc.gyp:cc', | |
17 '../../gpu/gpu.gyp:gpu_ipc_common', | |
18 '../../ipc/ipc.gyp:ipc', | |
19 '../../skia/skia.gyp:skia', | |
20 '../../ui/events/events.gyp:events_base', | |
21 '../../ui/events/events.gyp:events_ipc', | |
22 '../../ui/gfx/gfx.gyp:gfx', | |
23 '../../ui/gfx/gfx.gyp:gfx_geometry', | |
24 '../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | |
25 '../../ui/gfx/ipc/color/gfx_ipc_color.gyp:gfx_ipc_color', | |
26 '../../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', | |
27 '../../ui/gfx/ipc/skia/gfx_ipc_skia.gyp:gfx_ipc_skia', | |
28 ], | |
29 'defines': [ | |
30 'CC_IPC_IMPLEMENTATION', | |
31 ], | |
32 'sources': [ | |
33 'cc_param_traits.cc', | |
34 'cc_param_traits.h', | |
35 'cc_param_traits_macros.h', | |
36 ], | |
37 }, | |
38 { | |
39 # GN version: //cc/ipc:interfaces | |
40 # TODO: Add begin_frame_args, render_pass_id, returned_resources and | |
41 # transferable_resource .mojom and .typemap files here so that this target | |
42 # is consistent with that in GN build. | |
43 'target_name': 'interfaces', | |
44 'type': 'none', | |
45 'variables': { | |
46 'mojom_files': [ | |
47 'surface_id.mojom', | |
48 'surface_sequence.mojom', | |
49 ], | |
50 'mojom_typemaps': [ | |
51 'surface_id.typemap', | |
52 'surface_sequence.typemap', | |
53 ], | |
54 'use_new_wrapper_types': 'false', | |
55 }, | |
56 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], | |
57 }, | |
58 { | |
59 # GN version: //cc/ipc:interfaces | |
60 # Same target as above except that this is used in Blink | |
61 'target_name': 'interfaces_blink', | |
62 'type': 'none', | |
63 'variables': { | |
64 'for_blink': 'true', | |
65 'mojom_files': [ | |
66 'surface_id.mojom', | |
67 'surface_sequence.mojom', | |
68 ], | |
69 'mojom_typemaps': [ | |
70 'surface_id.typemap', | |
71 'surface_sequence.typemap', | |
72 ], | |
73 'use_new_wrapper_types': 'false', | |
74 }, | |
75 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], | |
76 }, | |
77 | |
78 ], | |
79 } | |
OLD | NEW |