OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 { |
(...skipping 16 matching lines...) Expand all Loading... |
27 ], | 27 ], |
28 'defines': [ | 28 'defines': [ |
29 'CC_IPC_IMPLEMENTATION', | 29 'CC_IPC_IMPLEMENTATION', |
30 ], | 30 ], |
31 'sources': [ | 31 'sources': [ |
32 'cc_param_traits.cc', | 32 'cc_param_traits.cc', |
33 'cc_param_traits.h', | 33 'cc_param_traits.h', |
34 'cc_param_traits_macros.h', | 34 'cc_param_traits_macros.h', |
35 ], | 35 ], |
36 }, | 36 }, |
| 37 { |
| 38 # GN version: //cc/ipc:interfaces |
| 39 # TODO: Add begin_frame_args, render_pass_id, returned_resources and |
| 40 # transferable_resource .mojom and .typemap files here so that this target |
| 41 # is consistent with that in GN build. |
| 42 'target_name': 'interfaces', |
| 43 'type': 'none', |
| 44 'variables': { |
| 45 'mojom_files': [ |
| 46 'surface_id.mojom', |
| 47 'surface_sequence.mojom', |
| 48 ], |
| 49 'mojom_typemaps': [ |
| 50 'surface_id.typemap', |
| 51 'surface_sequence.typemap', |
| 52 ], |
| 53 }, |
| 54 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 55 }, |
| 56 { |
| 57 # GN version: //cc/ipc:interfaces |
| 58 # Same target as above except that this is used in Blink |
| 59 'target_name': 'interfaces_blink', |
| 60 'type': 'none', |
| 61 'variables': { |
| 62 'for_blink': 'true', |
| 63 'mojom_files': [ |
| 64 'surface_id.mojom', |
| 65 'surface_sequence.mojom', |
| 66 ], |
| 67 'mojom_typemaps': [ |
| 68 'surface_id.typemap', |
| 69 'surface_sequence.typemap', |
| 70 ], |
| 71 }, |
| 72 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 73 }, |
| 74 |
37 ], | 75 ], |
38 } | 76 } |
OLD | NEW |