content_child.target.darwin-x86.mk revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
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,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 15 $(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a \ 18 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp 19 20GYP_GENERATED_OUTPUTS := 21 22# Make sure our deps and generated files are built first. 23LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25LOCAL_CPP_EXTENSION := .cc 26LOCAL_GENERATED_SOURCES := 27 28GYP_COPIED_SOURCE_ORIGIN_DIRS := 29 30LOCAL_SRC_FILES := \ 31 content/child/android/child_jni_registrar.cc \ 32 content/child/appcache_backend_proxy.cc \ 33 content/child/appcache_dispatcher.cc \ 34 content/child/child_histogram_message_filter.cc \ 35 content/child/child_process.cc \ 36 content/child/child_resource_message_filter.cc \ 37 content/child/child_thread.cc \ 38 content/child/database_util.cc \ 39 content/child/fileapi/file_system_dispatcher.cc \ 40 content/child/fileapi/webfilesystem_callback_adapters.cc \ 41 content/child/fileapi/webfilesystem_impl.cc \ 42 content/child/fileapi/webfilewriter_impl.cc \ 43 content/child/indexed_db/indexed_db_dispatcher.cc \ 44 content/child/indexed_db/indexed_db_message_filter.cc \ 45 content/child/indexed_db/proxy_webidbcursor_impl.cc \ 46 content/child/indexed_db/proxy_webidbdatabase_impl.cc \ 47 content/child/indexed_db/proxy_webidbfactory_impl.cc \ 48 content/child/np_channel_base.cc \ 49 content/child/npobject_proxy.cc \ 50 content/child/npobject_stub.cc \ 51 content/child/npobject_util.cc \ 52 content/child/plugin_message_generator.cc \ 53 content/child/plugin_param_traits.cc \ 54 content/child/quota_dispatcher.cc \ 55 content/child/request_extra_data.cc \ 56 content/child/resource_dispatcher.cc \ 57 content/child/runtime_features.cc \ 58 content/child/socket_stream_dispatcher.cc \ 59 content/child/thread_safe_sender.cc \ 60 content/child/webblobregistry_impl.cc \ 61 content/child/web_database_observer_impl.cc \ 62 content/child/webkitplatformsupport_impl.cc \ 63 content/child/webmessageportchannel_impl.cc 64 65 66# Flags passed to both C and C++ files. 67MY_CFLAGS := \ 68 --param=ssp-buffer-size=4 \ 69 -Werror \ 70 -fno-exceptions \ 71 -fno-strict-aliasing \ 72 -Wall \ 73 -Wno-unused-parameter \ 74 -Wno-missing-field-initializers \ 75 -fvisibility=hidden \ 76 -pipe \ 77 -fPIC \ 78 -m32 \ 79 -mmmx \ 80 -march=pentium4 \ 81 -msse2 \ 82 -mfpmath=sse \ 83 -fuse-ld=gold \ 84 -ffunction-sections \ 85 -funwind-tables \ 86 -g \ 87 -fno-short-enums \ 88 -finline-limit=64 \ 89 -Wa,--noexecstack \ 90 -U_FORTIFY_SOURCE \ 91 -Wno-extra \ 92 -Wno-ignored-qualifiers \ 93 -Wno-type-limits \ 94 -fno-stack-protector \ 95 -Os \ 96 -g \ 97 -fomit-frame-pointer \ 98 -fdata-sections \ 99 -ffunction-sections 100 101MY_CFLAGS_C := 102 103MY_DEFS := \ 104 '-DCONTENT_IMPLEMENTATION' \ 105 '-DANGLE_DX11' \ 106 '-D_FILE_OFFSET_BITS=64' \ 107 '-DUSE_LINUX_BREAKPAD' \ 108 '-DNO_TCMALLOC' \ 109 '-DDISABLE_NACL' \ 110 '-DCHROMIUM_BUILD' \ 111 '-DUSE_LIBJPEG_TURBO=1' \ 112 '-DUSE_PROPRIETARY_CODECS' \ 113 '-DENABLE_GPU=1' \ 114 '-DUSE_OPENSSL=1' \ 115 '-DENABLE_EGLIMAGE=1' \ 116 '-DENABLE_LANGUAGE_DETECTION=1' \ 117 '-DU_USING_ICU_NAMESPACE=0' \ 118 '-DSK_BUILD_NO_IMAGE_ENCODE' \ 119 '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ 120 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 121 '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ 122 '-DSK_ENABLE_INST_COUNT=0' \ 123 '-DSK_USE_POSIX_THREADS' \ 124 '-DSK_BUILD_FOR_ANDROID' \ 125 '-D__STDC_CONSTANT_MACROS' \ 126 '-D__STDC_FORMAT_MACROS' \ 127 '-DANDROID' \ 128 '-D__GNU_SOURCE=1' \ 129 '-DUSE_STLPORT=1' \ 130 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 131 '-DCHROME_BUILD_ID=""' \ 132 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 133 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 134 '-D_DEBUG' 135 136LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) 137 138# Include paths placed before CFLAGS/CPPFLAGS 139LOCAL_C_INCLUDES := \ 140 $(LOCAL_PATH) \ 141 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 143 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 144 $(LOCAL_PATH)/third_party/khronos \ 145 $(LOCAL_PATH)/gpu \ 146 $(PWD)/external/icu4c/common \ 147 $(PWD)/external/icu4c/i18n \ 148 $(gyp_shared_intermediate_dir)/content \ 149 $(LOCAL_PATH)/third_party/WebKit \ 150 $(LOCAL_PATH)/skia/config \ 151 $(LOCAL_PATH)/third_party/skia/src/core \ 152 $(LOCAL_PATH)/third_party/skia/include/config \ 153 $(LOCAL_PATH)/third_party/skia/include/core \ 154 $(LOCAL_PATH)/third_party/skia/include/effects \ 155 $(LOCAL_PATH)/third_party/skia/include/pdf \ 156 $(LOCAL_PATH)/third_party/skia/include/gpu \ 157 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ 158 $(LOCAL_PATH)/third_party/skia/include/pathops \ 159 $(LOCAL_PATH)/third_party/skia/include/pipe \ 160 $(LOCAL_PATH)/third_party/skia/include/ports \ 161 $(LOCAL_PATH)/third_party/skia/include/utils \ 162 $(LOCAL_PATH)/skia/ext \ 163 $(LOCAL_PATH)/v8/include \ 164 $(LOCAL_PATH)/third_party/npapi \ 165 $(LOCAL_PATH)/third_party/npapi/bindings \ 166 $(PWD)/frameworks/wilhelm/include \ 167 $(PWD)/bionic \ 168 $(PWD)/external/stlport/stlport 169 170LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) 171 172# Flags passed to only C++ (and not C) files. 173LOCAL_CPPFLAGS := \ 174 -fno-rtti \ 175 -fno-threadsafe-statics \ 176 -fvisibility-inlines-hidden \ 177 -Wsign-compare \ 178 -Wno-error=c++0x-compat \ 179 -Wno-non-virtual-dtor \ 180 -Wno-sign-promo 181 182### Rules for final target. 183 184LOCAL_LDFLAGS := \ 185 -Wl,-z,now \ 186 -Wl,-z,relro \ 187 -Wl,-z,noexecstack \ 188 -fPIC \ 189 -m32 \ 190 -fuse-ld=gold \ 191 -nostdlib \ 192 -Wl,--no-undefined \ 193 -Wl,--exclude-libs=ALL \ 194 -Wl,--gc-sections \ 195 -Wl,-O1 \ 196 -Wl,--as-needed 197 198 199LOCAL_STATIC_LIBRARIES := \ 200 cpufeatures \ 201 ui_ui_gyp \ 202 skia_skia_gyp 203 204# Enable grouping to fix circular references 205LOCAL_GROUP_STATIC_LIBRARIES := true 206 207LOCAL_SHARED_LIBRARIES := \ 208 libstlport \ 209 libdl 210 211# Add target alias to "gyp_all_modules" target. 212.PHONY: gyp_all_modules 213gyp_all_modules: content_content_child_gyp 214 215# Alias gyp target name. 216.PHONY: content_child 217content_child: content_content_child_gyp 218 219include $(BUILD_STATIC_LIBRARY) 220