blob: 8e35d7159dc12d21a23080afc00acc476a8624ed [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 \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010017 $(call intermediates-dir-for,GYP,net_net_derived_sources_gyp,,,$(GYP_VAR_PREFIX))/net_derived_sources.stamp \
Ben Murdochc5cede92014-04-10 11:22:14 +010018 $(call intermediates-dir-for,GYP,net_net_resources_gyp,,,$(GYP_VAR_PREFIX))/net_resources.stamp \
19 $(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 +010020
21GYP_GENERATED_OUTPUTS :=
22
23# Make sure our deps and generated files are built first.
24LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
25
26LOCAL_CPP_EXTENSION := .cc
27LOCAL_GENERATED_SOURCES :=
28
29GYP_COPIED_SOURCE_ORIGIN_DIRS :=
30
31LOCAL_SRC_FILES := \
Ben Murdocha02191e2014-04-16 11:17:03 +010032 net/base/address_list.cc \
33 net/base/auth.cc \
34 net/base/connection_type_histograms.cc \
35 net/base/dns_util.cc \
36 net/base/escape.cc \
37 net/base/hash_value.cc \
38 net/base/load_timing_info.cc \
39 net/base/host_port_pair.cc \
40 net/base/io_buffer.cc \
41 net/base/ip_endpoint.cc \
42 net/base/net_errors.cc \
43 net/base/net_errors_posix.cc \
44 net/base/net_log.cc \
45 net/base/net_module.cc \
Bo Liu5c02ac12014-05-01 10:37:37 -070046 net/base/net_string_util_icu.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +010047 net/base/net_util.cc \
48 net/base/net_util_icu.cc \
49 net/base/net_util_posix.cc \
50 net/base/openssl_private_key_store_android.cc \
51 net/base/registry_controlled_domains/registry_controlled_domain.cc \
52 net/base/zap.cc \
53 net/cert/asn1_util.cc \
54 net/cert/cert_database.cc \
55 net/cert/cert_status_flags.cc \
56 net/cert/cert_verifier.cc \
57 net/cert/cert_verify_result.cc \
58 net/cert/pem_tokenizer.cc \
59 net/cert/signed_certificate_timestamp.cc \
60 net/cert/single_request_cert_verifier.cc \
61 net/cert/x509_cert_types.cc \
62 net/cert/x509_certificate.cc \
63 net/cert/x509_certificate_net_log_param.cc \
64 net/cert/x509_certificate_openssl.cc \
65 net/cert/x509_util.cc \
66 net/cert/x509_util_openssl.cc \
67 net/http/http_auth_challenge_tokenizer.cc \
68 net/http/http_byte_range.cc \
69 net/http/http_log_util.cc \
70 net/http/http_request_headers.cc \
71 net/http/http_response_headers.cc \
72 net/http/http_response_info.cc \
73 net/http/http_security_headers.cc \
74 net/http/http_util.cc \
75 net/http/http_util_icu.cc \
76 net/http/http_vary_data.cc \
77 net/http/transport_security_state.cc \
78 net/socket/client_socket_handle.cc \
79 net/socket/client_socket_pool_histograms.cc \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010080 net/socket/next_proto.cc \
81 net/socket/openssl_ssl_util.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +010082 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_error_params.cc \
86 net/socket/ssl_session_cache_openssl.cc \
87 net/ssl/default_server_bound_cert_store.cc \
88 net/ssl/openssl_client_key_store.cc \
89 net/ssl/server_bound_cert_service.cc \
90 net/ssl/server_bound_cert_store.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_info.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000096 net/android/cert_verify_result_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010097 net/android/gurl_utils.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000098 net/android/android_private_key.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +010099 net/android/keystore.cc \
100 net/android/keystore_openssl.cc \
101 net/android/net_jni_registrar.cc \
102 net/android/network_change_notifier_android.cc \
103 net/android/network_change_notifier_delegate_android.cc \
104 net/android/network_change_notifier_factory_android.cc \
105 net/android/network_library.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000106 net/base/address_tracker_linux.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100107 net/base/backoff_entry.cc \
108 net/base/bandwidth_metrics.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100109 net/base/crypto_module_openssl.cc \
110 net/base/data_url.cc \
111 net/base/directory_lister.cc \
112 net/base/dns_reloader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100113 net/base/file_stream.cc \
114 net/base/file_stream_context.cc \
115 net/base/file_stream_context_posix.cc \
Ben Murdochc5cede92014-04-10 11:22:14 +0100116 net/base/filename_util.cc \
Torne (Richard Coles)0de60732014-05-15 12:16:31 +0100117 net/base/filename_util_icu.cc \
118 net/base/filename_util_internal.cc \
119 net/base/filename_util_unsafe.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100120 net/base/host_mapping_rules.cc \
Ben Murdochc5cede92014-04-10 11:22:14 +0100121 net/base/int128.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000122 net/base/ip_pattern.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100123 net/base/keygen_handler.cc \
124 net/base/keygen_handler_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100125 net/base/mime_sniffer.cc \
126 net/base/mime_util.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100127 net/base/net_log_logger.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100128 net/base/network_change_notifier.cc \
129 net/base/network_delegate.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100130 net/base/platform_mime_util_linux.cc \
131 net/base/prioritized_dispatcher.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100132 net/base/request_priority.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100133 net/base/sdch_manager.cc \
134 net/base/static_cookie_policy.cc \
135 net/base/test_data_stream.cc \
136 net/base/upload_bytes_element_reader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100137 net/base/upload_data_stream.cc \
138 net/base/upload_element.cc \
139 net/base/upload_element_reader.cc \
140 net/base/upload_file_element_reader.cc \
141 net/base/url_util.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100142 net/cert/cert_database_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100143 net/cert/cert_verify_proc.cc \
144 net/cert/cert_verify_proc_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100145 net/cert/crl_set.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000146 net/cert/ct_known_logs.cc \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100147 net/cert/ct_log_response_parser.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000148 net/cert/ct_log_verifier.cc \
149 net/cert/ct_log_verifier_openssl.cc \
150 net/cert/ct_objects_extractor_openssl.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000151 net/cert/ct_serialization.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000152 net/cert/ct_signed_certificate_timestamp_log_param.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000153 net/cert/ct_verify_result.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100154 net/cert/ev_root_ca_metadata.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100155 net/cert/jwk_serializer_openssl.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000156 net/cert/multi_log_ct_verifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100157 net/cert/multi_threaded_cert_verifier.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100158 net/cert/test_root_certs.cc \
159 net/cert/test_root_certs_android.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000160 net/cert/x509_util_android.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100161 net/cookies/canonical_cookie.cc \
162 net/cookies/cookie_constants.cc \
163 net/cookies/cookie_monster.cc \
164 net/cookies/cookie_store.cc \
165 net/cookies/cookie_util.cc \
166 net/cookies/parsed_cookie.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000167 net/disk_cache/blockfile/addr.cc \
168 net/disk_cache/blockfile/backend_impl.cc \
169 net/disk_cache/blockfile/backend_impl_v3.cc \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100170 net/disk_cache/blockfile/backend_worker_v3.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000171 net/disk_cache/blockfile/bitmap.cc \
172 net/disk_cache/blockfile/block_bitmaps_v3.cc \
173 net/disk_cache/blockfile/block_files.cc \
174 net/disk_cache/blockfile/disk_format.cc \
175 net/disk_cache/blockfile/entry_impl.cc \
176 net/disk_cache/blockfile/entry_impl_v3.cc \
177 net/disk_cache/blockfile/eviction.cc \
178 net/disk_cache/blockfile/eviction_v3.cc \
179 net/disk_cache/blockfile/file.cc \
180 net/disk_cache/blockfile/file_lock.cc \
181 net/disk_cache/blockfile/file_posix.cc \
182 net/disk_cache/blockfile/in_flight_backend_io.cc \
183 net/disk_cache/blockfile/in_flight_io.cc \
184 net/disk_cache/blockfile/index_table_v3.cc \
185 net/disk_cache/blockfile/mapped_file.cc \
186 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc \
187 net/disk_cache/blockfile/rankings.cc \
188 net/disk_cache/blockfile/sparse_control.cc \
189 net/disk_cache/blockfile/stats.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000190 net/disk_cache/blockfile/trace.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100191 net/disk_cache/cache_creator.cc \
192 net/disk_cache/cache_util.cc \
193 net/disk_cache/cache_util_posix.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000194 net/disk_cache/memory/mem_backend_impl.cc \
195 net/disk_cache/memory/mem_entry_impl.cc \
196 net/disk_cache/memory/mem_rankings.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100197 net/disk_cache/net_log_parameters.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100198 net/disk_cache/simple/simple_backend_impl.cc \
199 net/disk_cache/simple/simple_entry_format.cc \
200 net/disk_cache/simple/simple_entry_impl.cc \
Ben Murdochbb1529c2013-08-08 10:24:53 +0100201 net/disk_cache/simple/simple_entry_operation.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100202 net/disk_cache/simple/simple_index.cc \
203 net/disk_cache/simple/simple_index_file.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100204 net/disk_cache/simple/simple_index_file_posix.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100205 net/disk_cache/simple/simple_net_log_parameters.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100206 net/disk_cache/simple/simple_synchronous_entry.cc \
207 net/disk_cache/simple/simple_util.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100208 net/disk_cache/simple/simple_version_upgrade.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000209 net/disk_cache/tracing/tracing_cache_backend.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100210 net/dns/address_sorter_posix.cc \
211 net/dns/dns_client.cc \
212 net/dns/dns_config_service.cc \
213 net/dns/dns_config_service_posix.cc \
214 net/dns/dns_hosts.cc \
215 net/dns/dns_query.cc \
216 net/dns/dns_response.cc \
217 net/dns/dns_session.cc \
218 net/dns/dns_socket_pool.cc \
219 net/dns/dns_transaction.cc \
220 net/dns/host_cache.cc \
221 net/dns/host_resolver.cc \
222 net/dns/host_resolver_impl.cc \
223 net/dns/host_resolver_proc.cc \
224 net/dns/mapped_host_resolver.cc \
225 net/dns/serial_worker.cc \
226 net/dns/single_request_host_resolver.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000227 net/filter/filter.cc \
228 net/filter/gzip_filter.cc \
229 net/filter/gzip_header.cc \
230 net/filter/sdch_filter.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100231 net/ftp/ftp_auth_cache.cc \
232 net/ftp/ftp_ctrl_response_buffer.cc \
233 net/ftp/ftp_directory_listing_parser.cc \
234 net/ftp/ftp_directory_listing_parser_ls.cc \
235 net/ftp/ftp_directory_listing_parser_netware.cc \
236 net/ftp/ftp_directory_listing_parser_os2.cc \
237 net/ftp/ftp_directory_listing_parser_vms.cc \
238 net/ftp/ftp_directory_listing_parser_windows.cc \
239 net/ftp/ftp_network_layer.cc \
240 net/ftp/ftp_network_session.cc \
241 net/ftp/ftp_network_transaction.cc \
242 net/ftp/ftp_response_info.cc \
243 net/ftp/ftp_server_type_histograms.cc \
244 net/ftp/ftp_util.cc \
245 net/http/des.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000246 net/http/disk_cache_based_quic_server_info.cc \
247 net/http/failing_http_transaction_factory.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100248 net/http/http_auth.cc \
249 net/http/http_auth_cache.cc \
250 net/http/http_auth_controller.cc \
251 net/http/http_auth_filter.cc \
252 net/http/http_auth_handler.cc \
253 net/http/http_auth_handler_basic.cc \
254 net/http/http_auth_handler_digest.cc \
255 net/http/http_auth_handler_factory.cc \
256 net/http/http_auth_handler_ntlm.cc \
257 net/http/http_auth_handler_ntlm_portable.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000258 net/http/http_basic_state.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100259 net/http/http_basic_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100260 net/http/http_cache.cc \
261 net/http/http_cache_transaction.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100262 net/http/http_chunked_decoder.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +0100263 net/http/http_content_disposition.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100264 net/http/http_network_layer.cc \
265 net/http/http_network_session.cc \
266 net/http/http_network_session_peer.cc \
267 net/http/http_network_transaction.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100268 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 \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100304 net/quic/congestion_control/cube_root.cc \
305 net/quic/congestion_control/cubic.cc \
306 net/quic/congestion_control/fix_rate_receiver.cc \
307 net/quic/congestion_control/fix_rate_sender.cc \
308 net/quic/congestion_control/hybrid_slow_start.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100309 net/quic/congestion_control/leaky_bucket.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000310 net/quic/congestion_control/loss_detection_interface.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100311 net/quic/congestion_control/paced_sender.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000312 net/quic/congestion_control/pacing_sender.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100313 net/quic/congestion_control/receive_algorithm_interface.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000314 net/quic/congestion_control/rtt_stats.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100315 net/quic/congestion_control/send_algorithm_interface.cc \
316 net/quic/congestion_control/tcp_cubic_sender.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000317 net/quic/congestion_control/tcp_loss_algorithm.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100318 net/quic/congestion_control/tcp_receiver.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000319 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 \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100322 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 \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000325 net/quic/crypto/chacha20_poly1305_decrypter_openssl.cc \
326 net/quic/crypto/chacha20_poly1305_encrypter_openssl.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100327 net/quic/crypto/channel_id.cc \
328 net/quic/crypto/channel_id_openssl.cc \
329 net/quic/crypto/common_cert_set.cc \
330 net/quic/crypto/crypto_framer.cc \
331 net/quic/crypto/crypto_handshake.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000332 net/quic/crypto/crypto_handshake_message.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100333 net/quic/crypto/crypto_secret_boxer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100334 net/quic/crypto/crypto_server_config_protobuf.cc \
335 net/quic/crypto/crypto_utils.cc \
336 net/quic/crypto/curve25519_key_exchange.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000337 net/quic/crypto/local_strike_register_client.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100338 net/quic/crypto/null_decrypter.cc \
339 net/quic/crypto/null_encrypter.cc \
340 net/quic/crypto/p256_key_exchange_openssl.cc \
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100341 net/quic/crypto/proof_source_chromium.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100342 net/quic/crypto/proof_verifier_chromium.cc \
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +0000343 net/quic/crypto/quic_crypto_client_config.cc \
344 net/quic/crypto/quic_crypto_server_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100345 net/quic/crypto/quic_decrypter.cc \
346 net/quic/crypto/quic_encrypter.cc \
347 net/quic/crypto/quic_random.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000348 net/quic/crypto/quic_server_info.cc \
349 net/quic/crypto/scoped_evp_aead_ctx.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100350 net/quic/crypto/source_address_token.cc \
Ben Murdocha02191e2014-04-16 11:17:03 +0100351 net/quic/crypto/strike_register.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000352 net/quic/iovector.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000353 net/quic/port_suggester.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100354 net/quic/quic_ack_notifier.cc \
Torne (Richard Coles)68043e12013-09-26 13:24:57 +0100355 net/quic/quic_ack_notifier_manager.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000356 net/quic/quic_address_mismatch.cc \
Ben Murdochba5b9a62013-08-12 14:20:17 +0100357 net/quic/quic_alarm.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100358 net/quic/quic_bandwidth.cc \
359 net/quic/quic_client_session.cc \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100360 net/quic/quic_client_session_base.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100361 net/quic/quic_clock.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000362 net/quic/quic_config.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100363 net/quic/quic_connection.cc \
364 net/quic/quic_connection_helper.cc \
365 net/quic/quic_connection_logger.cc \
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100366 net/quic/quic_connection_stats.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000367 net/quic/quic_crypto_client_stream.cc \
368 net/quic/quic_crypto_server_stream.cc \
369 net/quic/quic_crypto_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100370 net/quic/quic_data_reader.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000371 net/quic/quic_data_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100372 net/quic/quic_data_writer.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000373 net/quic/quic_default_packet_writer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100374 net/quic/quic_fec_group.cc \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100375 net/quic/quic_flags.cc \
Ben Murdoch0529e5d2014-04-24 10:50:13 +0100376 net/quic/quic_flow_controller.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100377 net/quic/quic_framer.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000378 net/quic/quic_headers_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100379 net/quic/quic_http_stream.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100380 net/quic/quic_http_utils.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100381 net/quic/quic_packet_creator.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100382 net/quic/quic_packet_generator.cc \
383 net/quic/quic_protocol.cc \
Ben Murdoch2385ea32013-08-06 11:01:04 +0100384 net/quic/quic_received_packet_manager.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100385 net/quic/quic_reliable_client_stream.cc \
Ben Murdoch558790d2013-07-30 15:19:42 +0100386 net/quic/quic_sent_entropy_manager.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100387 net/quic/quic_sent_packet_manager.cc \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100388 net/quic/quic_server_id.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100389 net/quic/quic_session.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000390 net/quic/quic_socket_address_coder.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100391 net/quic/quic_stream_factory.cc \
392 net/quic/quic_stream_sequencer.cc \
393 net/quic/quic_time.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000394 net/quic/quic_unacked_packet_map.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100395 net/quic/quic_utils.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000396 net/quic/quic_write_blocked_list.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100397 net/quic/reliable_quic_stream.cc \
398 net/quic/spdy_utils.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100399 net/socket/client_socket_factory.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100400 net/socket/client_socket_pool.cc \
401 net/socket/client_socket_pool_base.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100402 net/socket/client_socket_pool_manager.cc \
403 net/socket/client_socket_pool_manager_impl.cc \
Torne (Richard Coles)424c4d72013-08-30 15:14:49 +0100404 net/socket/socket_descriptor.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100405 net/socket/socket_net_log_params.cc \
406 net/socket/socks5_client_socket.cc \
407 net/socket/socks_client_socket.cc \
408 net/socket/socks_client_socket_pool.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100409 net/socket/ssl_server_socket_openssl.cc \
410 net/socket/stream_listen_socket.cc \
411 net/socket/stream_socket.cc \
412 net/socket/tcp_client_socket.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100413 net/socket/tcp_listen_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100414 net/socket/tcp_server_socket.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100415 net/socket/tcp_socket.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100416 net/socket/tcp_socket_libevent.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100417 net/socket/transport_client_socket_pool.cc \
418 net/socket/unix_domain_socket_posix.cc \
419 net/socket_stream/socket_stream.cc \
420 net/socket_stream/socket_stream_job.cc \
421 net/socket_stream/socket_stream_job_manager.cc \
422 net/socket_stream/socket_stream_metrics.cc \
423 net/spdy/buffered_spdy_framer.cc \
Bo Liu5c02ac12014-05-01 10:37:37 -0700424 net/spdy/fuzzing/hpack_fuzz_util.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000425 net/spdy/hpack_constants.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000426 net/spdy/hpack_decoder.cc \
427 net/spdy/hpack_encoder.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000428 net/spdy/hpack_entry.cc \
429 net/spdy/hpack_header_table.cc \
Bo Liu5c02ac12014-05-01 10:37:37 -0700430 net/spdy/hpack_huffman_aggregator.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000431 net/spdy/hpack_huffman_table.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000432 net/spdy/hpack_input_stream.cc \
433 net/spdy/hpack_output_stream.cc \
434 net/spdy/hpack_string_util.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100435 net/spdy/spdy_buffer.cc \
436 net/spdy/spdy_buffer_producer.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100437 net/spdy/spdy_frame_builder.cc \
438 net/spdy/spdy_frame_reader.cc \
439 net/spdy/spdy_framer.cc \
440 net/spdy/spdy_header_block.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000441 net/spdy/spdy_headers_block_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100442 net/spdy/spdy_http_stream.cc \
443 net/spdy/spdy_http_utils.cc \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000444 net/spdy/spdy_pinnable_buffer_piece.cc \
445 net/spdy/spdy_prefixed_buffer_reader.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100446 net/spdy/spdy_protocol.cc \
447 net/spdy/spdy_proxy_client_socket.cc \
448 net/spdy/spdy_read_queue.cc \
449 net/spdy/spdy_session.cc \
450 net/spdy/spdy_session_key.cc \
451 net/spdy/spdy_session_pool.cc \
452 net/spdy/spdy_stream.cc \
453 net/spdy/spdy_websocket_stream.cc \
454 net/spdy/spdy_write_queue.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100455 net/ssl/ssl_cipher_suite_names.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100456 net/ssl/ssl_config_service.cc \
457 net/ssl/ssl_config_service_defaults.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100458 net/udp/udp_client_socket.cc \
459 net/udp/udp_net_log_parameters.cc \
460 net/udp/udp_server_socket.cc \
461 net/udp/udp_socket_libevent.cc \
462 net/url_request/data_protocol_handler.cc \
463 net/url_request/file_protocol_handler.cc \
464 net/url_request/ftp_protocol_handler.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100465 net/url_request/static_http_user_agent_settings.cc \
466 net/url_request/url_fetcher.cc \
467 net/url_request/url_fetcher_core.cc \
468 net/url_request/url_fetcher_delegate.cc \
469 net/url_request/url_fetcher_impl.cc \
470 net/url_request/url_fetcher_response_writer.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000471 net/url_request/url_range_request_job.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100472 net/url_request/url_request.cc \
473 net/url_request/url_request_about_job.cc \
474 net/url_request/url_request_context.cc \
475 net/url_request/url_request_context_builder.cc \
476 net/url_request/url_request_context_getter.cc \
477 net/url_request/url_request_context_storage.cc \
478 net/url_request/url_request_data_job.cc \
479 net/url_request/url_request_error_job.cc \
480 net/url_request/url_request_file_dir_job.cc \
481 net/url_request/url_request_file_job.cc \
482 net/url_request/url_request_filter.cc \
483 net/url_request/url_request_ftp_job.cc \
484 net/url_request/url_request_http_job.cc \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100485 net/url_request/url_request_intercepting_job_factory.cc \
486 net/url_request/url_request_interceptor.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100487 net/url_request/url_request_job.cc \
488 net/url_request/url_request_job_factory.cc \
489 net/url_request/url_request_job_factory_impl.cc \
490 net/url_request/url_request_job_manager.cc \
491 net/url_request/url_request_netlog_params.cc \
492 net/url_request/url_request_redirect_job.cc \
493 net/url_request/url_request_simple_job.cc \
494 net/url_request/url_request_test_job.cc \
495 net/url_request/url_request_throttler_entry.cc \
496 net/url_request/url_request_throttler_header_adapter.cc \
497 net/url_request/url_request_throttler_manager.cc \
498 net/url_request/view_cache_helper.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000499 net/url_request/websocket_handshake_userdata_key.cc \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000500 net/websockets/websocket_basic_handshake_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100501 net/websockets/websocket_basic_stream.cc \
Ben Murdoch9ab55632013-07-18 11:57:30 +0100502 net/websockets/websocket_channel.cc \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000503 net/websockets/websocket_deflate_predictor_impl.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100504 net/websockets/websocket_deflate_stream.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100505 net/websockets/websocket_deflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100506 net/websockets/websocket_errors.cc \
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100507 net/websockets/websocket_extension.cc \
508 net/websockets/websocket_extension_parser.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100509 net/websockets/websocket_frame.cc \
510 net/websockets/websocket_frame_parser.cc \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100511 net/websockets/websocket_handshake_constants.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100512 net/websockets/websocket_handshake_handler.cc \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000513 net/websockets/websocket_handshake_request_info.cc \
514 net/websockets/websocket_handshake_response_info.cc \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000515 net/websockets/websocket_handshake_stream_create_helper.cc \
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100516 net/websockets/websocket_inflater.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100517 net/websockets/websocket_job.cc \
518 net/websockets/websocket_net_log_params.cc \
Ben Murdocheb525c52013-07-10 11:40:50 +0100519 net/websockets/websocket_stream.cc \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100520 net/websockets/websocket_throttle.cc
521
522
523# Flags passed to both C and C++ files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100524MY_CFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100525 -fstack-protector \
526 --param=ssp-buffer-size=4 \
527 \
528 -fno-exceptions \
529 -fno-strict-aliasing \
530 -Wall \
531 -Wno-unused-parameter \
532 -Wno-missing-field-initializers \
533 -fvisibility=hidden \
534 -pipe \
535 -fPIC \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100536 -Wno-unused-local-typedefs \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100537 -EL \
538 -mhard-float \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100539 -ffunction-sections \
540 -funwind-tables \
541 -g \
542 -fstack-protector \
543 -fno-short-enums \
544 -finline-limit=64 \
545 -Wa,--noexecstack \
546 -U_FORTIFY_SOURCE \
547 -Wno-extra \
548 -Wno-ignored-qualifiers \
549 -Wno-type-limits \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000550 -Wno-unused-but-set-variable \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100551 -Os \
552 -g \
553 -fomit-frame-pointer \
554 -fdata-sections \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000555 -ffunction-sections \
556 -funwind-tables
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100557
Ben Murdocheb525c52013-07-10 11:40:50 +0100558MY_DEFS_Debug := \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000559 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000560 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100561 '-D_FILE_OFFSET_BITS=64' \
562 '-DNO_TCMALLOC' \
563 '-DDISABLE_NACL' \
564 '-DCHROMIUM_BUILD' \
565 '-DUSE_LIBJPEG_TURBO=1' \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100566 '-DENABLE_WEBRTC=1' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100567 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100568 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100569 '-DENABLE_NEW_GAMEPAD_API=1' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000570 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
571 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100572 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100573 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000574 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000575 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100576 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
577 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
578 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
579 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
Torne (Richard Coles)0de60732014-05-15 12:16:31 +0100580 '-DVIDEO_HOLE=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 \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100610 $(gyp_shared_intermediate_dir) \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100611 $(gyp_shared_intermediate_dir)/net \
612 $(LOCAL_PATH)/third_party/openssl/openssl/include \
613 $(PWD)/frameworks/wilhelm/include \
614 $(PWD)/bionic \
615 $(PWD)/external/stlport/stlport
616
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100617
618# Flags passed to only C++ (and not C) files.
Ben Murdocheb525c52013-07-10 11:40:50 +0100619LOCAL_CPPFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100620 -fno-rtti \
621 -fno-threadsafe-statics \
622 -fvisibility-inlines-hidden \
623 -Wsign-compare \
624 -Wno-uninitialized \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100625 -Wno-non-virtual-dtor \
626 -Wno-sign-promo
627
Ben Murdocheb525c52013-07-10 11:40:50 +0100628
629# Flags passed to both C and C++ files.
630MY_CFLAGS_Release := \
631 -fstack-protector \
632 --param=ssp-buffer-size=4 \
633 \
634 -fno-exceptions \
635 -fno-strict-aliasing \
636 -Wall \
637 -Wno-unused-parameter \
638 -Wno-missing-field-initializers \
639 -fvisibility=hidden \
640 -pipe \
641 -fPIC \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100642 -Wno-unused-local-typedefs \
Ben Murdocheb525c52013-07-10 11:40:50 +0100643 -EL \
644 -mhard-float \
645 -ffunction-sections \
646 -funwind-tables \
647 -g \
648 -fstack-protector \
649 -fno-short-enums \
650 -finline-limit=64 \
651 -Wa,--noexecstack \
652 -U_FORTIFY_SOURCE \
653 -Wno-extra \
654 -Wno-ignored-qualifiers \
655 -Wno-type-limits \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000656 -Wno-unused-but-set-variable \
Ben Murdocheb525c52013-07-10 11:40:50 +0100657 -Os \
658 -fno-ident \
659 -fdata-sections \
660 -ffunction-sections \
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000661 -fomit-frame-pointer \
662 -funwind-tables
Ben Murdocheb525c52013-07-10 11:40:50 +0100663
664MY_DEFS_Release := \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000665 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000666 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100667 '-D_FILE_OFFSET_BITS=64' \
668 '-DNO_TCMALLOC' \
669 '-DDISABLE_NACL' \
670 '-DCHROMIUM_BUILD' \
671 '-DUSE_LIBJPEG_TURBO=1' \
Ben Murdoche5d81f52014-04-03 12:29:45 +0100672 '-DENABLE_WEBRTC=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100673 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100674 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100675 '-DENABLE_NEW_GAMEPAD_API=1' \
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +0000676 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
677 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100678 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100679 '-DCLD_VERSION=1' \
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000680 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000681 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100682 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
683 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
684 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
685 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
Torne (Richard Coles)0de60732014-05-15 12:16:31 +0100686 '-DVIDEO_HOLE=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100687 '-DNET_IMPLEMENTATION' \
688 '-DPOSIX_AVOID_MMAP' \
689 '-DENABLE_BUILT_IN_DNS' \
690 '-DU_USING_ICU_NAMESPACE=0' \
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000691 '-DUSE_OPENSSL=1' \
Ben Murdocheffb81e2014-03-31 11:51:25 +0100692 '-DUSE_OPENSSL_CERTS=1' \
Ben Murdocheb525c52013-07-10 11:40:50 +0100693 '-D__STDC_CONSTANT_MACROS' \
694 '-D__STDC_FORMAT_MACROS' \
695 '-DANDROID' \
696 '-D__GNU_SOURCE=1' \
697 '-DUSE_STLPORT=1' \
698 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
699 '-DCHROME_BUILD_ID=""' \
700 '-DNDEBUG' \
701 '-DNVALGRIND' \
702 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
703 '-D_FORTIFY_SOURCE=2'
704
705
706# Include paths placed before CFLAGS/CPPFLAGS
707LOCAL_C_INCLUDES_Release := \
Ben Murdocheb525c52013-07-10 11:40:50 +0100708 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
Ben Murdochbbcdd452013-07-25 10:06:34 +0100709 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
710 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
711 $(LOCAL_PATH)/third_party/openssl \
Ben Murdocheb525c52013-07-10 11:40:50 +0100712 $(LOCAL_PATH) \
713 $(LOCAL_PATH)/sdch/open-vcdiff/src \
714 $(PWD)/external/icu4c/common \
715 $(PWD)/external/icu4c/i18n \
716 $(LOCAL_PATH)/third_party/zlib \
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100717 $(gyp_shared_intermediate_dir) \
Ben Murdocheb525c52013-07-10 11:40:50 +0100718 $(gyp_shared_intermediate_dir)/net \
719 $(LOCAL_PATH)/third_party/openssl/openssl/include \
720 $(PWD)/frameworks/wilhelm/include \
721 $(PWD)/bionic \
722 $(PWD)/external/stlport/stlport
723
724
725# Flags passed to only C++ (and not C) files.
726LOCAL_CPPFLAGS_Release := \
727 -fno-rtti \
728 -fno-threadsafe-statics \
729 -fvisibility-inlines-hidden \
730 -Wsign-compare \
731 -Wno-uninitialized \
Ben Murdocheb525c52013-07-10 11:40:50 +0100732 -Wno-non-virtual-dtor \
733 -Wno-sign-promo
734
735
736LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
737LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
738LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000739LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100740### Rules for final target.
741
Ben Murdocheb525c52013-07-10 11:40:50 +0100742LOCAL_LDFLAGS_Debug := \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100743 -Wl,-z,now \
744 -Wl,-z,relro \
Ben Murdochc5cede92014-04-10 11:22:14 +0100745 -Wl,--fatal-warnings \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100746 -Wl,-z,noexecstack \
747 -fPIC \
748 -EL \
749 -Wl,--no-keep-memory \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100750 -nostdlib \
751 -Wl,--no-undefined \
752 -Wl,--exclude-libs=ALL \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100753 -Wl,--warn-shared-textrel \
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100754 -Wl,-O1 \
755 -Wl,--as-needed
756
757
Ben Murdocheb525c52013-07-10 11:40:50 +0100758LOCAL_LDFLAGS_Release := \
759 -Wl,-z,now \
760 -Wl,-z,relro \
Ben Murdochc5cede92014-04-10 11:22:14 +0100761 -Wl,--fatal-warnings \
Ben Murdocheb525c52013-07-10 11:40:50 +0100762 -Wl,-z,noexecstack \
763 -fPIC \
764 -EL \
765 -Wl,--no-keep-memory \
766 -nostdlib \
767 -Wl,--no-undefined \
768 -Wl,--exclude-libs=ALL \
769 -Wl,-O1 \
770 -Wl,--as-needed \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100771 -Wl,--gc-sections \
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100772 -Wl,--warn-shared-textrel
Ben Murdocheb525c52013-07-10 11:40:50 +0100773
774
775LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
776
Torne (Richard Coles)5e3f23d2013-06-11 16:24:11 +0100777LOCAL_STATIC_LIBRARIES :=
778
779# Enable grouping to fix circular references
780LOCAL_GROUP_STATIC_LIBRARIES := true
781
782LOCAL_SHARED_LIBRARIES := \
783 libstlport \
784 libdl
785
786# Add target alias to "gyp_all_modules" target.
787.PHONY: gyp_all_modules
788gyp_all_modules: net_net_gyp
789
790# Alias gyp target name.
791.PHONY: net
792net: net_net_gyp
793
794include $(BUILD_STATIC_LIBRARY)