content_child.target.linux-mips.mk revision 4e180b6a0b4720a9b8e9e959a882386f690f08ff
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := content_content_child_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,content_content_resources_gyp)/content_resources.stamp \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 18 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 19 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_glue_glue_child_gyp)/webkit_glue_glue_child_gyp.a 21 22GYP_GENERATED_OUTPUTS := 23 24# Make sure our deps and generated files are built first. 25LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 26 27LOCAL_CPP_EXTENSION := .cc 28LOCAL_GENERATED_SOURCES := 29 30GYP_COPIED_SOURCE_ORIGIN_DIRS := 31 32LOCAL_SRC_FILES := \ 33 content/child/android/child_jni_registrar.cc \ 34 content/child/appcache/appcache_backend_proxy.cc \ 35 content/child/appcache/appcache_dispatcher.cc \ 36 content/child/appcache/appcache_frontend_impl.cc \ 37 content/child/appcache/web_application_cache_host_impl.cc \ 38 content/child/child_histogram_message_filter.cc \ 39 content/child/child_process.cc \ 40 content/child/child_resource_message_filter.cc \ 41 content/child/child_thread.cc \ 42 content/child/database_util.cc \ 43 content/child/db_message_filter.cc \ 44 content/child/fileapi/file_system_dispatcher.cc \ 45 content/child/fileapi/webfilesystem_impl.cc \ 46 content/child/fileapi/webfilewriter_base.cc \ 47 content/child/fileapi/webfilewriter_impl.cc \ 48 content/child/image_decoder.cc \ 49 content/child/indexed_db/indexed_db_dispatcher.cc \ 50 content/child/indexed_db/indexed_db_key_builders.cc \ 51 content/child/indexed_db/indexed_db_message_filter.cc \ 52 content/child/indexed_db/proxy_webidbcursor_impl.cc \ 53 content/child/indexed_db/proxy_webidbdatabase_impl.cc \ 54 content/child/indexed_db/proxy_webidbfactory_impl.cc \ 55 content/child/npapi/np_channel_base.cc \ 56 content/child/npapi/npobject_proxy.cc \ 57 content/child/npapi/npobject_stub.cc \ 58 content/child/npapi/npobject_util.cc \ 59 content/child/npapi/npruntime_util.cc \ 60 content/child/plugin_message_generator.cc \ 61 content/child/plugin_param_traits.cc \ 62 content/child/power_monitor_broadcast_source.cc \ 63 content/child/quota_dispatcher.cc \ 64 content/child/quota_message_filter.cc \ 65 content/child/request_extra_data.cc \ 66 content/child/resource_dispatcher.cc \ 67 content/child/runtime_features.cc \ 68 content/child/site_isolation_policy.cc \ 69 content/child/socket_stream_dispatcher.cc \ 70 content/child/thread_safe_sender.cc \ 71 content/child/web_database_observer_impl.cc \ 72 content/child/webblobregistry_impl.cc \ 73 content/child/webkitplatformsupport_impl.cc \ 74 content/child/webmessageportchannel_impl.cc \ 75 content/child/websocket_bridge.cc \ 76 content/child/websocket_dispatcher.cc 77 78 79# Flags passed to both C and C++ files. 80MY_CFLAGS_Debug := \ 81 -fstack-protector \ 82 --param=ssp-buffer-size=4 \ 83 \ 84 -fno-exceptions \ 85 -fno-strict-aliasing \ 86 -Wall \ 87 -Wno-unused-parameter \ 88 -Wno-missing-field-initializers \ 89 -fvisibility=hidden \ 90 -pipe \ 91 -fPIC \ 92 -EL \ 93 -mhard-float \ 94 -ffunction-sections \ 95 -funwind-tables \ 96 -g \ 97 -fstack-protector \ 98 -fno-short-enums \ 99 -finline-limit=64 \ 100 -Wa,--noexecstack \ 101 -U_FORTIFY_SOURCE \ 102 -Wno-extra \ 103 -Wno-ignored-qualifiers \ 104 -Wno-type-limits \ 105 -Os \ 106 -g \ 107 -fomit-frame-pointer \ 108 -fdata-sections \ 109 -ffunction-sections 110 111MY_DEFS_Debug := \ 112 '-DCONTENT_IMPLEMENTATION' \ 113 '-DANGLE_DX11' \ 114 '-D_FILE_OFFSET_BITS=64' \ 115 '-DNO_TCMALLOC' \ 116 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 117 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 118 '-DDISABLE_NACL' \ 119 '-DCHROMIUM_BUILD' \ 120 '-DUSE_LIBJPEG_TURBO=1' \ 121 '-DUSE_PROPRIETARY_CODECS' \ 122 '-DENABLE_CONFIGURATION_POLICY' \ 123 '-DUSE_OPENSSL=1' \ 124 '-DENABLE_EGLIMAGE=1' \ 125 '-DCLD_VERSION=1' \ 126 '-DSK_ENABLE_INST_COUNT=0' \ 127 '-DSK_SUPPORT_GPU=1' \ 128 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 129 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 130 '-DSK_BUILD_FOR_ANDROID' \ 131 '-DSK_USE_POSIX_THREADS' \ 132 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 133 '-DPOSIX_AVOID_MMAP' \ 134 '-DU_USING_ICU_NAMESPACE=0' \ 135 '-D__STDC_CONSTANT_MACROS' \ 136 '-D__STDC_FORMAT_MACROS' \ 137 '-DANDROID' \ 138 '-D__GNU_SOURCE=1' \ 139 '-DUSE_STLPORT=1' \ 140 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 141 '-DCHROME_BUILD_ID=""' \ 142 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 143 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 144 '-D_DEBUG' 145 146 147# Include paths placed before CFLAGS/CPPFLAGS 148LOCAL_C_INCLUDES_Debug := \ 149 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 150 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 151 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 152 $(LOCAL_PATH) \ 153 $(LOCAL_PATH)/third_party/khronos \ 154 $(LOCAL_PATH)/gpu \ 155 $(gyp_shared_intermediate_dir)/content \ 156 $(LOCAL_PATH)/third_party/skia/src/core \ 157 $(LOCAL_PATH)/skia/config \ 158 $(LOCAL_PATH)/third_party/skia/include/config \ 159 $(LOCAL_PATH)/third_party/skia/include/core \ 160 $(LOCAL_PATH)/third_party/skia/include/effects \ 161 $(LOCAL_PATH)/third_party/skia/include/pdf \ 162 $(LOCAL_PATH)/third_party/skia/include/gpu \ 163 $(LOCAL_PATH)/third_party/skia/include/lazy \ 164 $(LOCAL_PATH)/third_party/skia/include/pathops \ 165 $(LOCAL_PATH)/third_party/skia/include/pipe \ 166 $(LOCAL_PATH)/third_party/skia/include/ports \ 167 $(LOCAL_PATH)/third_party/skia/include/utils \ 168 $(LOCAL_PATH)/skia/ext \ 169 $(PWD)/external/icu4c/common \ 170 $(PWD)/external/icu4c/i18n \ 171 $(LOCAL_PATH)/third_party/WebKit \ 172 $(LOCAL_PATH)/v8/include \ 173 $(LOCAL_PATH)/third_party/npapi \ 174 $(LOCAL_PATH)/third_party/npapi/bindings \ 175 $(PWD)/frameworks/wilhelm/include \ 176 $(PWD)/bionic \ 177 $(PWD)/external/stlport/stlport 178 179 180# Flags passed to only C++ (and not C) files. 181LOCAL_CPPFLAGS_Debug := \ 182 -fno-rtti \ 183 -fno-threadsafe-statics \ 184 -fvisibility-inlines-hidden \ 185 -Wsign-compare \ 186 -Wno-uninitialized \ 187 -Wno-error=c++0x-compat \ 188 -Wno-non-virtual-dtor \ 189 -Wno-sign-promo 190 191 192# Flags passed to both C and C++ files. 193MY_CFLAGS_Release := \ 194 -fstack-protector \ 195 --param=ssp-buffer-size=4 \ 196 \ 197 -fno-exceptions \ 198 -fno-strict-aliasing \ 199 -Wall \ 200 -Wno-unused-parameter \ 201 -Wno-missing-field-initializers \ 202 -fvisibility=hidden \ 203 -pipe \ 204 -fPIC \ 205 -EL \ 206 -mhard-float \ 207 -ffunction-sections \ 208 -funwind-tables \ 209 -g \ 210 -fstack-protector \ 211 -fno-short-enums \ 212 -finline-limit=64 \ 213 -Wa,--noexecstack \ 214 -U_FORTIFY_SOURCE \ 215 -Wno-extra \ 216 -Wno-ignored-qualifiers \ 217 -Wno-type-limits \ 218 -Os \ 219 -fno-ident \ 220 -fdata-sections \ 221 -ffunction-sections \ 222 -fomit-frame-pointer 223 224MY_DEFS_Release := \ 225 '-DCONTENT_IMPLEMENTATION' \ 226 '-DANGLE_DX11' \ 227 '-D_FILE_OFFSET_BITS=64' \ 228 '-DNO_TCMALLOC' \ 229 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 230 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 231 '-DDISABLE_NACL' \ 232 '-DCHROMIUM_BUILD' \ 233 '-DUSE_LIBJPEG_TURBO=1' \ 234 '-DUSE_PROPRIETARY_CODECS' \ 235 '-DENABLE_CONFIGURATION_POLICY' \ 236 '-DUSE_OPENSSL=1' \ 237 '-DENABLE_EGLIMAGE=1' \ 238 '-DCLD_VERSION=1' \ 239 '-DSK_ENABLE_INST_COUNT=0' \ 240 '-DSK_SUPPORT_GPU=1' \ 241 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 242 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 243 '-DSK_BUILD_FOR_ANDROID' \ 244 '-DSK_USE_POSIX_THREADS' \ 245 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 246 '-DPOSIX_AVOID_MMAP' \ 247 '-DU_USING_ICU_NAMESPACE=0' \ 248 '-D__STDC_CONSTANT_MACROS' \ 249 '-D__STDC_FORMAT_MACROS' \ 250 '-DANDROID' \ 251 '-D__GNU_SOURCE=1' \ 252 '-DUSE_STLPORT=1' \ 253 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 254 '-DCHROME_BUILD_ID=""' \ 255 '-DNDEBUG' \ 256 '-DNVALGRIND' \ 257 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 258 '-D_FORTIFY_SOURCE=2' 259 260 261# Include paths placed before CFLAGS/CPPFLAGS 262LOCAL_C_INCLUDES_Release := \ 263 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 264 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 265 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 266 $(LOCAL_PATH) \ 267 $(LOCAL_PATH)/third_party/khronos \ 268 $(LOCAL_PATH)/gpu \ 269 $(gyp_shared_intermediate_dir)/content \ 270 $(LOCAL_PATH)/third_party/skia/src/core \ 271 $(LOCAL_PATH)/skia/config \ 272 $(LOCAL_PATH)/third_party/skia/include/config \ 273 $(LOCAL_PATH)/third_party/skia/include/core \ 274 $(LOCAL_PATH)/third_party/skia/include/effects \ 275 $(LOCAL_PATH)/third_party/skia/include/pdf \ 276 $(LOCAL_PATH)/third_party/skia/include/gpu \ 277 $(LOCAL_PATH)/third_party/skia/include/lazy \ 278 $(LOCAL_PATH)/third_party/skia/include/pathops \ 279 $(LOCAL_PATH)/third_party/skia/include/pipe \ 280 $(LOCAL_PATH)/third_party/skia/include/ports \ 281 $(LOCAL_PATH)/third_party/skia/include/utils \ 282 $(LOCAL_PATH)/skia/ext \ 283 $(PWD)/external/icu4c/common \ 284 $(PWD)/external/icu4c/i18n \ 285 $(LOCAL_PATH)/third_party/WebKit \ 286 $(LOCAL_PATH)/v8/include \ 287 $(LOCAL_PATH)/third_party/npapi \ 288 $(LOCAL_PATH)/third_party/npapi/bindings \ 289 $(PWD)/frameworks/wilhelm/include \ 290 $(PWD)/bionic \ 291 $(PWD)/external/stlport/stlport 292 293 294# Flags passed to only C++ (and not C) files. 295LOCAL_CPPFLAGS_Release := \ 296 -fno-rtti \ 297 -fno-threadsafe-statics \ 298 -fvisibility-inlines-hidden \ 299 -Wsign-compare \ 300 -Wno-uninitialized \ 301 -Wno-error=c++0x-compat \ 302 -Wno-non-virtual-dtor \ 303 -Wno-sign-promo 304 305 306LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 307LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 308LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 309### Rules for final target. 310 311LOCAL_LDFLAGS_Debug := \ 312 -Wl,-z,now \ 313 -Wl,-z,relro \ 314 -Wl,-z,noexecstack \ 315 -fPIC \ 316 -EL \ 317 -Wl,--no-keep-memory \ 318 -nostdlib \ 319 -Wl,--no-undefined \ 320 -Wl,--exclude-libs=ALL \ 321 -Wl,--fatal-warnings \ 322 -Wl,--gc-sections \ 323 -Wl,--warn-shared-textrel \ 324 -Wl,-O1 \ 325 -Wl,--as-needed 326 327 328LOCAL_LDFLAGS_Release := \ 329 -Wl,-z,now \ 330 -Wl,-z,relro \ 331 -Wl,-z,noexecstack \ 332 -fPIC \ 333 -EL \ 334 -Wl,--no-keep-memory \ 335 -nostdlib \ 336 -Wl,--no-undefined \ 337 -Wl,--exclude-libs=ALL \ 338 -Wl,-O1 \ 339 -Wl,--as-needed \ 340 -Wl,--gc-sections \ 341 -Wl,--fatal-warnings \ 342 -Wl,--warn-shared-textrel 343 344 345LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 346 347LOCAL_STATIC_LIBRARIES := \ 348 cpufeatures \ 349 skia_skia_library_gyp \ 350 ui_ui_gyp \ 351 webkit_glue_glue_child_gyp 352 353# Enable grouping to fix circular references 354LOCAL_GROUP_STATIC_LIBRARIES := true 355 356LOCAL_SHARED_LIBRARIES := \ 357 libstlport \ 358 libdl 359 360# Add target alias to "gyp_all_modules" target. 361.PHONY: gyp_all_modules 362gyp_all_modules: content_content_child_gyp 363 364# Alias gyp target name. 365.PHONY: content_child 366content_child: content_content_child_gyp 367 368include $(BUILD_STATIC_LIBRARY) 369