blob: c2a8f2150c5504836f60746e76f971b424d62e0c [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
Ben Murdochc5cede92014-04-10 11:22:14 +01009LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010012
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES := \
Ben Murdochc5cede92014-04-10 11:22:14 +010015 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \
16 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.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
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010019
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 := \
Ben Murdocha02191e2014-04-16 11:17:03 +010031 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_util.cc \
46 net/base/net_util_icu.cc \
47 net/base/net_util_posix.cc \
48 net/base/openssl_private_key_store_android.cc \
49 net/base/registry_controlled_domains/registry_controlled_domain.cc \
50 net/base/zap.cc \
51 net/cert/asn1_util.cc \
52 net/cert/cert_database.cc \
53 net/cert/cert_status_flags.cc \
54 net/cert/cert_verifier.cc \
55 net/cert/cert_verify_result.cc \
56 net/cert/pem_tokenizer.cc \
57 net/cert/signed_certificate_timestamp.cc \
58 net/cert/single_request_cert_verifier.cc \
59 net/cert/x509_cert_types.cc \
60 net/cert/x509_certificate.cc \
61 net/cert/x509_certificate_net_log_param.cc \
62 net/cert/x509_certificate_openssl.cc \
63 net/cert/x509_util.cc \
64 net/cert/x509_util_openssl.cc \
65 net/http/http_auth_challenge_tokenizer.cc \
66 net/http/http_byte_range.cc \
67 net/http/http_log_util.cc \
68 net/http/http_request_headers.cc \
69 net/http/http_response_headers.cc \
70 net/http/http_response_info.cc \
71 net/http/http_security_headers.cc \
72 net/http/http_util.cc \
73 net/http/http_util_icu.cc \
74 net/http/http_vary_data.cc \
75 net/http/transport_security_state.cc \
76 net/socket/client_socket_handle.cc \
77 net/socket/client_socket_pool_histograms.cc \
78 net/socket/ssl_client_socket.cc \
79 net/socket/ssl_client_socket_openssl.cc \
80 net/socket/ssl_client_socket_pool.cc \
81 net/socket/ssl_error_params.cc \
82 net/socket/ssl_session_cache_openssl.cc \
83 net/ssl/default_server_bound_cert_store.cc \
84 net/ssl/openssl_client_key_store.cc \
85 net/ssl/server_bound_cert_service.cc \
86 net/ssl/server_bound_cert_store.cc \
87 net/ssl/signed_certificate_timestamp_and_status.cc \
88 net/ssl/ssl_cert_request_info.cc \
89 net/ssl/ssl_client_auth_cache.cc \
90 net/ssl/ssl_config.cc \
91 net/ssl/ssl_info.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000092 net/android/cert_verify_result_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010093 net/android/gurl_utils.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000094 net/android/android_private_key.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010095 net/android/keystore.cc \
96 net/android/keystore_openssl.cc \
97 net/android/net_jni_registrar.cc \
98 net/android/network_change_notifier_android.cc \
99 net/android/network_change_notifier_delegate_android.cc \
100 net/android/network_change_notifier_factory_android.cc \
101 net/android/network_library.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000102 net/base/address_tracker_linux.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100103 net/base/backoff_entry.cc \
104 net/base/bandwidth_metrics.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100105 net/base/crypto_module_openssl.cc \
106 net/base/data_url.cc \
107 net/base/directory_lister.cc \
108 net/base/dns_reloader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100109 net/base/file_stream.cc \
110 net/base/file_stream_context.cc \
111 net/base/file_stream_context_posix.cc \
Ben Murdochc5cede92014-04-10 11:22:14 +0100112 net/base/filename_util.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100113 net/base/host_mapping_rules.cc \
Ben Murdochc5cede92014-04-10 11:22:14 +0100114 net/base/int128.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000115 net/base/ip_pattern.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100116 net/base/keygen_handler.cc \
117 net/base/keygen_handler_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100118 net/base/mime_sniffer.cc \
119 net/base/mime_util.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100120 net/base/net_log_logger.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100121 net/base/network_change_notifier.cc \
122 net/base/network_delegate.cc \
123 net/base/network_time_notifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100124 net/base/platform_mime_util_linux.cc \
125 net/base/prioritized_dispatcher.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100126 net/base/request_priority.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100127 net/base/sdch_manager.cc \
128 net/base/static_cookie_policy.cc \
129 net/base/test_data_stream.cc \
130 net/base/upload_bytes_element_reader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100131 net/base/upload_data_stream.cc \
132 net/base/upload_element.cc \
133 net/base/upload_element_reader.cc \
134 net/base/upload_file_element_reader.cc \
135 net/base/url_util.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100136 net/cert/cert_database_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100137 net/cert/cert_verify_proc.cc \
138 net/cert/cert_verify_proc_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100139 net/cert/crl_set.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000140 net/cert/ct_known_logs.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000141 net/cert/ct_log_verifier.cc \
142 net/cert/ct_log_verifier_openssl.cc \
143 net/cert/ct_objects_extractor_openssl.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000144 net/cert/ct_serialization.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000145 net/cert/ct_signed_certificate_timestamp_log_param.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000146 net/cert/ct_verify_result.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100147 net/cert/ev_root_ca_metadata.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100148 net/cert/jwk_serializer_openssl.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000149 net/cert/multi_log_ct_verifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100150 net/cert/multi_threaded_cert_verifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100151 net/cert/test_root_certs.cc \
152 net/cert/test_root_certs_android.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000153 net/cert/x509_util_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100154 net/cookies/canonical_cookie.cc \
155 net/cookies/cookie_constants.cc \
156 net/cookies/cookie_monster.cc \
157 net/cookies/cookie_store.cc \
158 net/cookies/cookie_util.cc \
159 net/cookies/parsed_cookie.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000160 net/disk_cache/blockfile/addr.cc \
161 net/disk_cache/blockfile/backend_impl.cc \
162 net/disk_cache/blockfile/backend_impl_v3.cc \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100163 net/disk_cache/blockfile/backend_worker_v3.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000164 net/disk_cache/blockfile/bitmap.cc \
165 net/disk_cache/blockfile/block_bitmaps_v3.cc \
166 net/disk_cache/blockfile/block_files.cc \
167 net/disk_cache/blockfile/disk_format.cc \
168 net/disk_cache/blockfile/entry_impl.cc \
169 net/disk_cache/blockfile/entry_impl_v3.cc \
170 net/disk_cache/blockfile/eviction.cc \
171 net/disk_cache/blockfile/eviction_v3.cc \
172 net/disk_cache/blockfile/file.cc \
173 net/disk_cache/blockfile/file_lock.cc \
174 net/disk_cache/blockfile/file_posix.cc \
175 net/disk_cache/blockfile/in_flight_backend_io.cc \
176 net/disk_cache/blockfile/in_flight_io.cc \
177 net/disk_cache/blockfile/index_table_v3.cc \
178 net/disk_cache/blockfile/mapped_file.cc \
179 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc \
180 net/disk_cache/blockfile/rankings.cc \
181 net/disk_cache/blockfile/sparse_control.cc \
182 net/disk_cache/blockfile/stats.cc \
183 net/disk_cache/blockfile/stats_histogram.cc \
184 net/disk_cache/blockfile/trace.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100185 net/disk_cache/cache_creator.cc \
186 net/disk_cache/cache_util.cc \
187 net/disk_cache/cache_util_posix.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000188 net/disk_cache/memory/mem_backend_impl.cc \
189 net/disk_cache/memory/mem_entry_impl.cc \
190 net/disk_cache/memory/mem_rankings.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100191 net/disk_cache/net_log_parameters.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100192 net/disk_cache/simple/simple_backend_impl.cc \
193 net/disk_cache/simple/simple_entry_format.cc \
194 net/disk_cache/simple/simple_entry_impl.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100195 net/disk_cache/simple/simple_entry_operation.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100196 net/disk_cache/simple/simple_index.cc \
197 net/disk_cache/simple/simple_index_file.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100198 net/disk_cache/simple/simple_index_file_posix.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100199 net/disk_cache/simple/simple_net_log_parameters.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100200 net/disk_cache/simple/simple_synchronous_entry.cc \
201 net/disk_cache/simple/simple_util.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100202 net/disk_cache/simple/simple_version_upgrade.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000203 net/disk_cache/tracing/tracing_cache_backend.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100204 net/dns/address_sorter_posix.cc \
205 net/dns/dns_client.cc \
206 net/dns/dns_config_service.cc \
207 net/dns/dns_config_service_posix.cc \
208 net/dns/dns_hosts.cc \
209 net/dns/dns_query.cc \
210 net/dns/dns_response.cc \
211 net/dns/dns_session.cc \
212 net/dns/dns_socket_pool.cc \
213 net/dns/dns_transaction.cc \
214 net/dns/host_cache.cc \
215 net/dns/host_resolver.cc \
216 net/dns/host_resolver_impl.cc \
217 net/dns/host_resolver_proc.cc \
218 net/dns/mapped_host_resolver.cc \
219 net/dns/serial_worker.cc \
220 net/dns/single_request_host_resolver.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000221 net/filter/filter.cc \
222 net/filter/gzip_filter.cc \
223 net/filter/gzip_header.cc \
224 net/filter/sdch_filter.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100225 net/ftp/ftp_auth_cache.cc \
226 net/ftp/ftp_ctrl_response_buffer.cc \
227 net/ftp/ftp_directory_listing_parser.cc \
228 net/ftp/ftp_directory_listing_parser_ls.cc \
229 net/ftp/ftp_directory_listing_parser_netware.cc \
230 net/ftp/ftp_directory_listing_parser_os2.cc \
231 net/ftp/ftp_directory_listing_parser_vms.cc \
232 net/ftp/ftp_directory_listing_parser_windows.cc \
233 net/ftp/ftp_network_layer.cc \
234 net/ftp/ftp_network_session.cc \
235 net/ftp/ftp_network_transaction.cc \
236 net/ftp/ftp_response_info.cc \
237 net/ftp/ftp_server_type_histograms.cc \
238 net/ftp/ftp_util.cc \
239 net/http/des.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000240 net/http/disk_cache_based_quic_server_info.cc \
241 net/http/failing_http_transaction_factory.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100242 net/http/http_auth.cc \
243 net/http/http_auth_cache.cc \
244 net/http/http_auth_controller.cc \
245 net/http/http_auth_filter.cc \
246 net/http/http_auth_handler.cc \
247 net/http/http_auth_handler_basic.cc \
248 net/http/http_auth_handler_digest.cc \
249 net/http/http_auth_handler_factory.cc \
250 net/http/http_auth_handler_ntlm.cc \
251 net/http/http_auth_handler_ntlm_portable.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000252 net/http/http_basic_state.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100253 net/http/http_basic_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100254 net/http/http_cache.cc \
255 net/http/http_cache_transaction.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100256 net/http/http_chunked_decoder.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +0100257 net/http/http_content_disposition.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100258 net/http/http_network_layer.cc \
259 net/http/http_network_session.cc \
260 net/http/http_network_session_peer.cc \
261 net/http/http_network_transaction.cc \
262 net/http/http_pipelined_connection_impl.cc \
263 net/http/http_pipelined_host.cc \
264 net/http/http_pipelined_host_forced.cc \
265 net/http/http_pipelined_host_impl.cc \
266 net/http/http_pipelined_host_pool.cc \
267 net/http/http_pipelined_stream.cc \
268 net/http/http_proxy_client_socket.cc \
269 net/http/http_proxy_client_socket_pool.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100270 net/http/http_request_info.cc \
271 net/http/http_response_body_drainer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100272 net/http/http_server_properties.cc \
273 net/http/http_server_properties_impl.cc \
274 net/http/http_status_code.cc \
275 net/http/http_stream_factory.cc \
276 net/http/http_stream_factory_impl.cc \
277 net/http/http_stream_factory_impl_job.cc \
278 net/http/http_stream_factory_impl_request.cc \
279 net/http/http_stream_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100280 net/http/md4.cc \
281 net/http/partial_data.cc \
282 net/http/proxy_client_socket.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100283 net/http/proxy_connect_redirect_http_stream.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000284 net/http/transport_security_persister.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100285 net/http/url_security_manager.cc \
286 net/http/url_security_manager_posix.cc \
287 net/proxy/dhcp_proxy_script_fetcher.cc \
288 net/proxy/dhcp_proxy_script_fetcher_factory.cc \
289 net/proxy/multi_threaded_proxy_resolver.cc \
290 net/proxy/network_delegate_error_observer.cc \
291 net/proxy/polling_proxy_config_service.cc \
292 net/proxy/proxy_bypass_rules.cc \
293 net/proxy/proxy_config.cc \
294 net/proxy/proxy_config_service_android.cc \
295 net/proxy/proxy_config_service_fixed.cc \
296 net/proxy/proxy_config_source.cc \
297 net/proxy/proxy_info.cc \
298 net/proxy/proxy_list.cc \
299 net/proxy/proxy_resolver_script_data.cc \
300 net/proxy/proxy_script_decider.cc \
301 net/proxy/proxy_script_fetcher_impl.cc \
302 net/proxy/proxy_server.cc \
303 net/proxy/proxy_service.cc \
304 net/quic/congestion_control/available_channel_estimator.cc \
305 net/quic/congestion_control/channel_estimator.cc \
306 net/quic/congestion_control/cube_root.cc \
307 net/quic/congestion_control/cubic.cc \
308 net/quic/congestion_control/fix_rate_receiver.cc \
309 net/quic/congestion_control/fix_rate_sender.cc \
310 net/quic/congestion_control/hybrid_slow_start.cc \
311 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc \
312 net/quic/congestion_control/inter_arrival_overuse_detector.cc \
313 net/quic/congestion_control/inter_arrival_probe.cc \
314 net/quic/congestion_control/inter_arrival_receiver.cc \
315 net/quic/congestion_control/inter_arrival_sender.cc \
316 net/quic/congestion_control/inter_arrival_state_machine.cc \
317 net/quic/congestion_control/leaky_bucket.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000318 net/quic/congestion_control/loss_detection_interface.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100319 net/quic/congestion_control/paced_sender.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000320 net/quic/congestion_control/pacing_sender.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100321 net/quic/congestion_control/receive_algorithm_interface.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000322 net/quic/congestion_control/rtt_stats.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100323 net/quic/congestion_control/send_algorithm_interface.cc \
324 net/quic/congestion_control/tcp_cubic_sender.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000325 net/quic/congestion_control/tcp_loss_algorithm.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100326 net/quic/congestion_control/tcp_receiver.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000327 net/quic/congestion_control/time_loss_algorithm.cc \
328 net/quic/crypto/aead_base_decrypter_openssl.cc \
329 net/quic/crypto/aead_base_encrypter_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100330 net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc \
331 net/quic/crypto/aes_128_gcm_12_encrypter_openssl.cc \
332 net/quic/crypto/cert_compressor.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000333 net/quic/crypto/chacha20_poly1305_decrypter_openssl.cc \
334 net/quic/crypto/chacha20_poly1305_encrypter_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100335 net/quic/crypto/channel_id.cc \
336 net/quic/crypto/channel_id_openssl.cc \
337 net/quic/crypto/common_cert_set.cc \
338 net/quic/crypto/crypto_framer.cc \
339 net/quic/crypto/crypto_handshake.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000340 net/quic/crypto/crypto_handshake_message.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100341 net/quic/crypto/crypto_secret_boxer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100342 net/quic/crypto/crypto_server_config_protobuf.cc \
343 net/quic/crypto/crypto_utils.cc \
344 net/quic/crypto/curve25519_key_exchange.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000345 net/quic/crypto/local_strike_register_client.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100346 net/quic/crypto/null_decrypter.cc \
347 net/quic/crypto/null_encrypter.cc \
348 net/quic/crypto/p256_key_exchange_openssl.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100349 net/quic/crypto/proof_source_chromium.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100350 net/quic/crypto/proof_verifier_chromium.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000351 net/quic/crypto/quic_crypto_client_config.cc \
352 net/quic/crypto/quic_crypto_server_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100353 net/quic/crypto/quic_decrypter.cc \
354 net/quic/crypto/quic_encrypter.cc \
355 net/quic/crypto/quic_random.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000356 net/quic/crypto/quic_server_info.cc \
357 net/quic/crypto/scoped_evp_aead_ctx.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100358 net/quic/crypto/source_address_token.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +0100359 net/quic/crypto/strike_register.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000360 net/quic/iovector.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000361 net/quic/port_suggester.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100362 net/quic/quic_ack_notifier.cc \
Torne (Richard Coles)68043e12013-09-26 13:24:57 +0100363 net/quic/quic_ack_notifier_manager.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000364 net/quic/quic_address_mismatch.cc \
Ben Murdochba5b9a62013-08-12 14:20:17 +0100365 net/quic/quic_alarm.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100366 net/quic/quic_bandwidth.cc \
367 net/quic/quic_client_session.cc \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100368 net/quic/quic_client_session_base.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100369 net/quic/quic_clock.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000370 net/quic/quic_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100371 net/quic/quic_connection.cc \
372 net/quic/quic_connection_helper.cc \
373 net/quic/quic_connection_logger.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100374 net/quic/quic_connection_stats.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000375 net/quic/quic_crypto_client_stream.cc \
376 net/quic/quic_crypto_server_stream.cc \
377 net/quic/quic_crypto_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100378 net/quic/quic_data_reader.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000379 net/quic/quic_data_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100380 net/quic/quic_data_writer.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000381 net/quic/quic_default_packet_writer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100382 net/quic/quic_fec_group.cc \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100383 net/quic/quic_flags.cc \
Ben Murdoch0529e5d2014-04-24 10:50:13 +0100384 net/quic/quic_flow_controller.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100385 net/quic/quic_framer.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000386 net/quic/quic_headers_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100387 net/quic/quic_http_stream.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100388 net/quic/quic_http_utils.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100389 net/quic/quic_packet_creator.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100390 net/quic/quic_packet_generator.cc \
391 net/quic/quic_protocol.cc \
Ben Murdoch2385ea32013-08-06 11:01:04 +0100392 net/quic/quic_received_packet_manager.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100393 net/quic/quic_reliable_client_stream.cc \
Ben Murdoch558790d2013-07-30 15:19:42 +0100394 net/quic/quic_sent_entropy_manager.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100395 net/quic/quic_sent_packet_manager.cc \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100396 net/quic/quic_server_id.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100397 net/quic/quic_session.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000398 net/quic/quic_socket_address_coder.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100399 net/quic/quic_stream_factory.cc \
400 net/quic/quic_stream_sequencer.cc \
401 net/quic/quic_time.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000402 net/quic/quic_unacked_packet_map.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100403 net/quic/quic_utils.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000404 net/quic/quic_write_blocked_list.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100405 net/quic/reliable_quic_stream.cc \
406 net/quic/spdy_utils.cc \
407 net/socket/buffered_write_stream_socket.cc \
408 net/socket/client_socket_factory.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100409 net/socket/client_socket_pool.cc \
410 net/socket/client_socket_pool_base.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100411 net/socket/client_socket_pool_manager.cc \
412 net/socket/client_socket_pool_manager_impl.cc \
Torne (Richard Coles)424c4d72013-08-30 15:14:49 +0100413 net/socket/socket_descriptor.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100414 net/socket/socket_net_log_params.cc \
415 net/socket/socks5_client_socket.cc \
416 net/socket/socks_client_socket.cc \
417 net/socket/socks_client_socket_pool.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100418 net/socket/ssl_server_socket_openssl.cc \
419 net/socket/stream_listen_socket.cc \
420 net/socket/stream_socket.cc \
421 net/socket/tcp_client_socket.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100422 net/socket/tcp_listen_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100423 net/socket/tcp_server_socket.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100424 net/socket/tcp_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100425 net/socket/tcp_socket_libevent.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100426 net/socket/transport_client_socket_pool.cc \
427 net/socket/unix_domain_socket_posix.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 \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000433 net/spdy/hpack_constants.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000434 net/spdy/hpack_decoder.cc \
435 net/spdy/hpack_encoder.cc \
436 net/spdy/hpack_encoding_context.cc \
437 net/spdy/hpack_entry.cc \
438 net/spdy/hpack_header_table.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000439 net/spdy/hpack_huffman_table.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000440 net/spdy/hpack_input_stream.cc \
441 net/spdy/hpack_output_stream.cc \
442 net/spdy/hpack_string_util.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100443 net/spdy/spdy_buffer.cc \
444 net/spdy/spdy_buffer_producer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100445 net/spdy/spdy_frame_builder.cc \
446 net/spdy/spdy_frame_reader.cc \
447 net/spdy/spdy_framer.cc \
448 net/spdy/spdy_header_block.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000449 net/spdy/spdy_headers_block_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100450 net/spdy/spdy_http_stream.cc \
451 net/spdy/spdy_http_utils.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000452 net/spdy/spdy_pinnable_buffer_piece.cc \
453 net/spdy/spdy_prefixed_buffer_reader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100454 net/spdy/spdy_protocol.cc \
455 net/spdy/spdy_proxy_client_socket.cc \
456 net/spdy/spdy_read_queue.cc \
457 net/spdy/spdy_session.cc \
458 net/spdy/spdy_session_key.cc \
459 net/spdy/spdy_session_pool.cc \
460 net/spdy/spdy_stream.cc \
461 net/spdy/spdy_websocket_stream.cc \
462 net/spdy/spdy_write_queue.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100463 net/ssl/ssl_cipher_suite_names.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100464 net/ssl/ssl_config_service.cc \
465 net/ssl/ssl_config_service_defaults.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100466 net/udp/udp_client_socket.cc \
467 net/udp/udp_net_log_parameters.cc \
468 net/udp/udp_server_socket.cc \
469 net/udp/udp_socket_libevent.cc \
470 net/url_request/data_protocol_handler.cc \
471 net/url_request/file_protocol_handler.cc \
472 net/url_request/ftp_protocol_handler.cc \
473 net/url_request/protocol_intercept_job_factory.cc \
474 net/url_request/static_http_user_agent_settings.cc \
475 net/url_request/url_fetcher.cc \
476 net/url_request/url_fetcher_core.cc \
477 net/url_request/url_fetcher_delegate.cc \
478 net/url_request/url_fetcher_impl.cc \
479 net/url_request/url_fetcher_response_writer.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000480 net/url_request/url_range_request_job.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100481 net/url_request/url_request.cc \
482 net/url_request/url_request_about_job.cc \
483 net/url_request/url_request_context.cc \
484 net/url_request/url_request_context_builder.cc \
485 net/url_request/url_request_context_getter.cc \
486 net/url_request/url_request_context_storage.cc \
487 net/url_request/url_request_data_job.cc \
488 net/url_request/url_request_error_job.cc \
489 net/url_request/url_request_file_dir_job.cc \
490 net/url_request/url_request_file_job.cc \
491 net/url_request/url_request_filter.cc \
492 net/url_request/url_request_ftp_job.cc \
493 net/url_request/url_request_http_job.cc \
494 net/url_request/url_request_job.cc \
495 net/url_request/url_request_job_factory.cc \
496 net/url_request/url_request_job_factory_impl.cc \
497 net/url_request/url_request_job_manager.cc \
498 net/url_request/url_request_netlog_params.cc \
499 net/url_request/url_request_redirect_job.cc \
500 net/url_request/url_request_simple_job.cc \
501 net/url_request/url_request_test_job.cc \
502 net/url_request/url_request_throttler_entry.cc \
503 net/url_request/url_request_throttler_header_adapter.cc \
504 net/url_request/url_request_throttler_manager.cc \
505 net/url_request/view_cache_helper.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000506 net/url_request/websocket_handshake_userdata_key.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000507 net/websockets/websocket_basic_handshake_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100508 net/websockets/websocket_basic_stream.cc \
Ben Murdoch9ab55632013-07-18 11:57:30 +0100509 net/websockets/websocket_channel.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000510 net/websockets/websocket_deflate_predictor_impl.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100511 net/websockets/websocket_deflate_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100512 net/websockets/websocket_deflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100513 net/websockets/websocket_errors.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100514 net/websockets/websocket_extension.cc \
515 net/websockets/websocket_extension_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100516 net/websockets/websocket_frame.cc \
517 net/websockets/websocket_frame_parser.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100518 net/websockets/websocket_handshake_constants.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100519 net/websockets/websocket_handshake_handler.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000520 net/websockets/websocket_handshake_request_info.cc \
521 net/websockets/websocket_handshake_response_info.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000522 net/websockets/websocket_handshake_stream_create_helper.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100523 net/websockets/websocket_inflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100524 net/websockets/websocket_job.cc \
525 net/websockets/websocket_net_log_params.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100526 net/websockets/websocket_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100527 net/websockets/websocket_throttle.cc
528
529
530# Flags passed to both C and C++ files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100531MY_CFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100532 -fstack-protector \
533 --param=ssp-buffer-size=4 \
534 \
535 -fno-exceptions \
536 -fno-strict-aliasing \
537 -Wall \
538 -Wno-unused-parameter \
539 -Wno-missing-field-initializers \
540 -fvisibility=hidden \
541 -pipe \
542 -fPIC \
543 -EL \
544 -mhard-float \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100545 -ffunction-sections \
546 -funwind-tables \
547 -g \
548 -fstack-protector \
549 -fno-short-enums \
550 -finline-limit=64 \
551 -Wa,--noexecstack \
552 -U_FORTIFY_SOURCE \
553 -Wno-extra \
554 -Wno-ignored-qualifiers \
555 -Wno-type-limits \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000556 -Wno-unused-but-set-variable \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100557 -Os \
558 -g \
559 -fomit-frame-pointer \
560 -fdata-sections \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000561 -ffunction-sections \
562 -funwind-tables
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100563
Ben Murdocheb525c52013-07-10 11:40:50 +0100564MY_DEFS_Debug := \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000565 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000566 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100567 '-D_FILE_OFFSET_BITS=64' \
568 '-DNO_TCMALLOC' \
569 '-DDISABLE_NACL' \
570 '-DCHROMIUM_BUILD' \
571 '-DUSE_LIBJPEG_TURBO=1' \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100572 '-DENABLE_WEBRTC=1' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100573 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100574 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000575 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
576 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100577 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100578 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000579 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000580 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100581 '-DNET_IMPLEMENTATION' \
582 '-DPOSIX_AVOID_MMAP' \
583 '-DENABLE_BUILT_IN_DNS' \
584 '-DU_USING_ICU_NAMESPACE=0' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000585 '-DUSE_OPENSSL=1' \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100586 '-DUSE_OPENSSL_CERTS=1' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100587 '-D__STDC_CONSTANT_MACROS' \
588 '-D__STDC_FORMAT_MACROS' \
589 '-DANDROID' \
590 '-D__GNU_SOURCE=1' \
591 '-DUSE_STLPORT=1' \
592 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
593 '-DCHROME_BUILD_ID=""' \
594 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
595 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
596 '-D_DEBUG'
597
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100598
599# Include paths placed before CFLAGS/CPPFLAGS
Ben Murdocheb525c52013-07-10 11:40:50 +0100600LOCAL_C_INCLUDES_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100601 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
Ben Murdochbbcdd452013-07-25 10:06:34 +0100602 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
603 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
604 $(LOCAL_PATH)/third_party/openssl \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100605 $(LOCAL_PATH) \
606 $(LOCAL_PATH)/sdch/open-vcdiff/src \
607 $(PWD)/external/icu4c/common \
608 $(PWD)/external/icu4c/i18n \
609 $(LOCAL_PATH)/third_party/zlib \
610 $(gyp_shared_intermediate_dir)/net \
611 $(LOCAL_PATH)/third_party/openssl/openssl/include \
612 $(PWD)/frameworks/wilhelm/include \
613 $(PWD)/bionic \
614 $(PWD)/external/stlport/stlport
615
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100616
617# Flags passed to only C++ (and not C) files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100618LOCAL_CPPFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100619 -fno-rtti \
620 -fno-threadsafe-statics \
621 -fvisibility-inlines-hidden \
622 -Wsign-compare \
623 -Wno-uninitialized \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100624 -Wno-non-virtual-dtor \
625 -Wno-sign-promo
626
Ben Murdocheb525c52013-07-10 11:40:50 +0100627
628# Flags passed to both C and C++ files.
629MY_CFLAGS_Release := \
630 -fstack-protector \
631 --param=ssp-buffer-size=4 \
632 \
633 -fno-exceptions \
634 -fno-strict-aliasing \
635 -Wall \
636 -Wno-unused-parameter \
637 -Wno-missing-field-initializers \
638 -fvisibility=hidden \
639 -pipe \
640 -fPIC \
641 -EL \
642 -mhard-float \
643 -ffunction-sections \
644 -funwind-tables \
645 -g \
646 -fstack-protector \
647 -fno-short-enums \
648 -finline-limit=64 \
649 -Wa,--noexecstack \
650 -U_FORTIFY_SOURCE \
651 -Wno-extra \
652 -Wno-ignored-qualifiers \
653 -Wno-type-limits \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000654 -Wno-unused-but-set-variable \
Ben Murdocheb525c52013-07-10 11:40:50 +0100655 -Os \
656 -fno-ident \
657 -fdata-sections \
658 -ffunction-sections \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000659 -fomit-frame-pointer \
660 -funwind-tables
Ben Murdocheb525c52013-07-10 11:40:50 +0100661
662MY_DEFS_Release := \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000663 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000664 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100665 '-D_FILE_OFFSET_BITS=64' \
666 '-DNO_TCMALLOC' \
667 '-DDISABLE_NACL' \
668 '-DCHROMIUM_BUILD' \
669 '-DUSE_LIBJPEG_TURBO=1' \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100670 '-DENABLE_WEBRTC=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100671 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100672 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000673 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
674 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100675 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100676 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000677 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000678 '-DENABLE_MANAGED_USERS=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100679 '-DNET_IMPLEMENTATION' \
680 '-DPOSIX_AVOID_MMAP' \
681 '-DENABLE_BUILT_IN_DNS' \
682 '-DU_USING_ICU_NAMESPACE=0' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000683 '-DUSE_OPENSSL=1' \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100684 '-DUSE_OPENSSL_CERTS=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100685 '-D__STDC_CONSTANT_MACROS' \
686 '-D__STDC_FORMAT_MACROS' \
687 '-DANDROID' \
688 '-D__GNU_SOURCE=1' \
689 '-DUSE_STLPORT=1' \
690 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
691 '-DCHROME_BUILD_ID=""' \
692 '-DNDEBUG' \
693 '-DNVALGRIND' \
694 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
695 '-D_FORTIFY_SOURCE=2'
696
697
698# Include paths placed before CFLAGS/CPPFLAGS
699LOCAL_C_INCLUDES_Release := \
Ben Murdocheb525c52013-07-10 11:40:50 +0100700 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
Ben Murdochbbcdd452013-07-25 10:06:34 +0100701 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
702 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
703 $(LOCAL_PATH)/third_party/openssl \
Ben Murdocheb525c52013-07-10 11:40:50 +0100704 $(LOCAL_PATH) \
705 $(LOCAL_PATH)/sdch/open-vcdiff/src \
706 $(PWD)/external/icu4c/common \
707 $(PWD)/external/icu4c/i18n \
708 $(LOCAL_PATH)/third_party/zlib \
709 $(gyp_shared_intermediate_dir)/net \
710 $(LOCAL_PATH)/third_party/openssl/openssl/include \
711 $(PWD)/frameworks/wilhelm/include \
712 $(PWD)/bionic \
713 $(PWD)/external/stlport/stlport
714
715
716# Flags passed to only C++ (and not C) files.
717LOCAL_CPPFLAGS_Release := \
718 -fno-rtti \
719 -fno-threadsafe-statics \
720 -fvisibility-inlines-hidden \
721 -Wsign-compare \
722 -Wno-uninitialized \
Ben Murdocheb525c52013-07-10 11:40:50 +0100723 -Wno-non-virtual-dtor \
724 -Wno-sign-promo
725
726
727LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
728LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
729LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000730LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100731### Rules for final target.
732
Ben Murdocheb525c52013-07-10 11:40:50 +0100733LOCAL_LDFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100734 -Wl,-z,now \
735 -Wl,-z,relro \
Ben Murdochc5cede92014-04-10 11:22:14 +0100736 -Wl,--fatal-warnings \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100737 -Wl,-z,noexecstack \
738 -fPIC \
739 -EL \
740 -Wl,--no-keep-memory \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100741 -nostdlib \
742 -Wl,--no-undefined \
743 -Wl,--exclude-libs=ALL \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100744 -Wl,--warn-shared-textrel \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100745 -Wl,-O1 \
746 -Wl,--as-needed
747
748
Ben Murdocheb525c52013-07-10 11:40:50 +0100749LOCAL_LDFLAGS_Release := \
750 -Wl,-z,now \
751 -Wl,-z,relro \
Ben Murdochc5cede92014-04-10 11:22:14 +0100752 -Wl,--fatal-warnings \
Ben Murdocheb525c52013-07-10 11:40:50 +0100753 -Wl,-z,noexecstack \
754 -fPIC \
755 -EL \
756 -Wl,--no-keep-memory \
757 -nostdlib \
758 -Wl,--no-undefined \
759 -Wl,--exclude-libs=ALL \
760 -Wl,-O1 \
761 -Wl,--as-needed \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100762 -Wl,--gc-sections \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100763 -Wl,--warn-shared-textrel
Ben Murdocheb525c52013-07-10 11:40:50 +0100764
765
766LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
767
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100768LOCAL_STATIC_LIBRARIES :=
769
770# Enable grouping to fix circular references
771LOCAL_GROUP_STATIC_LIBRARIES := true
772
773LOCAL_SHARED_LIBRARIES := \
774 libstlport \
775 libdl
776
777# Add target alias to "gyp_all_modules" target.
778.PHONY: gyp_all_modules
779gyp_all_modules: net_net_gyp
780
781# Alias gyp target name.
782.PHONY: net
783net: net_net_gyp
784
785include $(BUILD_STATIC_LIBRARY)