| 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 import("//build/config/crypto.gni") |
| 5 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 6 | 7 |
| 7 # GYP version: extensions/extensions.gyp:extensions_browser | 8 # GYP version: extensions/extensions.gyp:extensions_browser |
| 8 source_set("browser") { | 9 source_set("browser") { |
| 9 sources = [ | 10 sources = [ |
| 10 "admin_policy.cc", | 11 "admin_policy.cc", |
| 11 "admin_policy.h", | 12 "admin_policy.h", |
| 12 "api_activity_monitor.h", | 13 "api_activity_monitor.h", |
| 13 "app_sorting.h", | 14 "app_sorting.h", |
| 14 "blacklist_state.h", | 15 "blacklist_state.h", |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 # Android build still compiles. See conditions below. | 166 # Android build still compiles. See conditions below. |
| 166 "api/api_resource.cc", | 167 "api/api_resource.cc", |
| 167 "api/api_resource.h", | 168 "api/api_resource.h", |
| 168 "api/api_resource_manager.h", | 169 "api/api_resource_manager.h", |
| 169 "api/app_runtime/app_runtime_api.cc", | 170 "api/app_runtime/app_runtime_api.cc", |
| 170 "api/app_runtime/app_runtime_api.h", | 171 "api/app_runtime/app_runtime_api.h", |
| 171 "api/app_view/app_view_internal_api.cc", | 172 "api/app_view/app_view_internal_api.cc", |
| 172 "api/app_view/app_view_internal_api.h", | 173 "api/app_view/app_view_internal_api.h", |
| 173 "api/async_api_function.cc", | 174 "api/async_api_function.cc", |
| 174 "api/async_api_function.h", | 175 "api/async_api_function.h", |
| 176 "api/cast_channel/cast_auth_util.h", |
| 177 "api/cast_channel/cast_channel_api.cc", |
| 178 "api/cast_channel/cast_channel_api.h", |
| 179 "api/cast_channel/cast_message_util.cc", |
| 180 "api/cast_channel/cast_message_util.h", |
| 181 "api/cast_channel/cast_socket.cc", |
| 182 "api/cast_channel/cast_socket.h", |
| 175 "api/dns/dns_api.cc", | 183 "api/dns/dns_api.cc", |
| 176 "api/dns/dns_api.h", | 184 "api/dns/dns_api.h", |
| 177 "api/dns/host_resolver_wrapper.cc", | 185 "api/dns/host_resolver_wrapper.cc", |
| 178 "api/dns/host_resolver_wrapper.h", | 186 "api/dns/host_resolver_wrapper.h", |
| 179 "api/extensions_api_client.cc", | 187 "api/extensions_api_client.cc", |
| 180 "api/extensions_api_client.h", | 188 "api/extensions_api_client.h", |
| 189 "api/hid/hid_api.cc", |
| 190 "api/hid/hid_api.h", |
| 191 "api/hid/hid_connection_resource.cc", |
| 192 "api/hid/hid_connection_resource.h", |
| 193 "api/hid/hid_device_manager.cc", |
| 194 "api/hid/hid_device_manager.h", |
| 181 "api/power/power_api.cc", | 195 "api/power/power_api.cc", |
| 182 "api/power/power_api.h", | 196 "api/power/power_api.h", |
| 183 "api/power/power_api_manager.cc", | 197 "api/power/power_api_manager.cc", |
| 184 "api/power/power_api_manager.h", | 198 "api/power/power_api_manager.h", |
| 185 "api/runtime/runtime_api.cc", | 199 "api/runtime/runtime_api.cc", |
| 186 "api/runtime/runtime_api.h", | 200 "api/runtime/runtime_api.h", |
| 187 "api/runtime/runtime_api_delegate.cc", | 201 "api/runtime/runtime_api_delegate.cc", |
| 188 "api/runtime/runtime_api_delegate.h", | 202 "api/runtime/runtime_api_delegate.h", |
| 189 "api/serial/serial_api.cc", | 203 "api/serial/serial_api.cc", |
| 190 "api/serial/serial_api.h", | 204 "api/serial/serial_api.h", |
| 191 "api/serial/serial_connection.cc", | 205 "api/serial/serial_connection.cc", |
| 192 "api/serial/serial_connection.h", | 206 "api/serial/serial_connection.h", |
| 193 "api/serial/serial_event_dispatcher.cc", | 207 "api/serial/serial_event_dispatcher.cc", |
| 194 "api/serial/serial_event_dispatcher.h", | 208 "api/serial/serial_event_dispatcher.h", |
| 195 "api/socket/socket.cc", | 209 "api/socket/socket.cc", |
| 196 "api/socket/socket.h", | 210 "api/socket/socket.h", |
| 197 "api/socket/socket_api.cc", | 211 "api/socket/socket_api.cc", |
| 198 "api/socket/socket_api.h", | 212 "api/socket/socket_api.h", |
| 199 "api/socket/tcp_socket.cc", | 213 "api/socket/tcp_socket.cc", |
| 200 "api/socket/tcp_socket.h", | 214 "api/socket/tcp_socket.h", |
| 215 "api/socket/tls_socket.cc", |
| 216 "api/socket/tls_socket.h", |
| 201 "api/socket/udp_socket.cc", | 217 "api/socket/udp_socket.cc", |
| 202 "api/socket/udp_socket.h", | 218 "api/socket/udp_socket.h", |
| 203 "api/sockets_tcp/sockets_tcp_api.cc", | 219 "api/sockets_tcp/sockets_tcp_api.cc", |
| 204 "api/sockets_tcp/sockets_tcp_api.h", | 220 "api/sockets_tcp/sockets_tcp_api.h", |
| 205 "api/sockets_tcp/tcp_socket_event_dispatcher.cc", | 221 "api/sockets_tcp/tcp_socket_event_dispatcher.cc", |
| 206 "api/sockets_tcp/tcp_socket_event_dispatcher.h", | 222 "api/sockets_tcp/tcp_socket_event_dispatcher.h", |
| 207 "api/sockets_tcp_server/sockets_tcp_server_api.cc", | 223 "api/sockets_tcp_server/sockets_tcp_server_api.cc", |
| 208 "api/sockets_tcp_server/sockets_tcp_server_api.h", | 224 "api/sockets_tcp_server/sockets_tcp_server_api.h", |
| 209 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc", | 225 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc", |
| 210 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h", | 226 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 235 "api/usb/usb_api.cc", | 251 "api/usb/usb_api.cc", |
| 236 "api/usb/usb_api.h", | 252 "api/usb/usb_api.h", |
| 237 "api/usb/usb_device_resource.cc", | 253 "api/usb/usb_device_resource.cc", |
| 238 "api/usb/usb_device_resource.h", | 254 "api/usb/usb_device_resource.h", |
| 239 "browser_context_keyed_service_factories.cc", | 255 "browser_context_keyed_service_factories.cc", |
| 240 "browser_context_keyed_service_factories.h", | 256 "browser_context_keyed_service_factories.h", |
| 241 ] | 257 ] |
| 242 | 258 |
| 243 deps += [ | 259 deps += [ |
| 244 "//components/usb_service", | 260 "//components/usb_service", |
| 261 "//crypto:platform", |
| 262 "//device/hid", |
| 245 "//device/serial", | 263 "//device/serial", |
| 264 "//extensions/browser/api/cast_channel:cast_channel_proto", |
| 246 ] | 265 ] |
| 266 |
| 267 if (use_openssl) { |
| 268 sources += [ |
| 269 "api/cast_channel/cast_auth_util_openssl.cc", |
| 270 ] |
| 271 } else { |
| 272 sources += [ |
| 273 "api/cast_channel/cast_auth_util_nss.cc", |
| 274 ] |
| 275 } |
| 247 } | 276 } |
| 248 | 277 |
| 249 if (is_win) { | 278 if (is_win) { |
| 250 cflags = [ | 279 cflags = [ |
| 251 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 280 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 252 ] | 281 ] |
| 253 } | 282 } |
| 254 } | 283 } |
| OLD | NEW |