1# 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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \
15	$(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \
16	$(call intermediates-dir-for,GYP,net_net_derived_sources_gyp,,,$(GYP_VAR_PREFIX))/net_derived_sources.stamp \
17	$(call intermediates-dir-for,GYP,net_net_resources_gyp,,,$(GYP_VAR_PREFIX))/net_resources.stamp \
18	$(call intermediates-dir-for,GYP,net_net_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/net_jni_headers.stamp
19
20GYP_GENERATED_OUTPUTS :=
21
22# Make sure our deps and generated files are built first.
23LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
24
25LOCAL_CPP_EXTENSION := .cc
26LOCAL_GENERATED_SOURCES :=
27
28GYP_COPIED_SOURCE_ORIGIN_DIRS :=
29
30LOCAL_SRC_FILES := \
31	net/base/address_list.cc \
32	net/base/auth.cc \
33	net/base/connection_type_histograms.cc \
34	net/base/dns_util.cc \
35	net/base/escape.cc \
36	net/base/hash_value.cc \
37	net/base/load_timing_info.cc \
38	net/base/host_port_pair.cc \
39	net/base/io_buffer.cc \
40	net/base/ip_endpoint.cc \
41	net/base/net_errors.cc \
42	net/base/net_errors_posix.cc \
43	net/base/net_log.cc \
44	net/base/net_module.cc \
45	net/base/net_string_util_icu.cc \
46	net/base/net_util.cc \
47	net/base/net_util_icu.cc \
48	net/base/net_util_posix.cc \
49	net/base/openssl_private_key_store_android.cc \
50	net/base/registry_controlled_domains/registry_controlled_domain.cc \
51	net/base/zap.cc \
52	net/cert/asn1_util.cc \
53	net/cert/cert_database.cc \
54	net/cert/cert_status_flags.cc \
55	net/cert/cert_verifier.cc \
56	net/cert/cert_verify_result.cc \
57	net/cert/crl_set.cc \
58	net/cert/ct_verify_result.cc \
59	net/cert/pem_tokenizer.cc \
60	net/cert/signed_certificate_timestamp.cc \
61	net/cert/single_request_cert_verifier.cc \
62	net/cert/x509_cert_types.cc \
63	net/cert/x509_certificate.cc \
64	net/cert/x509_certificate_net_log_param.cc \
65	net/cert/x509_certificate_openssl.cc \
66	net/cert/x509_util.cc \
67	net/cert/x509_util_openssl.cc \
68	net/http/http_auth_challenge_tokenizer.cc \
69	net/http/http_byte_range.cc \
70	net/http/http_log_util.cc \
71	net/http/http_request_headers.cc \
72	net/http/http_response_headers.cc \
73	net/http/http_response_info.cc \
74	net/http/http_security_headers.cc \
75	net/http/http_util.cc \
76	net/http/http_util_icu.cc \
77	net/http/http_vary_data.cc \
78	net/http/transport_security_state.cc \
79	net/socket/client_socket_handle.cc \
80	net/socket/client_socket_pool_histograms.cc \
81	net/socket/next_proto.cc \
82	net/socket/ssl_client_socket.cc \
83	net/socket/ssl_client_socket_openssl.cc \
84	net/socket/ssl_client_socket_pool.cc \
85	net/socket/ssl_session_cache_openssl.cc \
86	net/ssl/channel_id_service.cc \
87	net/ssl/channel_id_store.cc \
88	net/ssl/default_channel_id_store.cc \
89	net/ssl/openssl_client_key_store.cc \
90	net/ssl/openssl_ssl_util.cc \
91	net/ssl/signed_certificate_timestamp_and_status.cc \
92	net/ssl/ssl_cert_request_info.cc \
93	net/ssl/ssl_client_auth_cache.cc \
94	net/ssl/ssl_config.cc \
95	net/ssl/ssl_config_service.cc \
96	net/ssl/ssl_info.cc \
97	net/android/cert_verify_result_android.cc \
98	net/android/gurl_utils.cc \
99	net/android/android_private_key.cc \
100	net/android/keystore.cc \
101	net/android/keystore_openssl.cc \
102	net/android/net_jni_registrar.cc \
103	net/android/network_change_notifier_android.cc \
104	net/android/network_change_notifier_delegate_android.cc \
105	net/android/network_change_notifier_factory_android.cc \
106	net/android/network_library.cc \
107	net/base/address_tracker_linux.cc \
108	net/base/backoff_entry.cc \
109	net/base/bandwidth_metrics.cc \
110	net/base/crypto_module_openssl.cc \
111	net/base/data_url.cc \
112	net/base/directory_lister.cc \
113	net/base/dns_reloader.cc \
114	net/base/file_stream.cc \
115	net/base/file_stream_context.cc \
116	net/base/file_stream_context_posix.cc \
117	net/base/filename_util.cc \
118	net/base/filename_util_icu.cc \
119	net/base/filename_util_internal.cc \
120	net/base/filename_util_unsafe.cc \
121	net/base/host_mapping_rules.cc \
122	net/base/int128.cc \
123	net/base/ip_pattern.cc \
124	net/base/keygen_handler.cc \
125	net/base/keygen_handler_openssl.cc \
126	net/base/mime_sniffer.cc \
127	net/base/mime_util.cc \
128	net/base/net_log_logger.cc \
129	net/base/network_change_notifier.cc \
130	net/base/network_delegate.cc \
131	net/base/platform_mime_util_linux.cc \
132	net/base/prioritized_dispatcher.cc \
133	net/base/request_priority.cc \
134	net/base/sdch_dictionary_fetcher.cc \
135	net/base/sdch_manager.cc \
136	net/base/static_cookie_policy.cc \
137	net/base/test_data_stream.cc \
138	net/base/trace_net_log_observer.cc \
139	net/base/upload_bytes_element_reader.cc \
140	net/base/upload_data_stream.cc \
141	net/base/upload_element_reader.cc \
142	net/base/upload_file_element_reader.cc \
143	net/base/url_util.cc \
144	net/cert/cert_database_android.cc \
145	net/cert/cert_verify_proc.cc \
146	net/cert/cert_verify_proc_android.cc \
147	net/cert/crl_set_storage.cc \
148	net/cert/ct_known_logs.cc \
149	net/cert/ct_log_response_parser.cc \
150	net/cert/ct_log_verifier.cc \
151	net/cert/ct_log_verifier_openssl.cc \
152	net/cert/ct_objects_extractor_openssl.cc \
153	net/cert/ct_serialization.cc \
154	net/cert/ct_signed_certificate_timestamp_log_param.cc \
155	net/cert/ev_root_ca_metadata.cc \
156	net/cert/jwk_serializer_openssl.cc \
157	net/cert/multi_log_ct_verifier.cc \
158	net/cert/multi_threaded_cert_verifier.cc \
159	net/cert/test_root_certs.cc \
160	net/cert/test_root_certs_android.cc \
161	net/cert/x509_util_android.cc \
162	net/cookies/canonical_cookie.cc \
163	net/cookies/cookie_constants.cc \
164	net/cookies/cookie_monster.cc \
165	net/cookies/cookie_store.cc \
166	net/cookies/cookie_util.cc \
167	net/cookies/parsed_cookie.cc \
168	net/disk_cache/blockfile/addr.cc \
169	net/disk_cache/blockfile/backend_impl.cc \
170	net/disk_cache/blockfile/backend_impl_v3.cc \
171	net/disk_cache/blockfile/backend_worker_v3.cc \
172	net/disk_cache/blockfile/bitmap.cc \
173	net/disk_cache/blockfile/block_bitmaps_v3.cc \
174	net/disk_cache/blockfile/block_files.cc \
175	net/disk_cache/blockfile/disk_format.cc \
176	net/disk_cache/blockfile/entry_impl.cc \
177	net/disk_cache/blockfile/entry_impl_v3.cc \
178	net/disk_cache/blockfile/eviction.cc \
179	net/disk_cache/blockfile/eviction_v3.cc \
180	net/disk_cache/blockfile/file.cc \
181	net/disk_cache/blockfile/file_lock.cc \
182	net/disk_cache/blockfile/file_posix.cc \
183	net/disk_cache/blockfile/in_flight_backend_io.cc \
184	net/disk_cache/blockfile/in_flight_io.cc \
185	net/disk_cache/blockfile/index_table_v3.cc \
186	net/disk_cache/blockfile/mapped_file.cc \
187	net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc \
188	net/disk_cache/blockfile/rankings.cc \
189	net/disk_cache/blockfile/sparse_control.cc \
190	net/disk_cache/blockfile/stats.cc \
191	net/disk_cache/blockfile/trace.cc \
192	net/disk_cache/blockfile/webfonts_histogram.cc \
193	net/disk_cache/cache_creator.cc \
194	net/disk_cache/cache_util.cc \
195	net/disk_cache/cache_util_posix.cc \
196	net/disk_cache/memory/mem_backend_impl.cc \
197	net/disk_cache/memory/mem_entry_impl.cc \
198	net/disk_cache/memory/mem_rankings.cc \
199	net/disk_cache/net_log_parameters.cc \
200	net/disk_cache/simple/simple_backend_impl.cc \
201	net/disk_cache/simple/simple_entry_format.cc \
202	net/disk_cache/simple/simple_entry_impl.cc \
203	net/disk_cache/simple/simple_entry_operation.cc \
204	net/disk_cache/simple/simple_index.cc \
205	net/disk_cache/simple/simple_index_file.cc \
206	net/disk_cache/simple/simple_index_file_posix.cc \
207	net/disk_cache/simple/simple_net_log_parameters.cc \
208	net/disk_cache/simple/simple_synchronous_entry.cc \
209	net/disk_cache/simple/simple_util.cc \
210	net/disk_cache/simple/simple_version_upgrade.cc \
211	net/dns/address_sorter_posix.cc \
212	net/dns/dns_client.cc \
213	net/dns/dns_config_service.cc \
214	net/dns/dns_config_service_posix.cc \
215	net/dns/dns_hosts.cc \
216	net/dns/dns_query.cc \
217	net/dns/dns_response.cc \
218	net/dns/dns_session.cc \
219	net/dns/dns_socket_pool.cc \
220	net/dns/dns_transaction.cc \
221	net/dns/host_cache.cc \
222	net/dns/host_resolver.cc \
223	net/dns/host_resolver_impl.cc \
224	net/dns/host_resolver_proc.cc \
225	net/dns/mapped_host_resolver.cc \
226	net/dns/serial_worker.cc \
227	net/dns/single_request_host_resolver.cc \
228	net/filter/filter.cc \
229	net/filter/gzip_filter.cc \
230	net/filter/gzip_header.cc \
231	net/filter/sdch_filter.cc \
232	net/ftp/ftp_auth_cache.cc \
233	net/ftp/ftp_ctrl_response_buffer.cc \
234	net/ftp/ftp_directory_listing_parser.cc \
235	net/ftp/ftp_directory_listing_parser_ls.cc \
236	net/ftp/ftp_directory_listing_parser_netware.cc \
237	net/ftp/ftp_directory_listing_parser_os2.cc \
238	net/ftp/ftp_directory_listing_parser_vms.cc \
239	net/ftp/ftp_directory_listing_parser_windows.cc \
240	net/ftp/ftp_network_layer.cc \
241	net/ftp/ftp_network_session.cc \
242	net/ftp/ftp_network_transaction.cc \
243	net/ftp/ftp_response_info.cc \
244	net/ftp/ftp_server_type_histograms.cc \
245	net/ftp/ftp_util.cc \
246	net/http/des.cc \
247	net/http/disk_based_cert_cache.cc \
248	net/http/disk_cache_based_quic_server_info.cc \
249	net/http/failing_http_transaction_factory.cc \
250	net/http/http_auth.cc \
251	net/http/http_auth_cache.cc \
252	net/http/http_auth_controller.cc \
253	net/http/http_auth_filter.cc \
254	net/http/http_auth_handler.cc \
255	net/http/http_auth_handler_basic.cc \
256	net/http/http_auth_handler_digest.cc \
257	net/http/http_auth_handler_factory.cc \
258	net/http/http_auth_handler_ntlm.cc \
259	net/http/http_auth_handler_ntlm_portable.cc \
260	net/http/http_basic_state.cc \
261	net/http/http_basic_stream.cc \
262	net/http/http_cache.cc \
263	net/http/http_cache_transaction.cc \
264	net/http/http_chunked_decoder.cc \
265	net/http/http_content_disposition.cc \
266	net/http/http_network_layer.cc \
267	net/http/http_network_session.cc \
268	net/http/http_network_session_peer.cc \
269	net/http/http_network_transaction.cc \
270	net/http/http_proxy_client_socket.cc \
271	net/http/http_proxy_client_socket_pool.cc \
272	net/http/http_request_info.cc \
273	net/http/http_response_body_drainer.cc \
274	net/http/http_server_properties.cc \
275	net/http/http_server_properties_impl.cc \
276	net/http/http_server_properties_manager.cc \
277	net/http/http_status_code.cc \
278	net/http/http_stream_factory.cc \
279	net/http/http_stream_factory_impl.cc \
280	net/http/http_stream_factory_impl_job.cc \
281	net/http/http_stream_factory_impl_request.cc \
282	net/http/http_stream_parser.cc \
283	net/http/md4.cc \
284	net/http/partial_data.cc \
285	net/http/proxy_client_socket.cc \
286	net/http/proxy_connect_redirect_http_stream.cc \
287	net/http/transport_security_persister.cc \
288	net/http/url_security_manager.cc \
289	net/http/url_security_manager_posix.cc \
290	net/proxy/dhcp_proxy_script_fetcher.cc \
291	net/proxy/dhcp_proxy_script_fetcher_factory.cc \
292	net/proxy/multi_threaded_proxy_resolver.cc \
293	net/proxy/network_delegate_error_observer.cc \
294	net/proxy/polling_proxy_config_service.cc \
295	net/proxy/proxy_bypass_rules.cc \
296	net/proxy/proxy_config.cc \
297	net/proxy/proxy_config_service_android.cc \
298	net/proxy/proxy_config_service_fixed.cc \
299	net/proxy/proxy_config_source.cc \
300	net/proxy/proxy_info.cc \
301	net/proxy/proxy_list.cc \
302	net/proxy/proxy_resolver_script_data.cc \
303	net/proxy/proxy_script_decider.cc \
304	net/proxy/proxy_script_fetcher_impl.cc \
305	net/proxy/proxy_server.cc \
306	net/proxy/proxy_service.cc \
307	net/quic/congestion_control/cube_root.cc \
308	net/quic/congestion_control/cubic.cc \
309	net/quic/congestion_control/hybrid_slow_start.cc \
310	net/quic/congestion_control/leaky_bucket.cc \
311	net/quic/congestion_control/loss_detection_interface.cc \
312	net/quic/congestion_control/pacing_sender.cc \
313	net/quic/congestion_control/receive_algorithm_interface.cc \
314	net/quic/congestion_control/rtt_stats.cc \
315	net/quic/congestion_control/send_algorithm_interface.cc \
316	net/quic/congestion_control/tcp_cubic_sender.cc \
317	net/quic/congestion_control/tcp_loss_algorithm.cc \
318	net/quic/congestion_control/tcp_receiver.cc \
319	net/quic/congestion_control/time_loss_algorithm.cc \
320	net/quic/crypto/aead_base_decrypter_openssl.cc \
321	net/quic/crypto/aead_base_encrypter_openssl.cc \
322	net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc \
323	net/quic/crypto/aes_128_gcm_12_encrypter_openssl.cc \
324	net/quic/crypto/cert_compressor.cc \
325	net/quic/crypto/chacha20_poly1305_decrypter_openssl.cc \
326	net/quic/crypto/chacha20_poly1305_encrypter_openssl.cc \
327	net/quic/crypto/channel_id.cc \
328	net/quic/crypto/channel_id_chromium.cc \
329	net/quic/crypto/channel_id_openssl.cc \
330	net/quic/crypto/common_cert_set.cc \
331	net/quic/crypto/crypto_framer.cc \
332	net/quic/crypto/crypto_handshake.cc \
333	net/quic/crypto/crypto_handshake_message.cc \
334	net/quic/crypto/crypto_secret_boxer.cc \
335	net/quic/crypto/crypto_server_config_protobuf.cc \
336	net/quic/crypto/crypto_utils.cc \
337	net/quic/crypto/curve25519_key_exchange.cc \
338	net/quic/crypto/local_strike_register_client.cc \
339	net/quic/crypto/null_decrypter.cc \
340	net/quic/crypto/null_encrypter.cc \
341	net/quic/crypto/p256_key_exchange_openssl.cc \
342	net/quic/crypto/proof_source_chromium.cc \
343	net/quic/crypto/proof_verifier_chromium.cc \
344	net/quic/crypto/quic_crypto_client_config.cc \
345	net/quic/crypto/quic_crypto_server_config.cc \
346	net/quic/crypto/quic_decrypter.cc \
347	net/quic/crypto/quic_encrypter.cc \
348	net/quic/crypto/quic_random.cc \
349	net/quic/crypto/quic_server_info.cc \
350	net/quic/crypto/scoped_evp_aead_ctx.cc \
351	net/quic/crypto/source_address_token.cc \
352	net/quic/crypto/strike_register.cc \
353	net/quic/iovector.cc \
354	net/quic/port_suggester.cc \
355	net/quic/quic_ack_notifier.cc \
356	net/quic/quic_ack_notifier_manager.cc \
357	net/quic/quic_address_mismatch.cc \
358	net/quic/quic_alarm.cc \
359	net/quic/quic_bandwidth.cc \
360	net/quic/quic_client_session.cc \
361	net/quic/quic_client_session_base.cc \
362	net/quic/quic_clock.cc \
363	net/quic/quic_config.cc \
364	net/quic/quic_connection.cc \
365	net/quic/quic_connection_helper.cc \
366	net/quic/quic_connection_logger.cc \
367	net/quic/quic_connection_stats.cc \
368	net/quic/quic_crypto_client_stream.cc \
369	net/quic/quic_crypto_server_stream.cc \
370	net/quic/quic_crypto_stream.cc \
371	net/quic/quic_data_reader.cc \
372	net/quic/quic_data_stream.cc \
373	net/quic/quic_data_writer.cc \
374	net/quic/quic_default_packet_writer.cc \
375	net/quic/quic_fec_group.cc \
376	net/quic/quic_flags.cc \
377	net/quic/quic_flow_controller.cc \
378	net/quic/quic_framer.cc \
379	net/quic/quic_headers_stream.cc \
380	net/quic/quic_http_stream.cc \
381	net/quic/quic_http_utils.cc \
382	net/quic/quic_packet_creator.cc \
383	net/quic/quic_packet_generator.cc \
384	net/quic/quic_protocol.cc \
385	net/quic/quic_received_packet_manager.cc \
386	net/quic/quic_reliable_client_stream.cc \
387	net/quic/quic_sent_entropy_manager.cc \
388	net/quic/quic_sent_packet_manager.cc \
389	net/quic/quic_server_id.cc \
390	net/quic/quic_session.cc \
391	net/quic/quic_socket_address_coder.cc \
392	net/quic/quic_stream_factory.cc \
393	net/quic/quic_stream_sequencer.cc \
394	net/quic/quic_sustained_bandwidth_recorder.cc \
395	net/quic/quic_time.cc \
396	net/quic/quic_types.cc \
397	net/quic/quic_unacked_packet_map.cc \
398	net/quic/quic_utils.cc \
399	net/quic/quic_write_blocked_list.cc \
400	net/quic/reliable_quic_stream.cc \
401	net/quic/spdy_utils.cc \
402	net/socket/client_socket_factory.cc \
403	net/socket/client_socket_pool.cc \
404	net/socket/client_socket_pool_base.cc \
405	net/socket/client_socket_pool_manager.cc \
406	net/socket/client_socket_pool_manager_impl.cc \
407	net/socket/server_socket.cc \
408	net/socket/socket_descriptor.cc \
409	net/socket/socket_libevent.cc \
410	net/socket/socket_net_log_params.cc \
411	net/socket/socks5_client_socket.cc \
412	net/socket/socks_client_socket.cc \
413	net/socket/socks_client_socket_pool.cc \
414	net/socket/ssl_server_socket_openssl.cc \
415	net/socket/stream_listen_socket.cc \
416	net/socket/stream_socket.cc \
417	net/socket/tcp_client_socket.cc \
418	net/socket/tcp_listen_socket.cc \
419	net/socket/tcp_server_socket.cc \
420	net/socket/tcp_socket_libevent.cc \
421	net/socket/transport_client_socket_pool.cc \
422	net/socket/unix_domain_client_socket_posix.cc \
423	net/socket/unix_domain_listen_socket_posix.cc \
424	net/socket/unix_domain_server_socket_posix.cc \
425	net/socket/websocket_endpoint_lock_manager.cc \
426	net/socket/websocket_transport_client_socket_pool.cc \
427	net/socket/websocket_transport_connect_sub_job.cc \
428	net/socket_stream/socket_stream.cc \
429	net/socket_stream/socket_stream_job.cc \
430	net/socket_stream/socket_stream_job_manager.cc \
431	net/socket_stream/socket_stream_metrics.cc \
432	net/spdy/buffered_spdy_framer.cc \
433	net/spdy/fuzzing/hpack_fuzz_util.cc \
434	net/spdy/hpack_constants.cc \
435	net/spdy/hpack_decoder.cc \
436	net/spdy/hpack_encoder.cc \
437	net/spdy/hpack_entry.cc \
438	net/spdy/hpack_header_table.cc \
439	net/spdy/hpack_huffman_aggregator.cc \
440	net/spdy/hpack_huffman_table.cc \
441	net/spdy/hpack_input_stream.cc \
442	net/spdy/hpack_output_stream.cc \
443	net/spdy/hpack_static_table.cc \
444	net/spdy/hpack_string_util.cc \
445	net/spdy/spdy_buffer.cc \
446	net/spdy/spdy_buffer_producer.cc \
447	net/spdy/spdy_frame_builder.cc \
448	net/spdy/spdy_frame_reader.cc \
449	net/spdy/spdy_framer.cc \
450	net/spdy/spdy_header_block.cc \
451	net/spdy/spdy_headers_block_parser.cc \
452	net/spdy/spdy_http_stream.cc \
453	net/spdy/spdy_http_utils.cc \
454	net/spdy/spdy_pinnable_buffer_piece.cc \
455	net/spdy/spdy_prefixed_buffer_reader.cc \
456	net/spdy/spdy_protocol.cc \
457	net/spdy/spdy_proxy_client_socket.cc \
458	net/spdy/spdy_read_queue.cc \
459	net/spdy/spdy_session.cc \
460	net/spdy/spdy_session_key.cc \
461	net/spdy/spdy_session_pool.cc \
462	net/spdy/spdy_stream.cc \
463	net/spdy/spdy_websocket_stream.cc \
464	net/spdy/spdy_write_queue.cc \
465	net/ssl/ssl_cipher_suite_names.cc \
466	net/ssl/ssl_config_service_defaults.cc \
467	net/udp/udp_client_socket.cc \
468	net/udp/udp_net_log_parameters.cc \
469	net/udp/udp_server_socket.cc \
470	net/udp/udp_socket_libevent.cc \
471	net/url_request/data_protocol_handler.cc \
472	net/url_request/file_protocol_handler.cc \
473	net/url_request/ftp_protocol_handler.cc \
474	net/url_request/redirect_info.cc \
475	net/url_request/static_http_user_agent_settings.cc \
476	net/url_request/url_fetcher.cc \
477	net/url_request/url_fetcher_core.cc \
478	net/url_request/url_fetcher_delegate.cc \
479	net/url_request/url_fetcher_impl.cc \
480	net/url_request/url_fetcher_response_writer.cc \
481	net/url_request/url_range_request_job.cc \
482	net/url_request/url_request.cc \
483	net/url_request/url_request_about_job.cc \
484	net/url_request/url_request_context.cc \
485	net/url_request/url_request_context_builder.cc \
486	net/url_request/url_request_context_getter.cc \
487	net/url_request/url_request_context_storage.cc \
488	net/url_request/url_request_data_job.cc \
489	net/url_request/url_request_error_job.cc \
490	net/url_request/url_request_file_dir_job.cc \
491	net/url_request/url_request_file_job.cc \
492	net/url_request/url_request_filter.cc \
493	net/url_request/url_request_ftp_job.cc \
494	net/url_request/url_request_http_job.cc \
495	net/url_request/url_request_intercepting_job_factory.cc \
496	net/url_request/url_request_interceptor.cc \
497	net/url_request/url_request_job.cc \
498	net/url_request/url_request_job_factory.cc \
499	net/url_request/url_request_job_factory_impl.cc \
500	net/url_request/url_request_job_manager.cc \
501	net/url_request/url_request_netlog_params.cc \
502	net/url_request/url_request_redirect_job.cc \
503	net/url_request/url_request_simple_job.cc \
504	net/url_request/url_request_test_job.cc \
505	net/url_request/url_request_throttler_entry.cc \
506	net/url_request/url_request_throttler_header_adapter.cc \
507	net/url_request/url_request_throttler_manager.cc \
508	net/url_request/view_cache_helper.cc \
509	net/url_request/websocket_handshake_userdata_key.cc \
510	net/websockets/websocket_basic_handshake_stream.cc \
511	net/websockets/websocket_basic_stream.cc \
512	net/websockets/websocket_channel.cc \
513	net/websockets/websocket_deflate_predictor_impl.cc \
514	net/websockets/websocket_deflate_stream.cc \
515	net/websockets/websocket_deflater.cc \
516	net/websockets/websocket_errors.cc \
517	net/websockets/websocket_extension.cc \
518	net/websockets/websocket_extension_parser.cc \
519	net/websockets/websocket_frame.cc \
520	net/websockets/websocket_frame_parser.cc \
521	net/websockets/websocket_handshake_constants.cc \
522	net/websockets/websocket_handshake_handler.cc \
523	net/websockets/websocket_handshake_request_info.cc \
524	net/websockets/websocket_handshake_response_info.cc \
525	net/websockets/websocket_handshake_stream_create_helper.cc \
526	net/websockets/websocket_inflater.cc \
527	net/websockets/websocket_job.cc \
528	net/websockets/websocket_net_log_params.cc \
529	net/websockets/websocket_stream.cc \
530	net/websockets/websocket_throttle.cc
531
532
533# Flags passed to both C and C++ files.
534MY_CFLAGS_Debug := \
535	-fstack-protector \
536	--param=ssp-buffer-size=4 \
537	-Werror \
538	-fno-strict-aliasing \
539	-Wall \
540	-Wno-unused-parameter \
541	-Wno-missing-field-initializers \
542	-fvisibility=hidden \
543	-pipe \
544	-fPIC \
545	-Wno-unused-local-typedefs \
546	-m64 \
547	-march=x86-64 \
548	-ffunction-sections \
549	-funwind-tables \
550	-g \
551	-fstack-protector \
552	-fno-short-enums \
553	-finline-limit=64 \
554	-Wa,--noexecstack \
555	-U_FORTIFY_SOURCE \
556	-Wno-extra \
557	-Wno-ignored-qualifiers \
558	-Wno-type-limits \
559	-Wno-unused-but-set-variable \
560	-Os \
561	-g \
562	-gdwarf-4 \
563	-fdata-sections \
564	-ffunction-sections \
565	-fomit-frame-pointer \
566	-funwind-tables
567
568MY_DEFS_Debug := \
569	'-DV8_DEPRECATION_WARNINGS' \
570	'-D_FILE_OFFSET_BITS=64' \
571	'-DNO_TCMALLOC' \
572	'-DDISABLE_NACL' \
573	'-DCHROMIUM_BUILD' \
574	'-DUSE_LIBJPEG_TURBO=1' \
575	'-DENABLE_WEBRTC=1' \
576	'-DUSE_PROPRIETARY_CODECS' \
577	'-DENABLE_BROWSER_CDMS' \
578	'-DENABLE_CONFIGURATION_POLICY' \
579	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
580	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
581	'-DENABLE_EGLIMAGE=1' \
582	'-DCLD_VERSION=1' \
583	'-DENABLE_PRINTING=1' \
584	'-DENABLE_MANAGED_USERS=1' \
585	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
586	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
587	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
588	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
589	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
590	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
591	'-DVIDEO_HOLE=1' \
592	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
593	'-DNET_IMPLEMENTATION' \
594	'-DPOSIX_AVOID_MMAP' \
595	'-DENABLE_BUILT_IN_DNS' \
596	'-DU_USING_ICU_NAMESPACE=0' \
597	'-DU_ENABLE_DYLOAD=0' \
598	'-DUSE_OPENSSL=1' \
599	'-DUSE_OPENSSL_CERTS=1' \
600	'-D__STDC_CONSTANT_MACROS' \
601	'-D__STDC_FORMAT_MACROS' \
602	'-DANDROID' \
603	'-D__GNU_SOURCE=1' \
604	'-DUSE_STLPORT=1' \
605	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
606	'-DCHROME_BUILD_ID=""' \
607	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
608	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
609	'-D_DEBUG'
610
611
612# Include paths placed before CFLAGS/CPPFLAGS
613LOCAL_C_INCLUDES_Debug := \
614	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
615	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
616	$(gyp_shared_intermediate_dir) \
617	$(LOCAL_PATH) \
618	$(LOCAL_PATH)/sdch/open-vcdiff/src \
619	$(PWD)/external/icu/icu4c/source/common \
620	$(PWD)/external/icu/icu4c/source/i18n \
621	$(LOCAL_PATH)/third_party/zlib \
622	$(LOCAL_PATH)/third_party/boringssl/src/include \
623	$(gyp_shared_intermediate_dir)/net \
624	$(PWD)/frameworks/wilhelm/include \
625	$(PWD)/bionic \
626	$(PWD)/external/stlport/stlport
627
628
629# Flags passed to only C++ (and not C) files.
630LOCAL_CPPFLAGS_Debug := \
631	-fno-exceptions \
632	-fno-rtti \
633	-fno-threadsafe-statics \
634	-fvisibility-inlines-hidden \
635	-Wsign-compare \
636	-std=gnu++11 \
637	-Wno-narrowing \
638	-Wno-literal-suffix \
639	-Wno-non-virtual-dtor \
640	-Wno-sign-promo
641
642
643# Flags passed to both C and C++ files.
644MY_CFLAGS_Release := \
645	-fstack-protector \
646	--param=ssp-buffer-size=4 \
647	-Werror \
648	-fno-strict-aliasing \
649	-Wall \
650	-Wno-unused-parameter \
651	-Wno-missing-field-initializers \
652	-fvisibility=hidden \
653	-pipe \
654	-fPIC \
655	-Wno-unused-local-typedefs \
656	-m64 \
657	-march=x86-64 \
658	-ffunction-sections \
659	-funwind-tables \
660	-g \
661	-fstack-protector \
662	-fno-short-enums \
663	-finline-limit=64 \
664	-Wa,--noexecstack \
665	-U_FORTIFY_SOURCE \
666	-Wno-extra \
667	-Wno-ignored-qualifiers \
668	-Wno-type-limits \
669	-Wno-unused-but-set-variable \
670	-Os \
671	-fno-ident \
672	-fdata-sections \
673	-ffunction-sections \
674	-fomit-frame-pointer \
675	-funwind-tables
676
677MY_DEFS_Release := \
678	'-DV8_DEPRECATION_WARNINGS' \
679	'-D_FILE_OFFSET_BITS=64' \
680	'-DNO_TCMALLOC' \
681	'-DDISABLE_NACL' \
682	'-DCHROMIUM_BUILD' \
683	'-DUSE_LIBJPEG_TURBO=1' \
684	'-DENABLE_WEBRTC=1' \
685	'-DUSE_PROPRIETARY_CODECS' \
686	'-DENABLE_BROWSER_CDMS' \
687	'-DENABLE_CONFIGURATION_POLICY' \
688	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
689	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
690	'-DENABLE_EGLIMAGE=1' \
691	'-DCLD_VERSION=1' \
692	'-DENABLE_PRINTING=1' \
693	'-DENABLE_MANAGED_USERS=1' \
694	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
695	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
696	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
697	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
698	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
699	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
700	'-DVIDEO_HOLE=1' \
701	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
702	'-DNET_IMPLEMENTATION' \
703	'-DPOSIX_AVOID_MMAP' \
704	'-DENABLE_BUILT_IN_DNS' \
705	'-DU_USING_ICU_NAMESPACE=0' \
706	'-DU_ENABLE_DYLOAD=0' \
707	'-DUSE_OPENSSL=1' \
708	'-DUSE_OPENSSL_CERTS=1' \
709	'-D__STDC_CONSTANT_MACROS' \
710	'-D__STDC_FORMAT_MACROS' \
711	'-DANDROID' \
712	'-D__GNU_SOURCE=1' \
713	'-DUSE_STLPORT=1' \
714	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
715	'-DCHROME_BUILD_ID=""' \
716	'-DNDEBUG' \
717	'-DNVALGRIND' \
718	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
719	'-D_FORTIFY_SOURCE=2'
720
721
722# Include paths placed before CFLAGS/CPPFLAGS
723LOCAL_C_INCLUDES_Release := \
724	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
725	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
726	$(gyp_shared_intermediate_dir) \
727	$(LOCAL_PATH) \
728	$(LOCAL_PATH)/sdch/open-vcdiff/src \
729	$(PWD)/external/icu/icu4c/source/common \
730	$(PWD)/external/icu/icu4c/source/i18n \
731	$(LOCAL_PATH)/third_party/zlib \
732	$(LOCAL_PATH)/third_party/boringssl/src/include \
733	$(gyp_shared_intermediate_dir)/net \
734	$(PWD)/frameworks/wilhelm/include \
735	$(PWD)/bionic \
736	$(PWD)/external/stlport/stlport
737
738
739# Flags passed to only C++ (and not C) files.
740LOCAL_CPPFLAGS_Release := \
741	-fno-exceptions \
742	-fno-rtti \
743	-fno-threadsafe-statics \
744	-fvisibility-inlines-hidden \
745	-Wsign-compare \
746	-std=gnu++11 \
747	-Wno-narrowing \
748	-Wno-literal-suffix \
749	-Wno-non-virtual-dtor \
750	-Wno-sign-promo
751
752
753LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
754LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
755LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
756LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
757### Rules for final target.
758
759LOCAL_SHARED_LIBRARIES := \
760	libstlport \
761	libdl
762
763# Add target alias to "gyp_all_modules" target.
764.PHONY: gyp_all_modules
765gyp_all_modules: net_net_gyp
766
767# Alias gyp target name.
768.PHONY: net
769net: net_net_gyp
770
771include $(BUILD_STATIC_LIBRARY)
772