1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_CPP_EXTENSION := .cc 6 7 LOCAL_SRC_FILES := \ 8 base/at_exit.cc \ 9 base/atomicops_internals_x86_gcc.cc \ 10 base/base64.cc \ 11 base/base_paths.cc \ 12 base/base_paths_posix.cc \ 13 base/base_switches.cc \ 14 base/bzip2_error_handler.cc \ 15 base/cancellation_flag.cc \ 16 base/command_line.cc \ 17 base/condition_variable_posix.cc \ 18 base/crypto/rsa_private_key.cc \ 19 base/data_pack.cc \ 20 base/debug_util.cc \ 21 base/debug_util_posix.cc \ 22 base/directory_watcher_inotify.cc \ 23 base/dynamic_annotations.cc \ 24 base/event_recorder_stubs.cc \ 25 base/field_trial.cc \ 26 base/file_descriptor_shuffle.cc \ 27 base/file_path.cc \ 28 base/file_util.cc \ 29 base/file_util_linux.cc \ 30 base/file_util_posix.cc \ 31 base/global_descriptors_posix.cc \ 32 base/histogram.cc \ 33 base/hmac_nss.o \ 34 base/i18n/file_util_icu.cc \ 35 base/i18n/icu_string_conversions.cc \ 36 base/i18n/icu_util.cc \ 37 base/i18n/number_formatting.cc \ 38 base/i18n/time_formatting.cc \ 39 base/i18n/word_iterator.cc \ 40 base/json/json_reader.cc \ 41 base/json/json_writer.cc \ 42 base/json/string_escape.cc \ 43 base/lazy_instance.cc \ 44 base/linux_util.cc \ 45 base/lock.cc \ 46 base/lock_impl_posix.cc \ 47 base/logging.cc \ 48 base/md5.cc \ 49 base/memory_debug.cc \ 50 base/message_loop.cc \ 51 base/message_pump_default.cc \ 52 base/message_pump_libevent.cc \ 53 base/mime_util_linux.cc \ 54 base/native_library_linux.cc \ 55 base/non_thread_safe.cc \ 56 base/path_service.cc \ 57 base/pickle.cc \ 58 base/platform_file_posix.cc \ 59 base/platform_thread_posix.cc \ 60 base/process_linux.cc \ 61 base/process_posix.cc \ 62 base/process_util_linux.cc \ 63 base/process_util_posix.cc \ 64 base/profiler.cc \ 65 base/rand_util.cc \ 66 base/rand_util_posix.cc \ 67 base/ref_counted.cc \ 68 base/safe_strerror_posix.cc \ 69 base/scoped_temp_dir.cc \ 70 base/setproctitle_linux.c \ 71 base/sha1.cc \ 72 base/sha2.cc \ 73 base/shared_memory_posix.cc \ 74 base/simple_thread.cc \ 75 base/stats_table.cc \ 76 base/string16.cc \ 77 base/string_piece.cc \ 78 base/string_split.cc \ 79 base/string_util.cc \ 80 base/sync_socket_posix.cc \ 81 base/sys_info_linux.cc \ 82 base/sys_info_posix.cc \ 83 base/sys_string_conversions_linux.cc \ 84 base/third_party/dmg_fp/dtoa.cc \ 85 base/third_party/dmg_fp/g_fmt.cc \ 86 base/third_party/icu/icu_utf.cc \ 87 base/third_party/nspr/prtime.cc \ 88 base/third_party/nss/sha512.cc \ 89 base/third_party/xdg_mime/xdgmime.c \ 90 base/third_party/xdg_mime/xdgmimealias.c \ 91 base/third_party/xdg_mime/xdgmimecache.c \ 92 base/third_party/xdg_mime/xdgmimeglob.c \ 93 base/third_party/xdg_mime/xdgmimeicon.c \ 94 base/third_party/xdg_mime/xdgmimeint.c \ 95 base/third_party/xdg_mime/xdgmimemagic.c \ 96 base/third_party/xdg_mime/xdgmimeparent.c \ 97 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc \ 98 base/thread.cc \ 99 base/thread_collision_warner.cc \ 100 base/thread_local_posix.cc \ 101 base/thread_local_storage_posix.cc \ 102 base/time.cc \ 103 base/time_posix.cc \ 104 base/timer.cc \ 105 base/trace_event.cc \ 106 base/tracked.cc \ 107 base/tracked_objects.cc \ 108 base/unix_domain_socket_posix.cc \ 109 base/utf_offset_string_conversions.cc \ 110 base/utf_string_conversion_utils.cc \ 111 base/utf_string_conversions.cc \ 112 base/values.cc \ 113 base/version.cc \ 114 base/waitable_event_posix.cc \ 115 base/waitable_event_watcher_posix.cc \ 116 base/watchdog.cc \ 117 base/worker_pool_linux.cc \ 118 \ 119 googleurl/src/gurl.cc \ 120 googleurl/src/url_canon_etc.cc \ 121 googleurl/src/url_canon_fileurl.cc \ 122 googleurl/src/url_canon_host.cc \ 123 googleurl/src/url_canon_icu.cc \ 124 googleurl/src/url_canon_internal.cc \ 125 googleurl/src/url_canon_ip.cc \ 126 googleurl/src/url_canon_mailtourl.cc \ 127 googleurl/src/url_canon_path.cc \ 128 googleurl/src/url_canon_pathurl.cc \ 129 googleurl/src/url_canon_query.cc \ 130 googleurl/src/url_canon_relative.cc \ 131 googleurl/src/url_canon_stdurl.cc \ 132 googleurl/src/url_parse.cc \ 133 googleurl/src/url_parse_file.cc \ 134 googleurl/src/url_util.cc \ 135 \ 136 net/base/address_list.cc \ 137 net/base/cert_status_flags.cc \ 138 net/base/connection_type_histograms.cc \ 139 net/base/cookie_monster.cc \ 140 net/base/data_url.cc \ 141 net/base/directory_lister.cc \ 142 net/base/dns_util.cc \ 143 net/base/escape.cc \ 144 net/base/file_stream_posix.cc \ 145 net/base/filter.cc \ 146 net/base/fixed_host_resolver.cc \ 147 net/base/gzip_filter.cc \ 148 net/base/gzip_header.cc \ 149 net/base/host_cache.cc \ 150 net/base/host_resolver.cc \ 151 net/base/host_resolver_impl.cc \ 152 net/base/host_resolver_proc.cc \ 153 net/base/https_prober.cc \ 154 net/base/io_buffer.cc \ 155 net/base/listen_socket.cc \ 156 net/base/load_log.cc \ 157 net/base/load_log_util.cc \ 158 net/base/mime_sniffer.cc \ 159 net/base/mime_util.cc \ 160 net/base/mock_host_resolver.cc \ 161 net/base/net_errors.cc \ 162 net/base/net_module.cc \ 163 net/base/net_util.cc \ 164 net/base/net_util_posix.cc \ 165 net/base/network_change_notifier.cc \ 166 net/base/network_change_notifier_helper.cc \ 167 net/base/network_change_notifier_linux.cc \ 168 net/base/platform_mime_util_linux.cc \ 169 net/base/registry_controlled_domain.cc \ 170 net/base/sdch_filter.cc \ 171 net/base/sdch_manager.cc \ 172 net/base/ssl_client_auth_cache.cc \ 173 net/base/ssl_config_service.cc \ 174 net/base/static_cookie_policy.cc \ 175 net/base/telnet_server.cc \ 176 net/base/transport_security_state.cc \ 177 net/base/upload_data.cc \ 178 net/base/upload_data_stream.cc \ 179 net/base/x509_certificate.cc \ 180 net/disk_cache/addr.cc \ 181 net/disk_cache/backend_impl.cc \ 182 net/disk_cache/bitmap.cc \ 183 net/disk_cache/block_files.cc \ 184 net/disk_cache/cache_util_posix.cc \ 185 net/disk_cache/entry_impl.cc \ 186 net/disk_cache/eviction.cc \ 187 net/disk_cache/file_lock.cc \ 188 net/disk_cache/file_posix.cc \ 189 net/disk_cache/hash.cc \ 190 net/disk_cache/mapped_file_posix.cc \ 191 net/disk_cache/mem_backend_impl.cc \ 192 net/disk_cache/mem_entry_impl.cc \ 193 net/disk_cache/mem_rankings.cc \ 194 net/disk_cache/rankings.cc \ 195 net/disk_cache/sparse_control.cc \ 196 net/disk_cache/stats.cc \ 197 net/disk_cache/stats_histogram.cc \ 198 net/disk_cache/trace.cc \ 199 net/flip/flip_frame_builder.cc \ 200 net/flip/flip_framer.cc \ 201 net/flip/flip_io_buffer.cc \ 202 net/flip/flip_network_transaction.cc \ 203 net/flip/flip_session.cc \ 204 net/flip/flip_session_pool.cc \ 205 net/flip/flip_stream.cc \ 206 net/ftp/ftp_auth_cache.cc \ 207 net/ftp/ftp_ctrl_response_buffer.cc \ 208 net/ftp/ftp_directory_listing_buffer.cc \ 209 net/ftp/ftp_directory_listing_parser.cc \ 210 net/ftp/ftp_directory_listing_parser_ls.cc \ 211 net/ftp/ftp_directory_listing_parser_mlsd.cc \ 212 net/ftp/ftp_directory_listing_parser_netware.cc \ 213 net/ftp/ftp_directory_listing_parser_vms.cc \ 214 net/ftp/ftp_directory_listing_parser_windows.cc \ 215 net/ftp/ftp_network_layer.cc \ 216 net/ftp/ftp_network_transaction.cc \ 217 net/ftp/ftp_server_type_histograms.cc \ 218 net/ftp/ftp_util.cc \ 219 net/http/http_auth.cc \ 220 net/http/http_auth_cache.cc \ 221 net/http/http_auth_handler.cc \ 222 net/http/http_auth_handler_basic.cc \ 223 net/http/http_auth_handler_digest.cc \ 224 net/http/http_auth_handler_negotiate_posix.cc \ 225 net/http/http_auth_handler_ntlm.cc \ 226 net/http/http_auth_handler_ntlm_portable.cc \ 227 net/http/http_basic_stream.cc \ 228 net/http/http_byte_range.cc \ 229 net/http/http_cache.cc \ 230 net/http/http_cache_transaction.cc \ 231 net/http/http_chunked_decoder.cc \ 232 net/http/http_network_layer.cc \ 233 net/http/http_network_session.cc \ 234 net/http/http_network_transaction.cc \ 235 net/http/http_response_headers.cc \ 236 net/http/http_response_info.cc \ 237 net/http/http_stream_parser.cc \ 238 net/http/http_util.cc \ 239 net/http/http_util_icu.cc \ 240 net/http/http_vary_data.cc \ 241 net/http/md4.cc \ 242 net/http/partial_data.cc \ 243 net/proxy/init_proxy_resolver.cc \ 244 net/proxy/proxy_config.cc \ 245 net/proxy/proxy_info.cc \ 246 net/proxy/proxy_list.cc \ 247 net/proxy/proxy_resolver_js_bindings.cc \ 248 net/proxy/proxy_script_fetcher.cc \ 249 net/proxy/proxy_server.cc \ 250 net/proxy/proxy_service.cc \ 251 net/proxy/single_threaded_proxy_resolver.cc \ 252 net/socket/client_socket_factory.cc \ 253 net/socket/client_socket_handle.cc \ 254 net/socket/client_socket_pool_base.cc \ 255 net/socket/socks5_client_socket.cc \ 256 net/socket/socks_client_socket.cc \ 257 net/socket/tcp_client_socket_libevent.cc \ 258 net/socket/tcp_client_socket_pool.cc \ 259 net/socket_stream/socket_stream.cc \ 260 net/socket_stream/socket_stream_metrics.cc \ 261 net/socket_stream/socket_stream_throttle.cc \ 262 net/url_request/url_request.cc \ 263 net/url_request/url_request_about_job.cc \ 264 net/url_request/url_request_data_job.cc \ 265 net/url_request/url_request_error_job.cc \ 266 net/url_request/url_request_file_dir_job.cc \ 267 net/url_request/url_request_file_job.cc \ 268 net/url_request/url_request_filter.cc \ 269 net/url_request/url_request_http_job.cc \ 270 net/url_request/url_request_job.cc \ 271 net/url_request/url_request_job_manager.cc \ 272 net/url_request/url_request_job_metrics.cc \ 273 net/url_request/url_request_job_tracker.cc \ 274 net/url_request/url_request_new_ftp_job.cc \ 275 net/url_request/url_request_redirect_job.cc \ 276 net/url_request/url_request_simple_job.cc \ 277 net/url_request/url_request_view_net_internals_job.cc \ 278 net/url_request/view_cache_helper.cc \ 279 net/websockets/websocket.cc \ 280 net/websockets/websocket_throttle.cc \ 281 \ 282 sdch/open-vcdiff/src/addrcache.cc \ 283 sdch/open-vcdiff/src/adler32.c \ 284 sdch/open-vcdiff/src/blockhash.cc \ 285 sdch/open-vcdiff/src/codetable.cc \ 286 sdch/open-vcdiff/src/decodetable.cc \ 287 sdch/open-vcdiff/src/encodetable.cc \ 288 sdch/open-vcdiff/src/headerparser.cc \ 289 sdch/open-vcdiff/src/instruction_map.cc \ 290 sdch/open-vcdiff/src/logging.cc \ 291 sdch/open-vcdiff/src/varint_bigendian.cc \ 292 sdch/open-vcdiff/src/vcdecoder.cc \ 293 sdch/open-vcdiff/src/vcdiffengine.cc \ 294 \ 295 296 # Need to build libevent separately (possibly other libs as well) 297 #\ 298 third_party/libevent/buffer.c \ 299 third_party/libevent/devpoll.c \ 300 third_party/libevent/epoll.c \ 301 third_party/libevent/epoll_sub.c \ 302 third_party/libevent/evbuffer.c \ 303 third_party/libevent/evdns.c \ 304 third_party/libevent/event.c \ 305 third_party/libevent/event_tagging.c \ 306 third_party/libevent/evrpc.c \ 307 third_party/libevent/evutil.c \ 308 third_party/libevent/http.c \ 309 third_party/libevent/log.c \ 310 third_party/libevent/poll.c \ 311 third_party/libevent/select.c \ 312 third_party/libevent/signal.c \ 313 third_party/libevent/strlcpy.c \ 314 315 LOCAL_SRC_FILES += \ 316 third_party/zlib/contrib/minizip/ioapi.c \ 317 third_party/zlib/contrib/minizip/unzip.c \ 318 third_party/zlib/contrib/minizip/zip.c 319 320 # external/chromium/android is a directory to intercept stl headers that we do 321 # not support yet. 322 LOCAL_C_INCLUDES := \ 323 $(LOCAL_PATH)/android \ 324 $(LOCAL_PATH)/sdch/linux \ 325 $(LOCAL_PATH)/sdch/open-vcdiff/src \ 326 $(LOCAL_PATH)/third_party/libevent/compat \ 327 external/icu4c/common \ 328 external/icu4c/i18n 329 330 #include external/stlport/libstlport.mk 331 332 # include a prefix header for missing headers or definitions. 333 LOCAL_CFLAGS := -include "android/prefix.h" 334 335 LOCAL_MODULE := chromium_net 336 337 LOCAL_SHARED_LIBRARIES := libstlport 338 339 #include $(BUILD_STATIC_LIBRARY) 340