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 := components_webdata_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 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_CPP_EXTENSION := .cc 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 components/webdata/common/web_database.cc \ 27 components/webdata/common/web_database_service.cc \ 28 components/webdata/common/web_database_table.cc \ 29 components/webdata/common/web_data_request_manager.cc \ 30 components/webdata/common/web_data_service_backend.cc \ 31 components/webdata/common/web_data_service_base.cc \ 32 components/webdata/common/webdata_constants.cc 33 34 35 # Flags passed to both C and C++ files. 36 MY_CFLAGS_Debug := \ 37 -fstack-protector \ 38 --param=ssp-buffer-size=4 \ 39 \ 40 -fno-exceptions \ 41 -fno-strict-aliasing \ 42 -Wall \ 43 -Wno-unused-parameter \ 44 -Wno-missing-field-initializers \ 45 -fvisibility=hidden \ 46 -pipe \ 47 -fPIC \ 48 -EL \ 49 -mhard-float \ 50 -ffunction-sections \ 51 -funwind-tables \ 52 -g \ 53 -fstack-protector \ 54 -fno-short-enums \ 55 -finline-limit=64 \ 56 -Wa,--noexecstack \ 57 -U_FORTIFY_SOURCE \ 58 -Wno-extra \ 59 -Wno-ignored-qualifiers \ 60 -Wno-type-limits \ 61 -Os \ 62 -g \ 63 -fomit-frame-pointer \ 64 -fdata-sections \ 65 -ffunction-sections 66 67 MY_DEFS_Debug := \ 68 '-DANGLE_DX11' \ 69 '-D_FILE_OFFSET_BITS=64' \ 70 '-DNO_TCMALLOC' \ 71 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 72 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 73 '-DDISABLE_NACL' \ 74 '-DCHROMIUM_BUILD' \ 75 '-DUSE_LIBJPEG_TURBO=1' \ 76 '-DUSE_PROPRIETARY_CODECS' \ 77 '-DENABLE_CONFIGURATION_POLICY' \ 78 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 79 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 80 '-DENABLE_GPU=1' \ 81 '-DUSE_OPENSSL=1' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DENABLE_PRINTING=1' \ 84 '-DWEBDATA_IMPLEMENTATION' \ 85 '-D__STDC_CONSTANT_MACROS' \ 86 '-D__STDC_FORMAT_MACROS' \ 87 '-DANDROID' \ 88 '-D__GNU_SOURCE=1' \ 89 '-DUSE_STLPORT=1' \ 90 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 91 '-DCHROME_BUILD_ID=""' \ 92 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 93 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 94 '-D_DEBUG' 95 96 97 # Include paths placed before CFLAGS/CPPFLAGS 98 LOCAL_C_INCLUDES_Debug := \ 99 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 100 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 101 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 102 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 103 $(LOCAL_PATH) \ 104 $(LOCAL_PATH)/third_party/khronos \ 105 $(LOCAL_PATH)/gpu \ 106 $(PWD)/frameworks/wilhelm/include \ 107 $(PWD)/bionic \ 108 $(PWD)/external/stlport/stlport 109 110 111 # Flags passed to only C++ (and not C) files. 112 LOCAL_CPPFLAGS_Debug := \ 113 -fno-rtti \ 114 -fno-threadsafe-statics \ 115 -fvisibility-inlines-hidden \ 116 -Wsign-compare \ 117 -Wno-uninitialized \ 118 -Wno-error=c++0x-compat \ 119 -Wno-non-virtual-dtor \ 120 -Wno-sign-promo 121 122 123 # Flags passed to both C and C++ files. 124 MY_CFLAGS_Release := \ 125 -fstack-protector \ 126 --param=ssp-buffer-size=4 \ 127 \ 128 -fno-exceptions \ 129 -fno-strict-aliasing \ 130 -Wall \ 131 -Wno-unused-parameter \ 132 -Wno-missing-field-initializers \ 133 -fvisibility=hidden \ 134 -pipe \ 135 -fPIC \ 136 -EL \ 137 -mhard-float \ 138 -ffunction-sections \ 139 -funwind-tables \ 140 -g \ 141 -fstack-protector \ 142 -fno-short-enums \ 143 -finline-limit=64 \ 144 -Wa,--noexecstack \ 145 -U_FORTIFY_SOURCE \ 146 -Wno-extra \ 147 -Wno-ignored-qualifiers \ 148 -Wno-type-limits \ 149 -Os \ 150 -fno-ident \ 151 -fdata-sections \ 152 -ffunction-sections \ 153 -fomit-frame-pointer 154 155 MY_DEFS_Release := \ 156 '-DANGLE_DX11' \ 157 '-D_FILE_OFFSET_BITS=64' \ 158 '-DNO_TCMALLOC' \ 159 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 160 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 161 '-DDISABLE_NACL' \ 162 '-DCHROMIUM_BUILD' \ 163 '-DUSE_LIBJPEG_TURBO=1' \ 164 '-DUSE_PROPRIETARY_CODECS' \ 165 '-DENABLE_CONFIGURATION_POLICY' \ 166 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 167 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 168 '-DENABLE_GPU=1' \ 169 '-DUSE_OPENSSL=1' \ 170 '-DENABLE_EGLIMAGE=1' \ 171 '-DENABLE_PRINTING=1' \ 172 '-DWEBDATA_IMPLEMENTATION' \ 173 '-D__STDC_CONSTANT_MACROS' \ 174 '-D__STDC_FORMAT_MACROS' \ 175 '-DANDROID' \ 176 '-D__GNU_SOURCE=1' \ 177 '-DUSE_STLPORT=1' \ 178 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 179 '-DCHROME_BUILD_ID=""' \ 180 '-DNDEBUG' \ 181 '-DNVALGRIND' \ 182 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 183 '-D_FORTIFY_SOURCE=2' 184 185 186 # Include paths placed before CFLAGS/CPPFLAGS 187 LOCAL_C_INCLUDES_Release := \ 188 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 189 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 190 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 191 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 192 $(LOCAL_PATH) \ 193 $(LOCAL_PATH)/third_party/khronos \ 194 $(LOCAL_PATH)/gpu \ 195 $(PWD)/frameworks/wilhelm/include \ 196 $(PWD)/bionic \ 197 $(PWD)/external/stlport/stlport 198 199 200 # Flags passed to only C++ (and not C) files. 201 LOCAL_CPPFLAGS_Release := \ 202 -fno-rtti \ 203 -fno-threadsafe-statics \ 204 -fvisibility-inlines-hidden \ 205 -Wsign-compare \ 206 -Wno-uninitialized \ 207 -Wno-error=c++0x-compat \ 208 -Wno-non-virtual-dtor \ 209 -Wno-sign-promo 210 211 212 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 213 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 214 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 215 ### Rules for final target. 216 217 LOCAL_LDFLAGS_Debug := \ 218 -Wl,-z,now \ 219 -Wl,-z,relro \ 220 -Wl,-z,noexecstack \ 221 -fPIC \ 222 -EL \ 223 -Wl,--no-keep-memory \ 224 -nostdlib \ 225 -Wl,--no-undefined \ 226 -Wl,--exclude-libs=ALL \ 227 -Wl,--fatal-warnings \ 228 -Wl,--gc-sections \ 229 -Wl,--warn-shared-textrel \ 230 -Wl,-O1 \ 231 -Wl,--as-needed 232 233 234 LOCAL_LDFLAGS_Release := \ 235 -Wl,-z,now \ 236 -Wl,-z,relro \ 237 -Wl,-z,noexecstack \ 238 -fPIC \ 239 -EL \ 240 -Wl,--no-keep-memory \ 241 -nostdlib \ 242 -Wl,--no-undefined \ 243 -Wl,--exclude-libs=ALL \ 244 -Wl,-O1 \ 245 -Wl,--as-needed \ 246 -Wl,--gc-sections \ 247 -Wl,--fatal-warnings \ 248 -Wl,--warn-shared-textrel 249 250 251 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 252 253 LOCAL_STATIC_LIBRARIES := 254 255 # Enable grouping to fix circular references 256 LOCAL_GROUP_STATIC_LIBRARIES := true 257 258 LOCAL_SHARED_LIBRARIES := \ 259 libstlport \ 260 libdl 261 262 # Add target alias to "gyp_all_modules" target. 263 .PHONY: gyp_all_modules 264 gyp_all_modules: components_webdata_common_gyp 265 266 # Alias gyp target name. 267 .PHONY: webdata_common 268 webdata_common: components_webdata_common_gyp 269 270 include $(BUILD_STATIC_LIBRARY) 271