blob: 0ee55b83378a2669635c0ad44d89ba7120514bba [file] [log] [blame]
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +01001# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := net_net_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \
15 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \
16 $(call intermediates-dir-for,GYP,net_net_resources_gyp)/net_resources.stamp \
17 $(call intermediates-dir-for,GYP,net_net_jni_headers_gyp)/net_jni_headers.stamp
18
19GYP_GENERATED_OUTPUTS :=
20
21# Make sure our deps and generated files are built first.
22LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
23
24LOCAL_CPP_EXTENSION := .cc
25LOCAL_GENERATED_SOURCES :=
26
27GYP_COPIED_SOURCE_ORIGIN_DIRS :=
28
29LOCAL_SRC_FILES := \
30 net/android/gurl_utils.cc \
31 net/android/keystore.cc \
32 net/android/keystore_openssl.cc \
33 net/android/net_jni_registrar.cc \
34 net/android/network_change_notifier_android.cc \
35 net/android/network_change_notifier_delegate_android.cc \
36 net/android/network_change_notifier_factory_android.cc \
37 net/android/network_library.cc \
38 net/base/address_list.cc \
39 net/base/auth.cc \
40 net/base/backoff_entry.cc \
41 net/base/bandwidth_metrics.cc \
42 net/base/big_endian.cc \
43 net/base/connection_type_histograms.cc \
44 net/base/crypto_module_openssl.cc \
45 net/base/data_url.cc \
46 net/base/directory_lister.cc \
47 net/base/dns_reloader.cc \
48 net/base/dns_util.cc \
49 net/base/escape.cc \
50 net/base/file_stream.cc \
51 net/base/file_stream_context.cc \
52 net/base/file_stream_context_posix.cc \
53 net/base/file_stream_metrics.cc \
54 net/base/file_stream_metrics_posix.cc \
55 net/base/file_stream_net_log_parameters.cc \
56 net/base/filter.cc \
57 net/base/int128.cc \
58 net/base/gzip_filter.cc \
59 net/base/gzip_header.cc \
60 net/base/hash_value.cc \
61 net/base/host_mapping_rules.cc \
62 net/base/host_port_pair.cc \
63 net/base/io_buffer.cc \
64 net/base/ip_endpoint.cc \
65 net/base/keygen_handler.cc \
66 net/base/keygen_handler_openssl.cc \
67 net/base/load_timing_info.cc \
68 net/base/mime_sniffer.cc \
69 net/base/mime_util.cc \
70 net/base/net_errors.cc \
71 net/base/net_errors_posix.cc \
72 net/base/net_log.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +010073 net/base/net_log_logger.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010074 net/base/net_module.cc \
75 net/base/net_util.cc \
76 net/base/net_util_posix.cc \
77 net/base/network_change_notifier.cc \
78 net/base/network_delegate.cc \
79 net/base/network_time_notifier.cc \
80 net/base/openssl_private_key_store_android.cc \
81 net/base/platform_mime_util_linux.cc \
82 net/base/prioritized_dispatcher.cc \
83 net/base/registry_controlled_domains/registry_controlled_domain.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +010084 net/base/request_priority.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010085 net/base/sdch_filter.cc \
86 net/base/sdch_manager.cc \
87 net/base/static_cookie_policy.cc \
88 net/base/test_data_stream.cc \
89 net/base/upload_bytes_element_reader.cc \
90 net/base/upload_data.cc \
91 net/base/upload_data_stream.cc \
92 net/base/upload_element.cc \
93 net/base/upload_element_reader.cc \
94 net/base/upload_file_element_reader.cc \
95 net/base/url_util.cc \
96 net/base/zap.cc \
97 net/cert/asn1_util.cc \
98 net/cert/cert_database.cc \
99 net/cert/cert_database_android.cc \
100 net/cert/cert_status_flags.cc \
101 net/cert/cert_verifier.cc \
102 net/cert/cert_verify_proc.cc \
103 net/cert/cert_verify_proc_android.cc \
104 net/cert/cert_verify_result.cc \
105 net/cert/crl_set.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000106 net/cert/ct_known_logs.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000107 net/cert/ct_log_verifier.cc \
108 net/cert/ct_log_verifier_openssl.cc \
109 net/cert/ct_objects_extractor_openssl.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000110 net/cert/ct_serialization.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000111 net/cert/ct_signed_certificate_timestamp_log_param.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000112 net/cert/ct_verify_result.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100113 net/cert/ev_root_ca_metadata.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100114 net/cert/jwk_serializer_openssl.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000115 net/cert/multi_log_ct_verifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100116 net/cert/multi_threaded_cert_verifier.cc \
117 net/cert/pem_tokenizer.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000118 net/cert/signed_certificate_timestamp.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100119 net/cert/single_request_cert_verifier.cc \
120 net/cert/test_root_certs.cc \
121 net/cert/test_root_certs_android.cc \
122 net/cert/x509_cert_types.cc \
123 net/cert/x509_certificate.cc \
124 net/cert/x509_certificate_net_log_param.cc \
125 net/cert/x509_certificate_openssl.cc \
126 net/cert/x509_util.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000127 net/cert/x509_util_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100128 net/cert/x509_util_openssl.cc \
129 net/cookies/canonical_cookie.cc \
130 net/cookies/cookie_constants.cc \
131 net/cookies/cookie_monster.cc \
132 net/cookies/cookie_store.cc \
133 net/cookies/cookie_util.cc \
134 net/cookies/parsed_cookie.cc \
135 net/disk_cache/addr.cc \
136 net/disk_cache/backend_impl.cc \
137 net/disk_cache/bitmap.cc \
138 net/disk_cache/block_files.cc \
139 net/disk_cache/cache_creator.cc \
140 net/disk_cache/cache_util.cc \
141 net/disk_cache/cache_util_posix.cc \
142 net/disk_cache/disk_format.cc \
143 net/disk_cache/entry_impl.cc \
144 net/disk_cache/eviction.cc \
145 net/disk_cache/file.cc \
146 net/disk_cache/file_lock.cc \
147 net/disk_cache/file_posix.cc \
148 net/disk_cache/in_flight_backend_io.cc \
149 net/disk_cache/in_flight_io.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100150 net/disk_cache/mapped_file.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100151 net/disk_cache/mapped_file_avoid_mmap_posix.cc \
152 net/disk_cache/mem_backend_impl.cc \
153 net/disk_cache/mem_entry_impl.cc \
154 net/disk_cache/mem_rankings.cc \
155 net/disk_cache/net_log_parameters.cc \
156 net/disk_cache/rankings.cc \
157 net/disk_cache/sparse_control.cc \
158 net/disk_cache/stats.cc \
159 net/disk_cache/stats_histogram.cc \
160 net/disk_cache/trace.cc \
161 net/disk_cache/tracing_cache_backend.cc \
162 net/disk_cache/simple/simple_backend_impl.cc \
163 net/disk_cache/simple/simple_entry_format.cc \
164 net/disk_cache/simple/simple_entry_impl.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100165 net/disk_cache/simple/simple_entry_operation.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100166 net/disk_cache/simple/simple_index.cc \
167 net/disk_cache/simple/simple_index_file.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100168 net/disk_cache/simple/simple_index_file_posix.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100169 net/disk_cache/simple/simple_net_log_parameters.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100170 net/disk_cache/simple/simple_synchronous_entry.cc \
171 net/disk_cache/simple/simple_util.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100172 net/disk_cache/simple/simple_version_upgrade.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100173 net/disk_cache/flash/flash_entry_impl.cc \
174 net/disk_cache/flash/internal_entry.cc \
175 net/disk_cache/flash/log_store.cc \
176 net/disk_cache/flash/log_store_entry.cc \
177 net/disk_cache/flash/segment.cc \
178 net/disk_cache/flash/storage.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100179 net/disk_cache/v3/block_bitmaps.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100180 net/dns/address_sorter_posix.cc \
181 net/dns/dns_client.cc \
182 net/dns/dns_config_service.cc \
183 net/dns/dns_config_service_posix.cc \
184 net/dns/dns_hosts.cc \
185 net/dns/dns_query.cc \
186 net/dns/dns_response.cc \
187 net/dns/dns_session.cc \
188 net/dns/dns_socket_pool.cc \
189 net/dns/dns_transaction.cc \
190 net/dns/host_cache.cc \
191 net/dns/host_resolver.cc \
192 net/dns/host_resolver_impl.cc \
193 net/dns/host_resolver_proc.cc \
194 net/dns/mapped_host_resolver.cc \
195 net/dns/serial_worker.cc \
196 net/dns/single_request_host_resolver.cc \
197 net/ftp/ftp_auth_cache.cc \
198 net/ftp/ftp_ctrl_response_buffer.cc \
199 net/ftp/ftp_directory_listing_parser.cc \
200 net/ftp/ftp_directory_listing_parser_ls.cc \
201 net/ftp/ftp_directory_listing_parser_netware.cc \
202 net/ftp/ftp_directory_listing_parser_os2.cc \
203 net/ftp/ftp_directory_listing_parser_vms.cc \
204 net/ftp/ftp_directory_listing_parser_windows.cc \
205 net/ftp/ftp_network_layer.cc \
206 net/ftp/ftp_network_session.cc \
207 net/ftp/ftp_network_transaction.cc \
208 net/ftp/ftp_response_info.cc \
209 net/ftp/ftp_server_type_histograms.cc \
210 net/ftp/ftp_util.cc \
211 net/http/des.cc \
212 net/http/http_auth.cc \
213 net/http/http_auth_cache.cc \
214 net/http/http_auth_controller.cc \
215 net/http/http_auth_filter.cc \
216 net/http/http_auth_handler.cc \
217 net/http/http_auth_handler_basic.cc \
218 net/http/http_auth_handler_digest.cc \
219 net/http/http_auth_handler_factory.cc \
220 net/http/http_auth_handler_ntlm.cc \
221 net/http/http_auth_handler_ntlm_portable.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000222 net/http/http_basic_state.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100223 net/http/http_basic_stream.cc \
224 net/http/http_byte_range.cc \
225 net/http/http_cache.cc \
226 net/http/http_cache_transaction.cc \
227 net/http/http_content_disposition.cc \
228 net/http/http_chunked_decoder.cc \
229 net/http/http_network_layer.cc \
230 net/http/http_network_session.cc \
231 net/http/http_network_session_peer.cc \
232 net/http/http_network_transaction.cc \
233 net/http/http_pipelined_connection_impl.cc \
234 net/http/http_pipelined_host.cc \
235 net/http/http_pipelined_host_forced.cc \
236 net/http/http_pipelined_host_impl.cc \
237 net/http/http_pipelined_host_pool.cc \
238 net/http/http_pipelined_stream.cc \
239 net/http/http_proxy_client_socket.cc \
240 net/http/http_proxy_client_socket_pool.cc \
241 net/http/http_request_headers.cc \
242 net/http/http_request_info.cc \
243 net/http/http_response_body_drainer.cc \
244 net/http/http_response_headers.cc \
245 net/http/http_response_info.cc \
246 net/http/http_security_headers.cc \
247 net/http/http_server_properties.cc \
248 net/http/http_server_properties_impl.cc \
249 net/http/http_status_code.cc \
250 net/http/http_stream_factory.cc \
251 net/http/http_stream_factory_impl.cc \
252 net/http/http_stream_factory_impl_job.cc \
253 net/http/http_stream_factory_impl_request.cc \
254 net/http/http_stream_parser.cc \
255 net/http/http_util.cc \
256 net/http/http_util_icu.cc \
257 net/http/http_vary_data.cc \
258 net/http/md4.cc \
259 net/http/partial_data.cc \
260 net/http/proxy_client_socket.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100261 net/http/proxy_connect_redirect_http_stream.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000262 net/http/transport_security_persister.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100263 net/http/transport_security_state.cc \
264 net/http/url_security_manager.cc \
265 net/http/url_security_manager_posix.cc \
266 net/proxy/dhcp_proxy_script_fetcher.cc \
267 net/proxy/dhcp_proxy_script_fetcher_factory.cc \
268 net/proxy/multi_threaded_proxy_resolver.cc \
269 net/proxy/network_delegate_error_observer.cc \
270 net/proxy/polling_proxy_config_service.cc \
271 net/proxy/proxy_bypass_rules.cc \
272 net/proxy/proxy_config.cc \
273 net/proxy/proxy_config_service_android.cc \
274 net/proxy/proxy_config_service_fixed.cc \
275 net/proxy/proxy_config_source.cc \
276 net/proxy/proxy_info.cc \
277 net/proxy/proxy_list.cc \
278 net/proxy/proxy_resolver_script_data.cc \
279 net/proxy/proxy_script_decider.cc \
280 net/proxy/proxy_script_fetcher_impl.cc \
281 net/proxy/proxy_server.cc \
282 net/proxy/proxy_service.cc \
283 net/quic/congestion_control/available_channel_estimator.cc \
284 net/quic/congestion_control/channel_estimator.cc \
285 net/quic/congestion_control/cube_root.cc \
286 net/quic/congestion_control/cubic.cc \
287 net/quic/congestion_control/fix_rate_receiver.cc \
288 net/quic/congestion_control/fix_rate_sender.cc \
289 net/quic/congestion_control/hybrid_slow_start.cc \
290 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc \
291 net/quic/congestion_control/inter_arrival_overuse_detector.cc \
292 net/quic/congestion_control/inter_arrival_probe.cc \
293 net/quic/congestion_control/inter_arrival_receiver.cc \
294 net/quic/congestion_control/inter_arrival_sender.cc \
295 net/quic/congestion_control/inter_arrival_state_machine.cc \
296 net/quic/congestion_control/leaky_bucket.cc \
297 net/quic/congestion_control/paced_sender.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000298 net/quic/congestion_control/pacing_sender.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100299 net/quic/congestion_control/receive_algorithm_interface.cc \
300 net/quic/congestion_control/send_algorithm_interface.cc \
301 net/quic/congestion_control/tcp_cubic_sender.cc \
302 net/quic/congestion_control/tcp_receiver.cc \
303 net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc \
304 net/quic/crypto/aes_128_gcm_12_encrypter_openssl.cc \
305 net/quic/crypto/cert_compressor.cc \
306 net/quic/crypto/channel_id.cc \
307 net/quic/crypto/channel_id_openssl.cc \
308 net/quic/crypto/common_cert_set.cc \
309 net/quic/crypto/crypto_framer.cc \
310 net/quic/crypto/crypto_handshake.cc \
311 net/quic/crypto/crypto_secret_boxer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100312 net/quic/crypto/crypto_server_config_protobuf.cc \
313 net/quic/crypto/crypto_utils.cc \
314 net/quic/crypto/curve25519_key_exchange.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000315 net/quic/crypto/local_strike_register_client.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100316 net/quic/crypto/null_decrypter.cc \
317 net/quic/crypto/null_encrypter.cc \
318 net/quic/crypto/p256_key_exchange_openssl.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100319 net/quic/crypto/proof_source_chromium.cc \
Ben Murdochd3868032013-07-31 10:55:33 +0100320 net/quic/crypto/proof_verifier.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100321 net/quic/crypto/proof_verifier_chromium.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000322 net/quic/crypto/quic_crypto_client_config.cc \
323 net/quic/crypto/quic_crypto_server_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100324 net/quic/crypto/quic_decrypter.cc \
325 net/quic/crypto/quic_encrypter.cc \
326 net/quic/crypto/quic_random.cc \
327 net/quic/crypto/scoped_evp_cipher_ctx.cc \
328 net/quic/crypto/strike_register.cc \
329 net/quic/crypto/source_address_token.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000330 net/quic/iovector.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100331 net/quic/quic_ack_notifier.cc \
Torne (Richard Coles)68043e12013-09-26 13:24:57 +0100332 net/quic/quic_ack_notifier_manager.cc \
Ben Murdochba5b9a62013-08-12 14:20:17 +0100333 net/quic/quic_alarm.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100334 net/quic/quic_bandwidth.cc \
335 net/quic/quic_client_session.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100336 net/quic/quic_clock.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000337 net/quic/quic_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100338 net/quic/quic_connection.cc \
339 net/quic/quic_connection_helper.cc \
340 net/quic/quic_connection_logger.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100341 net/quic/quic_connection_stats.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000342 net/quic/quic_crypto_client_stream.cc \
343 net/quic/quic_crypto_server_stream.cc \
344 net/quic/quic_crypto_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100345 net/quic/quic_data_reader.cc \
346 net/quic/quic_data_writer.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000347 net/quic/quic_default_packet_writer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100348 net/quic/quic_fec_group.cc \
349 net/quic/quic_framer.cc \
350 net/quic/quic_http_stream.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100351 net/quic/quic_http_utils.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100352 net/quic/quic_packet_creator.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100353 net/quic/quic_packet_generator.cc \
354 net/quic/quic_protocol.cc \
Ben Murdoch2385ea32013-08-06 11:01:04 +0100355 net/quic/quic_received_packet_manager.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100356 net/quic/quic_reliable_client_stream.cc \
Ben Murdoch558790d2013-07-30 15:19:42 +0100357 net/quic/quic_sent_entropy_manager.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100358 net/quic/quic_sent_packet_manager.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100359 net/quic/quic_session.cc \
360 net/quic/quic_spdy_compressor.cc \
361 net/quic/quic_spdy_decompressor.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100362 net/quic/quic_stream_factory.cc \
363 net/quic/quic_stream_sequencer.cc \
364 net/quic/quic_time.cc \
365 net/quic/quic_utils.cc \
366 net/quic/reliable_quic_stream.cc \
367 net/quic/spdy_utils.cc \
368 net/socket/buffered_write_stream_socket.cc \
369 net/socket/client_socket_factory.cc \
370 net/socket/client_socket_handle.cc \
371 net/socket/client_socket_pool.cc \
372 net/socket/client_socket_pool_base.cc \
373 net/socket/client_socket_pool_histograms.cc \
374 net/socket/client_socket_pool_manager.cc \
375 net/socket/client_socket_pool_manager_impl.cc \
Torne (Richard Coles)424c4d72013-08-30 15:14:49 +0100376 net/socket/socket_descriptor.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100377 net/socket/socket_net_log_params.cc \
378 net/socket/socks5_client_socket.cc \
379 net/socket/socks_client_socket.cc \
380 net/socket/socks_client_socket_pool.cc \
381 net/socket/ssl_client_socket.cc \
382 net/socket/ssl_client_socket_openssl.cc \
383 net/socket/ssl_client_socket_pool.cc \
384 net/socket/ssl_error_params.cc \
385 net/socket/ssl_server_socket_openssl.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000386 net/socket/ssl_session_cache_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100387 net/socket/stream_listen_socket.cc \
388 net/socket/stream_socket.cc \
389 net/socket/tcp_client_socket.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100390 net/socket/tcp_listen_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100391 net/socket/tcp_server_socket.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100392 net/socket/tcp_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100393 net/socket/tcp_socket_libevent.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100394 net/socket/transport_client_socket_pool.cc \
395 net/socket/unix_domain_socket_posix.cc \
396 net/socket_stream/socket_stream.cc \
397 net/socket_stream/socket_stream_job.cc \
398 net/socket_stream/socket_stream_job_manager.cc \
399 net/socket_stream/socket_stream_metrics.cc \
400 net/spdy/buffered_spdy_framer.cc \
401 net/spdy/spdy_buffer.cc \
402 net/spdy/spdy_buffer_producer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100403 net/spdy/spdy_frame_builder.cc \
404 net/spdy/spdy_frame_reader.cc \
405 net/spdy/spdy_framer.cc \
406 net/spdy/spdy_header_block.cc \
407 net/spdy/spdy_http_stream.cc \
408 net/spdy/spdy_http_utils.cc \
409 net/spdy/spdy_protocol.cc \
410 net/spdy/spdy_proxy_client_socket.cc \
411 net/spdy/spdy_read_queue.cc \
412 net/spdy/spdy_session.cc \
413 net/spdy/spdy_session_key.cc \
414 net/spdy/spdy_session_pool.cc \
415 net/spdy/spdy_stream.cc \
416 net/spdy/spdy_websocket_stream.cc \
417 net/spdy/spdy_write_queue.cc \
418 net/ssl/default_server_bound_cert_store.cc \
419 net/ssl/openssl_client_key_store.cc \
420 net/ssl/server_bound_cert_service.cc \
421 net/ssl/server_bound_cert_store.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000422 net/ssl/signed_certificate_timestamp_and_status.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100423 net/ssl/ssl_cert_request_info.cc \
424 net/ssl/ssl_cipher_suite_names.cc \
425 net/ssl/ssl_client_auth_cache.cc \
426 net/ssl/ssl_config_service.cc \
427 net/ssl/ssl_config_service_defaults.cc \
428 net/ssl/ssl_info.cc \
429 net/udp/udp_client_socket.cc \
430 net/udp/udp_net_log_parameters.cc \
431 net/udp/udp_server_socket.cc \
432 net/udp/udp_socket_libevent.cc \
433 net/url_request/data_protocol_handler.cc \
434 net/url_request/file_protocol_handler.cc \
435 net/url_request/ftp_protocol_handler.cc \
436 net/url_request/protocol_intercept_job_factory.cc \
437 net/url_request/static_http_user_agent_settings.cc \
438 net/url_request/url_fetcher.cc \
439 net/url_request/url_fetcher_core.cc \
440 net/url_request/url_fetcher_delegate.cc \
441 net/url_request/url_fetcher_impl.cc \
442 net/url_request/url_fetcher_response_writer.cc \
443 net/url_request/url_request.cc \
444 net/url_request/url_request_about_job.cc \
445 net/url_request/url_request_context.cc \
446 net/url_request/url_request_context_builder.cc \
447 net/url_request/url_request_context_getter.cc \
448 net/url_request/url_request_context_storage.cc \
449 net/url_request/url_request_data_job.cc \
450 net/url_request/url_request_error_job.cc \
451 net/url_request/url_request_file_dir_job.cc \
452 net/url_request/url_request_file_job.cc \
453 net/url_request/url_request_filter.cc \
454 net/url_request/url_request_ftp_job.cc \
455 net/url_request/url_request_http_job.cc \
456 net/url_request/url_request_job.cc \
457 net/url_request/url_request_job_factory.cc \
458 net/url_request/url_request_job_factory_impl.cc \
459 net/url_request/url_request_job_manager.cc \
460 net/url_request/url_request_netlog_params.cc \
461 net/url_request/url_request_redirect_job.cc \
462 net/url_request/url_request_simple_job.cc \
463 net/url_request/url_request_test_job.cc \
464 net/url_request/url_request_throttler_entry.cc \
465 net/url_request/url_request_throttler_header_adapter.cc \
466 net/url_request/url_request_throttler_manager.cc \
467 net/url_request/view_cache_helper.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000468 net/url_request/websocket_handshake_userdata_key.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000469 net/websockets/websocket_basic_handshake_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100470 net/websockets/websocket_basic_stream.cc \
Ben Murdoch9ab55632013-07-18 11:57:30 +0100471 net/websockets/websocket_channel.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000472 net/websockets/websocket_deflate_predictor_impl.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100473 net/websockets/websocket_deflate_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100474 net/websockets/websocket_deflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100475 net/websockets/websocket_errors.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100476 net/websockets/websocket_extension.cc \
477 net/websockets/websocket_extension_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100478 net/websockets/websocket_frame.cc \
479 net/websockets/websocket_frame_parser.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100480 net/websockets/websocket_handshake_constants.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100481 net/websockets/websocket_handshake_handler.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000482 net/websockets/websocket_handshake_stream_create_helper.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100483 net/websockets/websocket_inflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100484 net/websockets/websocket_job.cc \
485 net/websockets/websocket_net_log_params.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100486 net/websockets/websocket_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100487 net/websockets/websocket_throttle.cc
488
489
490# Flags passed to both C and C++ files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100491MY_CFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100492 -fstack-protector \
493 --param=ssp-buffer-size=4 \
494 \
495 -fno-exceptions \
496 -fno-strict-aliasing \
497 -Wall \
498 -Wno-unused-parameter \
499 -Wno-missing-field-initializers \
500 -fvisibility=hidden \
501 -pipe \
502 -fPIC \
503 -EL \
504 -mhard-float \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100505 -ffunction-sections \
506 -funwind-tables \
507 -g \
508 -fstack-protector \
509 -fno-short-enums \
510 -finline-limit=64 \
511 -Wa,--noexecstack \
512 -U_FORTIFY_SOURCE \
513 -Wno-extra \
514 -Wno-ignored-qualifiers \
515 -Wno-type-limits \
516 -Os \
517 -g \
518 -fomit-frame-pointer \
519 -fdata-sections \
520 -ffunction-sections
521
Ben Murdocheb525c52013-07-10 11:40:50 +0100522MY_DEFS_Debug := \
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100523 '-DANGLE_DX11' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000524 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100525 '-D_FILE_OFFSET_BITS=64' \
526 '-DNO_TCMALLOC' \
527 '-DDISABLE_NACL' \
528 '-DCHROMIUM_BUILD' \
529 '-DUSE_LIBJPEG_TURBO=1' \
530 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100531 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000532 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
533 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000534 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100535 '-DUSE_OPENSSL=1' \
536 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100537 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000538 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000539 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100540 '-DNET_IMPLEMENTATION' \
541 '-DPOSIX_AVOID_MMAP' \
542 '-DENABLE_BUILT_IN_DNS' \
543 '-DU_USING_ICU_NAMESPACE=0' \
544 '-D__STDC_CONSTANT_MACROS' \
545 '-D__STDC_FORMAT_MACROS' \
546 '-DANDROID' \
547 '-D__GNU_SOURCE=1' \
548 '-DUSE_STLPORT=1' \
549 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
550 '-DCHROME_BUILD_ID=""' \
551 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
552 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
553 '-D_DEBUG'
554
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100555
556# Include paths placed before CFLAGS/CPPFLAGS
Ben Murdocheb525c52013-07-10 11:40:50 +0100557LOCAL_C_INCLUDES_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100558 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
Ben Murdochbbcdd452013-07-25 10:06:34 +0100559 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
560 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
561 $(LOCAL_PATH)/third_party/openssl \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100562 $(LOCAL_PATH) \
563 $(LOCAL_PATH)/sdch/open-vcdiff/src \
564 $(PWD)/external/icu4c/common \
565 $(PWD)/external/icu4c/i18n \
566 $(LOCAL_PATH)/third_party/zlib \
567 $(gyp_shared_intermediate_dir)/net \
568 $(LOCAL_PATH)/third_party/openssl/openssl/include \
569 $(PWD)/frameworks/wilhelm/include \
570 $(PWD)/bionic \
571 $(PWD)/external/stlport/stlport
572
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100573
574# Flags passed to only C++ (and not C) files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100575LOCAL_CPPFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100576 -fno-rtti \
577 -fno-threadsafe-statics \
578 -fvisibility-inlines-hidden \
579 -Wsign-compare \
580 -Wno-uninitialized \
581 -Wno-error=c++0x-compat \
582 -Wno-non-virtual-dtor \
583 -Wno-sign-promo
584
Ben Murdocheb525c52013-07-10 11:40:50 +0100585
586# Flags passed to both C and C++ files.
587MY_CFLAGS_Release := \
588 -fstack-protector \
589 --param=ssp-buffer-size=4 \
590 \
591 -fno-exceptions \
592 -fno-strict-aliasing \
593 -Wall \
594 -Wno-unused-parameter \
595 -Wno-missing-field-initializers \
596 -fvisibility=hidden \
597 -pipe \
598 -fPIC \
599 -EL \
600 -mhard-float \
601 -ffunction-sections \
602 -funwind-tables \
603 -g \
604 -fstack-protector \
605 -fno-short-enums \
606 -finline-limit=64 \
607 -Wa,--noexecstack \
608 -U_FORTIFY_SOURCE \
609 -Wno-extra \
610 -Wno-ignored-qualifiers \
611 -Wno-type-limits \
612 -Os \
613 -fno-ident \
614 -fdata-sections \
615 -ffunction-sections \
616 -fomit-frame-pointer
617
618MY_DEFS_Release := \
619 '-DANGLE_DX11' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000620 '-DV8_DEPRECATION_WARNINGS' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100621 '-D_FILE_OFFSET_BITS=64' \
622 '-DNO_TCMALLOC' \
623 '-DDISABLE_NACL' \
624 '-DCHROMIUM_BUILD' \
625 '-DUSE_LIBJPEG_TURBO=1' \
626 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100627 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000628 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
629 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000630 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100631 '-DUSE_OPENSSL=1' \
632 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100633 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000634 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000635 '-DENABLE_MANAGED_USERS=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100636 '-DNET_IMPLEMENTATION' \
637 '-DPOSIX_AVOID_MMAP' \
638 '-DENABLE_BUILT_IN_DNS' \
639 '-DU_USING_ICU_NAMESPACE=0' \
640 '-D__STDC_CONSTANT_MACROS' \
641 '-D__STDC_FORMAT_MACROS' \
642 '-DANDROID' \
643 '-D__GNU_SOURCE=1' \
644 '-DUSE_STLPORT=1' \
645 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
646 '-DCHROME_BUILD_ID=""' \
647 '-DNDEBUG' \
648 '-DNVALGRIND' \
649 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
650 '-D_FORTIFY_SOURCE=2'
651
652
653# Include paths placed before CFLAGS/CPPFLAGS
654LOCAL_C_INCLUDES_Release := \
Ben Murdocheb525c52013-07-10 11:40:50 +0100655 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
Ben Murdochbbcdd452013-07-25 10:06:34 +0100656 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
657 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
658 $(LOCAL_PATH)/third_party/openssl \
Ben Murdocheb525c52013-07-10 11:40:50 +0100659 $(LOCAL_PATH) \
660 $(LOCAL_PATH)/sdch/open-vcdiff/src \
661 $(PWD)/external/icu4c/common \
662 $(PWD)/external/icu4c/i18n \
663 $(LOCAL_PATH)/third_party/zlib \
664 $(gyp_shared_intermediate_dir)/net \
665 $(LOCAL_PATH)/third_party/openssl/openssl/include \
666 $(PWD)/frameworks/wilhelm/include \
667 $(PWD)/bionic \
668 $(PWD)/external/stlport/stlport
669
670
671# Flags passed to only C++ (and not C) files.
672LOCAL_CPPFLAGS_Release := \
673 -fno-rtti \
674 -fno-threadsafe-statics \
675 -fvisibility-inlines-hidden \
676 -Wsign-compare \
677 -Wno-uninitialized \
678 -Wno-error=c++0x-compat \
679 -Wno-non-virtual-dtor \
680 -Wno-sign-promo
681
682
683LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
684LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
685LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100686### Rules for final target.
687
Ben Murdocheb525c52013-07-10 11:40:50 +0100688LOCAL_LDFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100689 -Wl,-z,now \
690 -Wl,-z,relro \
691 -Wl,-z,noexecstack \
692 -fPIC \
693 -EL \
694 -Wl,--no-keep-memory \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100695 -nostdlib \
696 -Wl,--no-undefined \
697 -Wl,--exclude-libs=ALL \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100698 -Wl,--fatal-warnings \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100699 -Wl,--gc-sections \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100700 -Wl,--warn-shared-textrel \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100701 -Wl,-O1 \
702 -Wl,--as-needed
703
704
Ben Murdocheb525c52013-07-10 11:40:50 +0100705LOCAL_LDFLAGS_Release := \
706 -Wl,-z,now \
707 -Wl,-z,relro \
708 -Wl,-z,noexecstack \
709 -fPIC \
710 -EL \
711 -Wl,--no-keep-memory \
712 -nostdlib \
713 -Wl,--no-undefined \
714 -Wl,--exclude-libs=ALL \
715 -Wl,-O1 \
716 -Wl,--as-needed \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100717 -Wl,--gc-sections \
718 -Wl,--fatal-warnings \
719 -Wl,--warn-shared-textrel
Ben Murdocheb525c52013-07-10 11:40:50 +0100720
721
722LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
723
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100724LOCAL_STATIC_LIBRARIES :=
725
726# Enable grouping to fix circular references
727LOCAL_GROUP_STATIC_LIBRARIES := true
728
729LOCAL_SHARED_LIBRARIES := \
730 libstlport \
731 libdl
732
733# Add target alias to "gyp_all_modules" target.
734.PHONY: gyp_all_modules
735gyp_all_modules: net_net_gyp
736
737# Alias gyp target name.
738.PHONY: net
739net: net_net_gyp
740
741include $(BUILD_STATIC_LIBRARY)