content_common.target.linux-x86.mk revision 90dce4d38c5ff5333bea97d859d4e484e27edf0c
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,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a \ 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,STATIC_LIBRARIES,ui_gl_gl_gyp)/ui_gl_gl_gyp.a \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_support_glue_gyp)/webkit_support_glue_gyp.a \ 20 $(call intermediates-dir-for,GYP,content_content_jni_headers_gyp)/content_jni_headers.stamp \ 21 $(call intermediates-dir-for,GYP,content_common_aidl_gyp)/common_aidl.stamp 22 23GYP_GENERATED_OUTPUTS := 24 25# Make sure our deps and generated files are built first. 26LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 27 28LOCAL_CPP_EXTENSION := .cc 29LOCAL_GENERATED_SOURCES := 30 31GYP_COPIED_SOURCE_ORIGIN_DIRS := 32 33LOCAL_SRC_FILES := \ 34 content/public/common/child_process_host_delegate.cc \ 35 content/public/common/content_constants.cc \ 36 content/public/common/content_switches.cc \ 37 content/public/common/context_menu_params.cc \ 38 content/public/common/favicon_url.cc \ 39 content/public/common/file_chooser_params.cc \ 40 content/public/common/frame_navigate_params.cc \ 41 content/public/common/geoposition.cc \ 42 content/public/common/gpu_memory_stats.cc \ 43 content/public/common/media_stream_request.cc \ 44 content/public/common/page_state.cc \ 45 content/public/common/page_state_webkit.cc \ 46 content/public/common/page_transition_types.cc \ 47 content/public/common/password_form.cc \ 48 content/public/common/pepper_plugin_info.cc \ 49 content/public/common/renderer_preferences.cc \ 50 content/public/common/show_desktop_notification_params.cc \ 51 content/public/common/speech_recognition_result.cc \ 52 content/public/common/ssl_status.cc \ 53 content/public/common/url_constants.cc \ 54 content/public/common/url_utils.cc \ 55 content/common/accessibility_node_data.cc \ 56 content/common/android/address_parser.cc \ 57 content/common/android/address_parser_internal.cc \ 58 content/common/android/command_line.cc \ 59 content/common/android/common_jni_registrar.cc \ 60 content/common/android/device_telephony_info.cc \ 61 content/common/android/hash_set.cc \ 62 content/common/android/surface_texture_peer.cc \ 63 content/common/android/trace_event_binding.cc \ 64 content/common/appcache/appcache_backend_proxy.cc \ 65 content/common/appcache/appcache_dispatcher.cc \ 66 content/common/browser_plugin/browser_plugin_constants.cc \ 67 content/common/cc_messages.cc \ 68 content/common/child_histogram_message_filter.cc \ 69 content/common/child_process.cc \ 70 content/common/child_process_host_impl.cc \ 71 content/common/child_thread.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/database_util.cc \ 79 content/common/db_message_filter.cc \ 80 content/common/fileapi/file_system_dispatcher.cc \ 81 content/common/find_match_rect_android.cc \ 82 content/common/font_list.cc \ 83 content/common/font_list_android.cc \ 84 content/common/gamepad_seqlock.cc \ 85 content/common/gamepad_user_gesture.cc \ 86 content/common/gpu/client/command_buffer_proxy_impl.cc \ 87 content/common/gpu/client/context_provider_command_buffer.cc \ 88 content/common/gpu/client/gl_helper.cc \ 89 content/common/gpu/client/gl_helper_scaling.cc \ 90 content/common/gpu/client/gpu_channel_host.cc \ 91 content/common/gpu/client/gpu_video_decode_accelerator_host.cc \ 92 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc \ 93 content/common/gpu/gpu_channel.cc \ 94 content/common/gpu/gpu_channel_manager.cc \ 95 content/common/gpu/gpu_command_buffer_stub.cc \ 96 content/common/gpu/gpu_memory_manager.cc \ 97 content/common/gpu/gpu_memory_manager_client.cc \ 98 content/common/gpu/gpu_memory_tracking.cc \ 99 content/common/gpu/gpu_rendering_stats.cc \ 100 content/common/gpu/gpu_surface_lookup.cc \ 101 content/common/gpu/stream_texture_manager_android.cc \ 102 content/common/gpu/image_transport_surface.cc \ 103 content/common/gpu/image_transport_surface_android.cc \ 104 content/common/gpu/media/h264_bit_reader.cc \ 105 content/common/gpu/media/h264_parser.cc \ 106 content/common/gpu/media/gpu_video_decode_accelerator.cc \ 107 content/common/gpu/sync_point_manager.cc \ 108 content/common/gpu/texture_image_transport_surface.cc \ 109 content/common/indexed_db/indexed_db_key.cc \ 110 content/common/indexed_db/indexed_db_key_path.cc \ 111 content/common/indexed_db/indexed_db_key_range.cc \ 112 content/common/indexed_db/indexed_db_param_traits.cc \ 113 content/common/inter_process_time_ticks_converter.cc \ 114 content/common/media/media_param_traits.cc \ 115 content/common/media/media_stream_options.cc \ 116 content/common/message_router.cc \ 117 content/common/net/url_fetcher.cc \ 118 content/common/net/url_request_user_data.cc \ 119 content/common/page_zoom.cc \ 120 content/common/partial_circular_buffer.cc \ 121 content/common/pepper_renderer_instance_data.cc \ 122 content/common/process_type.cc \ 123 content/common/quota_dispatcher.cc \ 124 content/common/request_extra_data.cc \ 125 content/common/resource_dispatcher.cc \ 126 content/common/resource_messages.cc \ 127 content/common/sandbox_util.cc \ 128 content/common/savable_url_schemes.cc \ 129 content/common/set_process_title.cc \ 130 content/common/socket_stream_dispatcher.cc \ 131 content/common/socket_stream_handle_data.cc \ 132 content/common/ssl_status_serialization.cc \ 133 content/common/swapped_out_messages.cc \ 134 content/common/thread_safe_sender.cc \ 135 content/common/url_schemes.cc \ 136 content/common/webkitplatformsupport_impl.cc \ 137 content/common/webmessageportchannel_impl.cc \ 138 content/public/common/common_param_traits.cc \ 139 content/public/common/content_client.cc \ 140 content/public/common/window_container_type.cc \ 141 content/common/gpu/media/android_video_decode_accelerator.cc 142 143 144# Flags passed to both C and C++ files. 145MY_CFLAGS := \ 146 --param=ssp-buffer-size=4 \ 147 -Werror \ 148 -fno-exceptions \ 149 -fno-strict-aliasing \ 150 -Wall \ 151 -Wno-unused-parameter \ 152 -Wno-missing-field-initializers \ 153 -fvisibility=hidden \ 154 -pipe \ 155 -fPIC \ 156 -m32 \ 157 -mmmx \ 158 -march=pentium4 \ 159 -msse2 \ 160 -mfpmath=sse \ 161 -fuse-ld=gold \ 162 -ffunction-sections \ 163 -funwind-tables \ 164 -g \ 165 -fno-short-enums \ 166 -finline-limit=64 \ 167 -Wa,--noexecstack \ 168 -U_FORTIFY_SOURCE \ 169 -Wno-extra \ 170 -Wno-ignored-qualifiers \ 171 -Wno-type-limits \ 172 -fno-stack-protector \ 173 -Os \ 174 -g \ 175 -fomit-frame-pointer \ 176 -fdata-sections \ 177 -ffunction-sections 178 179MY_CFLAGS_C := 180 181MY_DEFS := \ 182 '-DCONTENT_IMPLEMENTATION' \ 183 '-D_FILE_OFFSET_BITS=64' \ 184 '-DUSE_LINUX_BREAKPAD' \ 185 '-DNO_TCMALLOC' \ 186 '-DDISABLE_NACL' \ 187 '-DCHROMIUM_BUILD' \ 188 '-DENABLE_DOUBLE_RESOURCE_LOAD_TIMING' \ 189 '-DUSE_LIBJPEG_TURBO=1' \ 190 '-DUSE_PROPRIETARY_CODECS' \ 191 '-DENABLE_GPU=1' \ 192 '-DUSE_OPENSSL=1' \ 193 '-DENABLE_EGLIMAGE=1' \ 194 '-DENABLE_LANGUAGE_DETECTION=1' \ 195 '-DENABLE_JAVA_BRIDGE' \ 196 '-DMEDIA_DISABLE_LIBVPX' \ 197 '-DSK_BUILD_NO_IMAGE_ENCODE' \ 198 '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ 199 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 200 '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ 201 '-DSK_ENABLE_INST_COUNT=0' \ 202 '-DSK_USE_POSIX_THREADS' \ 203 '-DSK_BUILD_FOR_ANDROID' \ 204 '-DU_USING_ICU_NAMESPACE=0' \ 205 '-D__STDC_CONSTANT_MACROS' \ 206 '-D__STDC_FORMAT_MACROS' \ 207 '-DANDROID' \ 208 '-D__GNU_SOURCE=1' \ 209 '-DUSE_STLPORT=1' \ 210 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 211 '-DCHROME_BUILD_ID=""' \ 212 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 213 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 214 '-D_DEBUG' 215 216LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) 217 218# Include paths placed before CFLAGS/CPPFLAGS 219LOCAL_C_INCLUDES := \ 220 $(LOCAL_PATH) \ 221 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 222 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 223 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 224 $(LOCAL_PATH)/third_party/khronos \ 225 $(LOCAL_PATH)/gpu \ 226 $(LOCAL_PATH)/skia/config \ 227 $(LOCAL_PATH)/third_party/skia/src/core \ 228 $(LOCAL_PATH)/third_party/skia/include/config \ 229 $(LOCAL_PATH)/third_party/skia/include/core \ 230 $(LOCAL_PATH)/third_party/skia/include/effects \ 231 $(LOCAL_PATH)/third_party/skia/include/pdf \ 232 $(LOCAL_PATH)/third_party/skia/include/gpu \ 233 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ 234 $(LOCAL_PATH)/third_party/skia/include/pathops \ 235 $(LOCAL_PATH)/third_party/skia/include/pipe \ 236 $(LOCAL_PATH)/third_party/skia/include/ports \ 237 $(LOCAL_PATH)/third_party/skia/include/utils \ 238 $(LOCAL_PATH)/skia/ext \ 239 $(PWD)/external/icu4c/common \ 240 $(PWD)/external/icu4c/i18n \ 241 $(gyp_shared_intermediate_dir)/content \ 242 $(LOCAL_PATH)/third_party/WebKit/Source/Platform/chromium \ 243 $(LOCAL_PATH)/third_party/WebKit/Source/Platform/chromium \ 244 $(LOCAL_PATH)/third_party/npapi \ 245 $(LOCAL_PATH)/third_party/npapi/bindings \ 246 $(LOCAL_PATH)/v8/include \ 247 $(gyp_shared_intermediate_dir)/ui/gl \ 248 $(LOCAL_PATH)/third_party/mesa/MesaLib/include \ 249 $(PWD)/frameworks/wilhelm/include \ 250 $(PWD)/bionic \ 251 $(PWD)/external/stlport/stlport 252 253LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) 254 255# Flags passed to only C++ (and not C) files. 256LOCAL_CPPFLAGS := \ 257 -fno-rtti \ 258 -fno-threadsafe-statics \ 259 -fvisibility-inlines-hidden \ 260 -Wsign-compare \ 261 -Wno-error=c++0x-compat \ 262 -Wno-non-virtual-dtor \ 263 -Wno-sign-promo 264 265### Rules for final target. 266 267LOCAL_LDFLAGS := \ 268 -Wl,-z,now \ 269 -Wl,-z,relro \ 270 -Wl,-z,noexecstack \ 271 -fPIC \ 272 -m32 \ 273 -fuse-ld=gold \ 274 -nostdlib \ 275 -Wl,--no-undefined \ 276 -Wl,--exclude-libs=ALL \ 277 -Wl,--gc-sections \ 278 -Wl,-O1 \ 279 -Wl,--as-needed 280 281 282LOCAL_STATIC_LIBRARIES := \ 283 skia_skia_gyp \ 284 ui_ui_gyp \ 285 ui_gl_gl_gyp \ 286 webkit_support_glue_gyp 287 288# Enable grouping to fix circular references 289LOCAL_GROUP_STATIC_LIBRARIES := true 290 291LOCAL_SHARED_LIBRARIES := \ 292 libstlport \ 293 libdl 294 295# Add target alias to "gyp_all_modules" target. 296.PHONY: gyp_all_modules 297gyp_all_modules: content_content_common_gyp 298 299# Alias gyp target name. 300.PHONY: content_common 301content_common: content_content_common_gyp 302 303include $(BUILD_STATIC_LIBRARY) 304