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 5static_library("bindings") { 6 sources = [ 7 "array.h", 8 "array_traits.h", 9 "array_traits_carray.h", 10 "array_traits_standard.h", 11 "array_traits_stl.h", 12 "associated_binding.h", 13 "associated_group.h", 14 "associated_group_controller.h", 15 "associated_interface_ptr.h", 16 "associated_interface_ptr_info.h", 17 "associated_interface_request.h", 18 "binding.h", 19 "binding_set.h", 20 "connector.h", 21 "enum_traits.h", 22 "interface_endpoint_client.h", 23 "interface_endpoint_controller.h", 24 "interface_id.h", 25 "interface_ptr.h", 26 "interface_ptr_info.h", 27 "interface_ptr_set.h", 28 "interface_request.h", 29 "lib/array_internal.cc", 30 "lib/array_internal.h", 31 "lib/array_serialization.h", 32 "lib/associated_group.cc", 33 "lib/associated_group_controller.cc", 34 "lib/associated_interface_ptr_state.h", 35 "lib/binding_state.h", 36 "lib/bindings_internal.cc", 37 "lib/bindings_internal.h", 38 "lib/buffer.h", 39 "lib/clone_equals_util.h", 40 "lib/connector.cc", 41 "lib/control_message_handler.cc", 42 "lib/control_message_handler.h", 43 "lib/control_message_proxy.cc", 44 "lib/control_message_proxy.h", 45 "lib/filter_chain.cc", 46 "lib/filter_chain.h", 47 "lib/fixed_buffer.cc", 48 "lib/fixed_buffer.h", 49 "lib/handle_interface_serialization.h", 50 "lib/interface_endpoint_client.cc", 51 "lib/interface_ptr_state.h", 52 "lib/map_data_internal.h", 53 "lib/map_serialization.h", 54 "lib/message.cc", 55 "lib/message_buffer.cc", 56 "lib/message_buffer.h", 57 "lib/message_builder.cc", 58 "lib/message_builder.h", 59 "lib/message_filter.cc", 60 "lib/message_header_validator.cc", 61 "lib/message_internal.h", 62 "lib/multiplex_router.cc", 63 "lib/multiplex_router.h", 64 "lib/native_enum_data.h", 65 "lib/native_enum_serialization.h", 66 "lib/native_struct.cc", 67 "lib/native_struct_data.cc", 68 "lib/native_struct_data.h", 69 "lib/native_struct_serialization.cc", 70 "lib/native_struct_serialization.h", 71 "lib/no_interface.cc", 72 "lib/pipe_control_message_handler.cc", 73 "lib/pipe_control_message_proxy.cc", 74 "lib/router.cc", 75 "lib/router.h", 76 "lib/scoped_interface_endpoint_handle.cc", 77 "lib/serialization.h", 78 "lib/serialization_context.cc", 79 "lib/serialization_context.h", 80 "lib/serialization_forward.h", 81 "lib/serialization_util.h", 82 "lib/string_serialization.h", 83 "lib/string_traits_string16.cc", 84 "lib/sync_call_restrictions.cc", 85 "lib/sync_handle_registry.cc", 86 "lib/sync_handle_watcher.cc", 87 "lib/template_util.h", 88 "lib/union_accessor.h", 89 "lib/validate_params.h", 90 "lib/validation_context.cc", 91 "lib/validation_context.h", 92 "lib/validation_errors.cc", 93 "lib/validation_errors.h", 94 "lib/validation_util.cc", 95 "lib/validation_util.h", 96 "map.h", 97 "map_traits.h", 98 "map_traits_standard.h", 99 "map_traits_stl.h", 100 "message.h", 101 "message_filter.h", 102 "message_header_validator.h", 103 "native_enum.h", 104 "native_struct.h", 105 "no_interface.h", 106 "pipe_control_message_handler.h", 107 "pipe_control_message_handler_delegate.h", 108 "pipe_control_message_proxy.h", 109 "scoped_interface_endpoint_handle.h", 110 "stl_converters.h", 111 "string.h", 112 "string_traits.h", 113 "string_traits_standard.h", 114 "string_traits_stl.h", 115 "string_traits_string16.h", 116 "string_traits_string_piece.h", 117 "strong_binding.h", 118 "struct_ptr.h", 119 "sync_call_restrictions.h", 120 "sync_handle_registry.h", 121 "sync_handle_watcher.h", 122 "type_converter.h", 123 ] 124 125 public_deps = [ 126 ":struct_traits", 127 "//base", 128 "//ipc:param_traits", 129 "//mojo/public/cpp/system", 130 ] 131 132 deps = [ 133 "//base", 134 "//mojo/public/interfaces/bindings:bindings_cpp_sources", 135 ] 136} 137 138source_set("struct_traits") { 139 sources = [ 140 "struct_traits.h", 141 ] 142} 143 144if (!is_ios) { 145 # TODO(yzshen): crbug.com/617718 Consider moving this into blink. 146 source_set("wtf_support") { 147 sources = [ 148 "array_traits_wtf.h", 149 "array_traits_wtf_vector.h", 150 "lib/string_traits_wtf.cc", 151 "lib/wtf_clone_equals_util.h", 152 "lib/wtf_serialization.h", 153 "map_traits_wtf.h", 154 "map_traits_wtf_hash_map.h", 155 "string_traits_wtf.h", 156 "wtf_array.h", 157 "wtf_map.h", 158 ] 159 160 public_deps = [ 161 ":bindings", 162 "//third_party/WebKit/Source/wtf", 163 ] 164 165 public_configs = [ "//third_party/WebKit/Source:config" ] 166 } 167} 168