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