OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 component("shared_impl") { | 5 component("shared_impl") { |
6 output_name = "ppapi_shared" | 6 output_name = "ppapi_shared" |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "array_var.cc", | 9 "array_var.cc", |
10 "array_var.h", | 10 "array_var.h", |
11 "array_writer.cc", | 11 "array_writer.cc", |
12 "array_writer.h", | 12 "array_writer.h", |
13 "callback_tracker.cc", | 13 "callback_tracker.cc", |
14 "callback_tracker.h", | 14 "callback_tracker.h", |
15 "compositor_layer_data.cc", | 15 "compositor_layer_data.cc", |
16 "compositor_layer_data.h", | 16 "compositor_layer_data.h", |
17 "dictionary_var.cc", | 17 "dictionary_var.cc", |
18 "dictionary_var.h", | 18 "dictionary_var.h", |
| 19 "file_growth.cc", |
| 20 "file_growth.h", |
19 "file_io_state_manager.cc", | 21 "file_io_state_manager.cc", |
20 "file_io_state_manager.h", | 22 "file_io_state_manager.h", |
21 "file_growth.cc", | |
22 "file_growth.h", | |
23 "file_path.cc", | 23 "file_path.cc", |
24 "file_path.h", | 24 "file_path.h", |
25 "file_ref_create_info.cc", | 25 "file_ref_create_info.cc", |
26 "file_ref_create_info.h", | 26 "file_ref_create_info.h", |
27 "file_ref_util.cc", | 27 "file_ref_util.cc", |
28 "file_ref_util.h", | 28 "file_ref_util.h", |
29 "file_system_util.cc", | 29 "file_system_util.cc", |
30 "file_system_util.h", | 30 "file_system_util.h", |
31 "file_type_conversion.cc", | 31 "file_type_conversion.cc", |
32 "file_type_conversion.h", | 32 "file_type_conversion.h", |
33 "host_resource.cc", | 33 "host_resource.cc", |
34 "host_resource.h", | 34 "host_resource.h", |
35 "id_assignment.cc", | 35 "id_assignment.cc", |
36 "id_assignment.h", | 36 "id_assignment.h", |
| 37 "media_stream_audio_track_shared.cc", |
| 38 "media_stream_audio_track_shared.h", |
37 "media_stream_buffer.h", | 39 "media_stream_buffer.h", |
38 "media_stream_buffer_manager.cc", | 40 "media_stream_buffer_manager.cc", |
39 "media_stream_buffer_manager.h", | 41 "media_stream_buffer_manager.h", |
40 "media_stream_audio_track_shared.cc", | 42 "media_stream_video_track_shared.cc", |
41 "media_stream_audio_track_shared.h", | |
42 "media_stream_video_track_shared.h", | 43 "media_stream_video_track_shared.h", |
43 "media_stream_video_track_shared.cc", | |
44 "platform_file.cc", | 44 "platform_file.cc", |
45 "platform_file.h", | 45 "platform_file.h", |
46 "ppapi_constants.h", | 46 "ppapi_constants.h", |
47 "ppapi_globals.cc", | 47 "ppapi_globals.cc", |
48 "ppapi_globals.h", | 48 "ppapi_globals.h", |
49 "ppapi_nacl_plugin_args.cc", | 49 "ppapi_nacl_plugin_args.cc", |
50 "ppapi_nacl_plugin_args.h", | 50 "ppapi_nacl_plugin_args.h", |
51 "ppapi_permissions.cc", | 51 "ppapi_permissions.cc", |
52 "ppapi_permissions.h", | 52 "ppapi_permissions.h", |
53 "ppapi_preferences.cc", | 53 "ppapi_preferences.cc", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "url_request_info_data.h", | 113 "url_request_info_data.h", |
114 "url_response_info_data.cc", | 114 "url_response_info_data.cc", |
115 "url_response_info_data.h", | 115 "url_response_info_data.h", |
116 "var.cc", | 116 "var.cc", |
117 "var.h", | 117 "var.h", |
118 "var_tracker.cc", | 118 "var_tracker.cc", |
119 "var_tracker.h", | 119 "var_tracker.h", |
120 | 120 |
121 # TODO(viettrungluu): Split these out; it won"t be used in NaCl. | 121 # TODO(viettrungluu): Split these out; it won"t be used in NaCl. |
122 "private/net_address_private_impl.cc", | 122 "private/net_address_private_impl.cc", |
| 123 "private/net_address_private_impl.h", |
123 "private/net_address_private_impl_constants.cc", | 124 "private/net_address_private_impl_constants.cc", |
124 "private/net_address_private_impl.h", | |
125 "private/ppb_x509_certificate_private_shared.cc", | 125 "private/ppb_x509_certificate_private_shared.cc", |
126 "private/ppb_x509_certificate_private_shared.h", | 126 "private/ppb_x509_certificate_private_shared.h", |
127 ] | 127 ] |
128 | 128 |
129 if (!is_nacl) { | 129 if (!is_nacl) { |
130 sources += [ | 130 sources += [ |
131 "flash_clipboard_format_registry.cc", | 131 "flash_clipboard_format_registry.cc", |
132 "flash_clipboard_format_registry.h", | 132 "flash_clipboard_format_registry.h", |
133 "ppb_url_util_shared.cc", | 133 "ppb_url_util_shared.cc", |
134 "ppb_url_util_shared.h", | 134 "ppb_url_util_shared.h", |
135 "ppb_video_decoder_shared.cc", | 135 "ppb_video_decoder_shared.cc", |
136 "ppb_video_decoder_shared.h", | 136 "ppb_video_decoder_shared.h", |
137 "private/ppb_char_set_shared.cc", | 137 "private/ppb_char_set_shared.cc", |
138 "private/ppb_char_set_shared.h", | 138 "private/ppb_char_set_shared.h", |
139 ] | 139 ] |
140 } | 140 } |
141 | 141 |
142 # TODO(GYP) this isn't correct. This should only be specifically for the | 142 # TODO(GYP) this isn't correct. This should only be specifically for the |
143 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than the | 143 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than the |
144 # native 64-bit Chrome build. | 144 # native 64-bit Chrome build. |
145 # See also //ppapi/thunk | 145 # See also //ppapi/thunk |
146 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { | 146 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { |
147 sources -= [ | 147 sources -= [ |
148 "ppb_audio_shared.cc", | 148 "ppb_audio_shared.cc", |
149 "ppb_graphics_3d_shared.cc", | 149 "ppb_graphics_3d_shared.cc", |
150 "ppb_opengles2_shared.cc", | 150 "ppb_opengles2_shared.cc", |
| 151 "private/net_address_private_impl.cc", |
151 "private/ppb_host_resolver_shared.cc", | 152 "private/ppb_host_resolver_shared.cc", |
152 "private/net_address_private_impl.cc", | |
153 ] | 153 ] |
154 } | 154 } |
155 | 155 |
156 defines = [ | 156 defines = [ |
157 "PPAPI_SHARED_IMPLEMENTATION", | 157 "PPAPI_SHARED_IMPLEMENTATION", |
158 | 158 |
159 # This target also implements some thunk functions. | 159 # This target also implements some thunk functions. |
160 "PPAPI_THUNK_IMPLEMENTATION", | 160 "PPAPI_THUNK_IMPLEMENTATION", |
161 ] | 161 ] |
162 | 162 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 deps = [ | 206 deps = [ |
207 "//base/test:test_support", | 207 "//base/test:test_support", |
208 "//ipc", | 208 "//ipc", |
209 "//ipc:test_support", | 209 "//ipc:test_support", |
210 "//ppapi/proxy", | 210 "//ppapi/proxy", |
211 "//ppapi/shared_impl", | 211 "//ppapi/shared_impl", |
212 "//testing/gmock", | 212 "//testing/gmock", |
213 "//testing/gtest", | 213 "//testing/gtest", |
214 ] | 214 ] |
215 } | 215 } |
OLD | NEW |