content_child.target.darwin-arm.mk revision 58537e28ecd584eab876aee8be7156509866d23a
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_support_glue_child_gyp)/webkit_support_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 76 77# Flags passed to both C and C++ files. 78MY_CFLAGS_Debug := \ 79 -fstack-protector \ 80 --param=ssp-buffer-size=4 \ 81 -Werror \ 82 -fno-exceptions \ 83 -fno-strict-aliasing \ 84 -Wall \ 85 -Wno-unused-parameter \ 86 -Wno-missing-field-initializers \ 87 -fvisibility=hidden \ 88 -pipe \ 89 -fPIC \ 90 -fno-tree-sra \ 91 -fuse-ld=gold \ 92 -Wno-psabi \ 93 -ffunction-sections \ 94 -funwind-tables \ 95 -g \ 96 -fstack-protector \ 97 -fno-short-enums \ 98 -finline-limit=64 \ 99 -Wa,--noexecstack \ 100 -U_FORTIFY_SOURCE \ 101 -Wno-extra \ 102 -Wno-ignored-qualifiers \ 103 -Wno-type-limits \ 104 -Os \ 105 -g \ 106 -fomit-frame-pointer \ 107 -fdata-sections \ 108 -ffunction-sections 109 110MY_DEFS_Debug := \ 111 '-DCONTENT_IMPLEMENTATION' \ 112 '-DANGLE_DX11' \ 113 '-DWTF_VECTOR_INITIAL_SIZE=16' \ 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 '-DENABLE_GPU=1' \ 124 '-DUSE_OPENSSL=1' \ 125 '-DENABLE_EGLIMAGE=1' \ 126 '-DCLD_VERSION=1' \ 127 '-DSK_ENABLE_INST_COUNT=0' \ 128 '-DSK_SUPPORT_GPU=1' \ 129 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 130 '-DSK_BUILD_FOR_ANDROID' \ 131 '-DUSE_CHROMIUM_SKIA' \ 132 '-DSK_USE_POSIX_THREADS' \ 133 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 134 '-DPOSIX_AVOID_MMAP' \ 135 '-DU_USING_ICU_NAMESPACE=0' \ 136 '-D__STDC_CONSTANT_MACROS' \ 137 '-D__STDC_FORMAT_MACROS' \ 138 '-DANDROID' \ 139 '-D__GNU_SOURCE=1' \ 140 '-DUSE_STLPORT=1' \ 141 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 142 '-DCHROME_BUILD_ID=""' \ 143 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 144 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 145 '-D_DEBUG' 146 147 148# Include paths placed before CFLAGS/CPPFLAGS 149LOCAL_C_INCLUDES_Debug := \ 150 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 151 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 152 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 153 $(LOCAL_PATH) \ 154 $(LOCAL_PATH)/third_party/khronos \ 155 $(LOCAL_PATH)/gpu \ 156 $(gyp_shared_intermediate_dir)/content \ 157 $(LOCAL_PATH)/third_party/skia/src/core \ 158 $(LOCAL_PATH)/skia/config \ 159 $(LOCAL_PATH)/third_party/skia/include/config \ 160 $(LOCAL_PATH)/third_party/skia/include/core \ 161 $(LOCAL_PATH)/third_party/skia/include/effects \ 162 $(LOCAL_PATH)/third_party/skia/include/pdf \ 163 $(LOCAL_PATH)/third_party/skia/include/gpu \ 164 $(LOCAL_PATH)/third_party/skia/include/lazy \ 165 $(LOCAL_PATH)/third_party/skia/include/pathops \ 166 $(LOCAL_PATH)/third_party/skia/include/pipe \ 167 $(LOCAL_PATH)/third_party/skia/include/ports \ 168 $(LOCAL_PATH)/third_party/skia/include/utils \ 169 $(LOCAL_PATH)/skia/ext \ 170 $(PWD)/external/icu4c/common \ 171 $(PWD)/external/icu4c/i18n \ 172 $(LOCAL_PATH)/third_party/WebKit \ 173 $(LOCAL_PATH)/v8/include \ 174 $(LOCAL_PATH)/third_party/npapi \ 175 $(LOCAL_PATH)/third_party/npapi/bindings \ 176 $(PWD)/frameworks/wilhelm/include \ 177 $(PWD)/bionic \ 178 $(PWD)/external/stlport/stlport 179 180 181# Flags passed to only C++ (and not C) files. 182LOCAL_CPPFLAGS_Debug := \ 183 -fno-rtti \ 184 -fno-threadsafe-statics \ 185 -fvisibility-inlines-hidden \ 186 -Wsign-compare \ 187 -Wno-abi \ 188 -Wno-error=c++0x-compat \ 189 -Wno-non-virtual-dtor \ 190 -Wno-sign-promo 191 192 193# Flags passed to both C and C++ files. 194MY_CFLAGS_Release := \ 195 -fstack-protector \ 196 --param=ssp-buffer-size=4 \ 197 -Werror \ 198 -fno-exceptions \ 199 -fno-strict-aliasing \ 200 -Wall \ 201 -Wno-unused-parameter \ 202 -Wno-missing-field-initializers \ 203 -fvisibility=hidden \ 204 -pipe \ 205 -fPIC \ 206 -fno-tree-sra \ 207 -fuse-ld=gold \ 208 -Wno-psabi \ 209 -ffunction-sections \ 210 -funwind-tables \ 211 -g \ 212 -fstack-protector \ 213 -fno-short-enums \ 214 -finline-limit=64 \ 215 -Wa,--noexecstack \ 216 -U_FORTIFY_SOURCE \ 217 -Wno-extra \ 218 -Wno-ignored-qualifiers \ 219 -Wno-type-limits \ 220 -Os \ 221 -fno-ident \ 222 -fdata-sections \ 223 -ffunction-sections \ 224 -fomit-frame-pointer 225 226MY_DEFS_Release := \ 227 '-DCONTENT_IMPLEMENTATION' \ 228 '-DANGLE_DX11' \ 229 '-DWTF_VECTOR_INITIAL_SIZE=16' \ 230 '-D_FILE_OFFSET_BITS=64' \ 231 '-DNO_TCMALLOC' \ 232 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 233 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 234 '-DDISABLE_NACL' \ 235 '-DCHROMIUM_BUILD' \ 236 '-DUSE_LIBJPEG_TURBO=1' \ 237 '-DUSE_PROPRIETARY_CODECS' \ 238 '-DENABLE_CONFIGURATION_POLICY' \ 239 '-DENABLE_GPU=1' \ 240 '-DUSE_OPENSSL=1' \ 241 '-DENABLE_EGLIMAGE=1' \ 242 '-DCLD_VERSION=1' \ 243 '-DSK_ENABLE_INST_COUNT=0' \ 244 '-DSK_SUPPORT_GPU=1' \ 245 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 246 '-DSK_BUILD_FOR_ANDROID' \ 247 '-DUSE_CHROMIUM_SKIA' \ 248 '-DSK_USE_POSIX_THREADS' \ 249 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 250 '-DPOSIX_AVOID_MMAP' \ 251 '-DU_USING_ICU_NAMESPACE=0' \ 252 '-D__STDC_CONSTANT_MACROS' \ 253 '-D__STDC_FORMAT_MACROS' \ 254 '-DANDROID' \ 255 '-D__GNU_SOURCE=1' \ 256 '-DUSE_STLPORT=1' \ 257 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 258 '-DCHROME_BUILD_ID=""' \ 259 '-DNDEBUG' \ 260 '-DNVALGRIND' \ 261 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 262 '-D_FORTIFY_SOURCE=2' 263 264 265# Include paths placed before CFLAGS/CPPFLAGS 266LOCAL_C_INCLUDES_Release := \ 267 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 268 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 269 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 270 $(LOCAL_PATH) \ 271 $(LOCAL_PATH)/third_party/khronos \ 272 $(LOCAL_PATH)/gpu \ 273 $(gyp_shared_intermediate_dir)/content \ 274 $(LOCAL_PATH)/third_party/skia/src/core \ 275 $(LOCAL_PATH)/skia/config \ 276 $(LOCAL_PATH)/third_party/skia/include/config \ 277 $(LOCAL_PATH)/third_party/skia/include/core \ 278 $(LOCAL_PATH)/third_party/skia/include/effects \ 279 $(LOCAL_PATH)/third_party/skia/include/pdf \ 280 $(LOCAL_PATH)/third_party/skia/include/gpu \ 281 $(LOCAL_PATH)/third_party/skia/include/lazy \ 282 $(LOCAL_PATH)/third_party/skia/include/pathops \ 283 $(LOCAL_PATH)/third_party/skia/include/pipe \ 284 $(LOCAL_PATH)/third_party/skia/include/ports \ 285 $(LOCAL_PATH)/third_party/skia/include/utils \ 286 $(LOCAL_PATH)/skia/ext \ 287 $(PWD)/external/icu4c/common \ 288 $(PWD)/external/icu4c/i18n \ 289 $(LOCAL_PATH)/third_party/WebKit \ 290 $(LOCAL_PATH)/v8/include \ 291 $(LOCAL_PATH)/third_party/npapi \ 292 $(LOCAL_PATH)/third_party/npapi/bindings \ 293 $(PWD)/frameworks/wilhelm/include \ 294 $(PWD)/bionic \ 295 $(PWD)/external/stlport/stlport 296 297 298# Flags passed to only C++ (and not C) files. 299LOCAL_CPPFLAGS_Release := \ 300 -fno-rtti \ 301 -fno-threadsafe-statics \ 302 -fvisibility-inlines-hidden \ 303 -Wsign-compare \ 304 -Wno-abi \ 305 -Wno-error=c++0x-compat \ 306 -Wno-non-virtual-dtor \ 307 -Wno-sign-promo 308 309 310LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 311LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 312LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 313### Rules for final target. 314 315LOCAL_LDFLAGS_Debug := \ 316 -Wl,-z,now \ 317 -Wl,-z,relro \ 318 -Wl,-z,noexecstack \ 319 -fPIC \ 320 -Wl,-z,relro \ 321 -Wl,-z,now \ 322 -fuse-ld=gold \ 323 -nostdlib \ 324 -Wl,--no-undefined \ 325 -Wl,--exclude-libs=ALL \ 326 -Wl,--icf=safe \ 327 -Wl,--fatal-warnings \ 328 -Wl,--gc-sections \ 329 -Wl,--warn-shared-textrel \ 330 -Wl,-O1 \ 331 -Wl,--as-needed 332 333 334LOCAL_LDFLAGS_Release := \ 335 -Wl,-z,now \ 336 -Wl,-z,relro \ 337 -Wl,-z,noexecstack \ 338 -fPIC \ 339 -Wl,-z,relro \ 340 -Wl,-z,now \ 341 -fuse-ld=gold \ 342 -nostdlib \ 343 -Wl,--no-undefined \ 344 -Wl,--exclude-libs=ALL \ 345 -Wl,--icf=safe \ 346 -Wl,-O1 \ 347 -Wl,--as-needed \ 348 -Wl,--gc-sections \ 349 -Wl,--fatal-warnings \ 350 -Wl,--warn-shared-textrel 351 352 353LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 354 355LOCAL_STATIC_LIBRARIES := \ 356 cpufeatures \ 357 skia_skia_library_gyp \ 358 ui_ui_gyp \ 359 webkit_support_glue_child_gyp 360 361# Enable grouping to fix circular references 362LOCAL_GROUP_STATIC_LIBRARIES := true 363 364LOCAL_SHARED_LIBRARIES := \ 365 libstlport \ 366 libdl 367 368# Add target alias to "gyp_all_modules" target. 369.PHONY: gyp_all_modules 370gyp_all_modules: content_content_child_gyp 371 372# Alias gyp target name. 373.PHONY: content_child 374content_child: content_content_child_gyp 375 376include $(BUILD_STATIC_LIBRARY) 377