1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := content_content_common_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 17 $(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \ 18 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp)/ui_gl_gl_gyp.a \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_glue_glue_gyp)/webkit_glue_glue_gyp.a \ 21 $(call intermediates-dir-for,GYP,content_content_jni_headers_gyp)/content_jni_headers.stamp \ 22 $(call intermediates-dir-for,GYP,content_common_aidl_gyp)/common_aidl.stamp 23 24GYP_GENERATED_OUTPUTS := 25 26# Make sure our deps and generated files are built first. 27LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 28 29LOCAL_CPP_EXTENSION := .cc 30LOCAL_GENERATED_SOURCES := 31 32GYP_COPIED_SOURCE_ORIGIN_DIRS := 33 34LOCAL_SRC_FILES := \ 35 content/public/common/child_process_host_delegate.cc \ 36 content/public/common/color_suggestion.cc \ 37 content/public/common/content_constants.cc \ 38 content/public/common/content_switches.cc \ 39 content/public/common/context_menu_params.cc \ 40 content/public/common/drop_data.cc \ 41 content/public/common/favicon_url.cc \ 42 content/public/common/file_chooser_params.cc \ 43 content/public/common/frame_navigate_params.cc \ 44 content/public/common/geoposition.cc \ 45 content/public/common/gpu_memory_stats.cc \ 46 content/public/common/media_stream_request.cc \ 47 content/public/common/menu_item.cc \ 48 content/public/common/page_state.cc \ 49 content/public/common/page_transition_types.cc \ 50 content/public/common/pepper_plugin_info.cc \ 51 content/public/common/renderer_preferences.cc \ 52 content/public/common/show_desktop_notification_params.cc \ 53 content/public/common/signed_certificate_timestamp_id_and_status.cc \ 54 content/public/common/speech_recognition_result.cc \ 55 content/public/common/ssl_status.cc \ 56 content/public/common/url_constants.cc \ 57 content/public/common/url_utils.cc \ 58 content/public/common/webplugininfo.cc \ 59 content/common/accessibility_node_data.cc \ 60 content/common/android/address_parser.cc \ 61 content/common/android/address_parser_internal.cc \ 62 content/common/android/common_jni_registrar.cc \ 63 content/common/android/device_telephony_info.cc \ 64 content/common/android/hash_set.cc \ 65 content/common/android/surface_texture_peer.cc \ 66 content/common/android/trace_event_binding.cc \ 67 content/common/browser_plugin/browser_plugin_constants.cc \ 68 content/common/browser_rendering_stats.cc \ 69 content/common/cc_messages.cc \ 70 content/common/child_process_host_impl.cc \ 71 content/common/clipboard_messages.cc \ 72 content/common/content_constants_internal.cc \ 73 content/common/content_ipc_logging.cc \ 74 content/common/content_message_generator.cc \ 75 content/common/content_param_traits.cc \ 76 content/common/content_paths.cc \ 77 content/common/cookie_data.cc \ 78 content/common/dom_storage/dom_storage_map.cc \ 79 content/common/font_list.cc \ 80 content/common/font_list_android.cc \ 81 content/common/gamepad_user_gesture.cc \ 82 content/common/gpu/client/command_buffer_proxy_impl.cc \ 83 content/common/gpu/client/context_provider_command_buffer.cc \ 84 content/common/gpu/client/gl_helper.cc \ 85 content/common/gpu/client/gl_helper_scaling.cc \ 86 content/common/gpu/client/gpu_channel_host.cc \ 87 content/common/gpu/client/gpu_memory_buffer_impl.cc \ 88 content/common/gpu/client/gpu_memory_buffer_impl_android.cc \ 89 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc \ 90 content/common/gpu/client/gpu_video_decode_accelerator_host.cc \ 91 content/common/gpu/client/gpu_video_encode_accelerator_host.cc \ 92 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc \ 93 content/common/gpu/devtools_gpu_agent.cc \ 94 content/common/gpu/devtools_gpu_instrumentation.cc \ 95 content/common/gpu/gpu_channel.cc \ 96 content/common/gpu/gpu_channel_manager.cc \ 97 content/common/gpu/gpu_command_buffer_stub.cc \ 98 content/common/gpu/gpu_memory_manager.cc \ 99 content/common/gpu/gpu_memory_manager_client.cc \ 100 content/common/gpu/gpu_memory_tracking.cc \ 101 content/common/gpu/gpu_rendering_stats.cc \ 102 content/common/gpu/gpu_surface_lookup.cc \ 103 content/common/gpu/image_transport_surface.cc \ 104 content/common/gpu/image_transport_surface_android.cc \ 105 content/common/gpu/media/gpu_video_decode_accelerator.cc \ 106 content/common/gpu/media/gpu_video_encode_accelerator.cc \ 107 content/common/gpu/media/h264_bit_reader.cc \ 108 content/common/gpu/media/h264_parser.cc \ 109 content/common/gpu/media/video_decode_accelerator_impl.cc \ 110 content/common/gpu/stream_texture_manager_android.cc \ 111 content/common/gpu/sync_point_manager.cc \ 112 content/common/gpu/texture_image_transport_surface.cc \ 113 content/common/indexed_db/indexed_db_key.cc \ 114 content/common/indexed_db/indexed_db_key_path.cc \ 115 content/common/indexed_db/indexed_db_key_range.cc \ 116 content/common/indexed_db/indexed_db_param_traits.cc \ 117 content/common/input/input_event.cc \ 118 content/common/input/input_param_traits.cc \ 119 content/common/input/scoped_web_input_event.cc \ 120 content/common/input/synthetic_gesture_packet.cc \ 121 content/common/input/synthetic_gesture_params.cc \ 122 content/common/input/synthetic_pinch_gesture_params.cc \ 123 content/common/input/synthetic_smooth_scroll_gesture_params.cc \ 124 content/common/input/synthetic_tap_gesture_params.cc \ 125 content/common/input/synthetic_web_input_event_builders.cc \ 126 content/common/input/web_input_event_traits.cc \ 127 content/common/inter_process_time_ticks_converter.cc \ 128 content/common/media/media_param_traits.cc \ 129 content/common/media/media_stream_options.cc \ 130 content/common/message_router.cc \ 131 content/common/net/url_fetcher.cc \ 132 content/common/net/url_request_user_data.cc \ 133 content/common/one_writer_seqlock.cc \ 134 content/common/page_state_serialization.cc \ 135 content/common/page_zoom.cc \ 136 content/common/pepper_renderer_instance_data.cc \ 137 content/common/plugin_list.cc \ 138 content/common/plugin_list_posix.cc \ 139 content/common/process_type.cc \ 140 content/common/resource_messages.cc \ 141 content/common/savable_url_schemes.cc \ 142 content/common/set_process_title.cc \ 143 content/common/socket_stream_handle_data.cc \ 144 content/common/ssl_status_serialization.cc \ 145 content/common/swapped_out_messages.cc \ 146 content/common/url_schemes.cc \ 147 content/common/webplugin_geometry.cc \ 148 content/common/websocket.cc \ 149 content/public/common/common_param_traits.cc \ 150 content/public/common/content_client.cc \ 151 content/public/common/window_container_type.cc \ 152 content/common/gpu/media/android_video_decode_accelerator.cc 153 154 155# Flags passed to both C and C++ files. 156MY_CFLAGS_Debug := \ 157 --param=ssp-buffer-size=4 \ 158 -Werror \ 159 -fno-exceptions \ 160 -fno-strict-aliasing \ 161 -Wall \ 162 -Wno-unused-parameter \ 163 -Wno-missing-field-initializers \ 164 -fvisibility=hidden \ 165 -pipe \ 166 -fPIC \ 167 -Wno-unknown-pragmas \ 168 -m32 \ 169 -mmmx \ 170 -march=pentium4 \ 171 -msse2 \ 172 -mfpmath=sse \ 173 -fuse-ld=gold \ 174 -ffunction-sections \ 175 -funwind-tables \ 176 -g \ 177 -fno-short-enums \ 178 -finline-limit=64 \ 179 -Wa,--noexecstack \ 180 -U_FORTIFY_SOURCE \ 181 -Wno-extra \ 182 -Wno-ignored-qualifiers \ 183 -Wno-type-limits \ 184 -fno-stack-protector \ 185 -Os \ 186 -g \ 187 -fomit-frame-pointer \ 188 -fdata-sections \ 189 -ffunction-sections 190 191MY_DEFS_Debug := \ 192 '-DCONTENT_IMPLEMENTATION' \ 193 '-DV8_DEPRECATION_WARNINGS' \ 194 '-D_FILE_OFFSET_BITS=64' \ 195 '-DNO_TCMALLOC' \ 196 '-DDISABLE_NACL' \ 197 '-DCHROMIUM_BUILD' \ 198 '-DUSE_LIBJPEG_TURBO=1' \ 199 '-DUSE_PROPRIETARY_CODECS' \ 200 '-DENABLE_CONFIGURATION_POLICY' \ 201 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 202 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 203 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 204 '-DUSE_OPENSSL=1' \ 205 '-DENABLE_EGLIMAGE=1' \ 206 '-DCLD_VERSION=1' \ 207 '-DENABLE_PRINTING=1' \ 208 '-DENABLE_MANAGED_USERS=1' \ 209 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 210 '-DU_USING_ICU_NAMESPACE=0' \ 211 '-DMEDIA_DISABLE_LIBVPX' \ 212 '-DCHROME_PNG_WRITE_SUPPORT' \ 213 '-DPNG_USER_CONFIG' \ 214 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 215 '-DUSE_SYSTEM_LIBJPEG' \ 216 '-DMESA_EGL_NO_X11_HEADERS' \ 217 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 218 '-D__STDC_CONSTANT_MACROS' \ 219 '-D__STDC_FORMAT_MACROS' \ 220 '-DANDROID' \ 221 '-D__GNU_SOURCE=1' \ 222 '-DUSE_STLPORT=1' \ 223 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 224 '-DCHROME_BUILD_ID=""' \ 225 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 226 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 227 '-D_DEBUG' 228 229 230# Include paths placed before CFLAGS/CPPFLAGS 231LOCAL_C_INCLUDES_Debug := \ 232 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 233 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 234 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 235 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 236 $(LOCAL_PATH) \ 237 $(LOCAL_PATH)/skia/config \ 238 $(LOCAL_PATH)/third_party/khronos \ 239 $(LOCAL_PATH)/gpu \ 240 $(LOCAL_PATH)/third_party/WebKit/Source \ 241 $(PWD)/external/skia/include \ 242 $(PWD)/external/skia/include/core \ 243 $(LOCAL_PATH)/third_party/skia/src/core \ 244 $(LOCAL_PATH)/skia/ext \ 245 $(PWD)/external/icu4c/common \ 246 $(PWD)/external/icu4c/i18n \ 247 $(gyp_shared_intermediate_dir)/content \ 248 $(LOCAL_PATH)/third_party/WebKit \ 249 $(LOCAL_PATH)/third_party/npapi \ 250 $(LOCAL_PATH)/third_party/npapi/bindings \ 251 $(LOCAL_PATH)/v8/include \ 252 $(LOCAL_PATH)/third_party/libpng \ 253 $(LOCAL_PATH)/third_party/zlib \ 254 $(LOCAL_PATH)/third_party/libwebp \ 255 $(LOCAL_PATH)/third_party/ots/include \ 256 $(LOCAL_PATH)/third_party/qcms/src \ 257 $(LOCAL_PATH)/third_party/iccjpeg \ 258 $(PWD)/external/jpeg \ 259 $(gyp_shared_intermediate_dir)/ui/gl \ 260 $(LOCAL_PATH)/third_party/mesa/src/include \ 261 $(PWD)/frameworks/wilhelm/include \ 262 $(PWD)/bionic \ 263 $(PWD)/external/stlport/stlport 264 265 266# Flags passed to only C++ (and not C) files. 267LOCAL_CPPFLAGS_Debug := \ 268 -fno-rtti \ 269 -fno-threadsafe-statics \ 270 -fvisibility-inlines-hidden \ 271 -Wsign-compare \ 272 -Wno-error=c++0x-compat \ 273 -Wno-non-virtual-dtor \ 274 -Wno-sign-promo 275 276 277# Flags passed to both C and C++ files. 278MY_CFLAGS_Release := \ 279 --param=ssp-buffer-size=4 \ 280 -Werror \ 281 -fno-exceptions \ 282 -fno-strict-aliasing \ 283 -Wall \ 284 -Wno-unused-parameter \ 285 -Wno-missing-field-initializers \ 286 -fvisibility=hidden \ 287 -pipe \ 288 -fPIC \ 289 -Wno-unknown-pragmas \ 290 -m32 \ 291 -mmmx \ 292 -march=pentium4 \ 293 -msse2 \ 294 -mfpmath=sse \ 295 -fuse-ld=gold \ 296 -ffunction-sections \ 297 -funwind-tables \ 298 -g \ 299 -fno-short-enums \ 300 -finline-limit=64 \ 301 -Wa,--noexecstack \ 302 -U_FORTIFY_SOURCE \ 303 -Wno-extra \ 304 -Wno-ignored-qualifiers \ 305 -Wno-type-limits \ 306 -fno-stack-protector \ 307 -Os \ 308 -fno-ident \ 309 -fdata-sections \ 310 -ffunction-sections \ 311 -fomit-frame-pointer \ 312 -fno-unwind-tables \ 313 -fno-asynchronous-unwind-tables 314 315MY_DEFS_Release := \ 316 '-DCONTENT_IMPLEMENTATION' \ 317 '-DV8_DEPRECATION_WARNINGS' \ 318 '-D_FILE_OFFSET_BITS=64' \ 319 '-DNO_TCMALLOC' \ 320 '-DDISABLE_NACL' \ 321 '-DCHROMIUM_BUILD' \ 322 '-DUSE_LIBJPEG_TURBO=1' \ 323 '-DUSE_PROPRIETARY_CODECS' \ 324 '-DENABLE_CONFIGURATION_POLICY' \ 325 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 326 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 327 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 328 '-DUSE_OPENSSL=1' \ 329 '-DENABLE_EGLIMAGE=1' \ 330 '-DCLD_VERSION=1' \ 331 '-DENABLE_PRINTING=1' \ 332 '-DENABLE_MANAGED_USERS=1' \ 333 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 334 '-DU_USING_ICU_NAMESPACE=0' \ 335 '-DMEDIA_DISABLE_LIBVPX' \ 336 '-DCHROME_PNG_WRITE_SUPPORT' \ 337 '-DPNG_USER_CONFIG' \ 338 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 339 '-DUSE_SYSTEM_LIBJPEG' \ 340 '-DMESA_EGL_NO_X11_HEADERS' \ 341 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 342 '-D__STDC_CONSTANT_MACROS' \ 343 '-D__STDC_FORMAT_MACROS' \ 344 '-DANDROID' \ 345 '-D__GNU_SOURCE=1' \ 346 '-DUSE_STLPORT=1' \ 347 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 348 '-DCHROME_BUILD_ID=""' \ 349 '-DNDEBUG' \ 350 '-DNVALGRIND' \ 351 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 352 '-D_FORTIFY_SOURCE=2' 353 354 355# Include paths placed before CFLAGS/CPPFLAGS 356LOCAL_C_INCLUDES_Release := \ 357 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 358 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 359 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 360 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 361 $(LOCAL_PATH) \ 362 $(LOCAL_PATH)/skia/config \ 363 $(LOCAL_PATH)/third_party/khronos \ 364 $(LOCAL_PATH)/gpu \ 365 $(LOCAL_PATH)/third_party/WebKit/Source \ 366 $(PWD)/external/skia/include \ 367 $(PWD)/external/skia/include/core \ 368 $(LOCAL_PATH)/third_party/skia/src/core \ 369 $(LOCAL_PATH)/skia/ext \ 370 $(PWD)/external/icu4c/common \ 371 $(PWD)/external/icu4c/i18n \ 372 $(gyp_shared_intermediate_dir)/content \ 373 $(LOCAL_PATH)/third_party/WebKit \ 374 $(LOCAL_PATH)/third_party/npapi \ 375 $(LOCAL_PATH)/third_party/npapi/bindings \ 376 $(LOCAL_PATH)/v8/include \ 377 $(LOCAL_PATH)/third_party/libpng \ 378 $(LOCAL_PATH)/third_party/zlib \ 379 $(LOCAL_PATH)/third_party/libwebp \ 380 $(LOCAL_PATH)/third_party/ots/include \ 381 $(LOCAL_PATH)/third_party/qcms/src \ 382 $(LOCAL_PATH)/third_party/iccjpeg \ 383 $(PWD)/external/jpeg \ 384 $(gyp_shared_intermediate_dir)/ui/gl \ 385 $(LOCAL_PATH)/third_party/mesa/src/include \ 386 $(PWD)/frameworks/wilhelm/include \ 387 $(PWD)/bionic \ 388 $(PWD)/external/stlport/stlport 389 390 391# Flags passed to only C++ (and not C) files. 392LOCAL_CPPFLAGS_Release := \ 393 -fno-rtti \ 394 -fno-threadsafe-statics \ 395 -fvisibility-inlines-hidden \ 396 -Wsign-compare \ 397 -Wno-error=c++0x-compat \ 398 -Wno-non-virtual-dtor \ 399 -Wno-sign-promo 400 401 402LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 403LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 404LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 405### Rules for final target. 406 407LOCAL_LDFLAGS_Debug := \ 408 -Wl,-z,now \ 409 -Wl,-z,relro \ 410 -Wl,-z,noexecstack \ 411 -fPIC \ 412 -m32 \ 413 -fuse-ld=gold \ 414 -nostdlib \ 415 -Wl,--no-undefined \ 416 -Wl,--exclude-libs=ALL \ 417 -Wl,--fatal-warnings \ 418 -Wl,--gc-sections \ 419 -Wl,--warn-shared-textrel \ 420 -Wl,-O1 \ 421 -Wl,--as-needed 422 423 424LOCAL_LDFLAGS_Release := \ 425 -Wl,-z,now \ 426 -Wl,-z,relro \ 427 -Wl,-z,noexecstack \ 428 -fPIC \ 429 -m32 \ 430 -fuse-ld=gold \ 431 -nostdlib \ 432 -Wl,--no-undefined \ 433 -Wl,--exclude-libs=ALL \ 434 -Wl,-O1 \ 435 -Wl,--as-needed \ 436 -Wl,--gc-sections \ 437 -Wl,--fatal-warnings \ 438 -Wl,--warn-shared-textrel 439 440 441LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 442 443LOCAL_STATIC_LIBRARIES := \ 444 ui_ui_gyp \ 445 ui_gl_gl_gyp \ 446 webkit_glue_glue_gyp 447 448# Enable grouping to fix circular references 449LOCAL_GROUP_STATIC_LIBRARIES := true 450 451LOCAL_SHARED_LIBRARIES := \ 452 libskia \ 453 libstlport \ 454 libdl 455 456# Add target alias to "gyp_all_modules" target. 457.PHONY: gyp_all_modules 458gyp_all_modules: content_content_common_gyp 459 460# Alias gyp target name. 461.PHONY: content_common 462content_common: content_content_common_gyp 463 464include $(BUILD_STATIC_LIBRARY) 465