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 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_SRC_FILES := \ 29 components/webdata/common/web_database.cc \ 30 components/webdata/common/web_database_service.cc \ 31 components/webdata/common/web_database_table.cc \ 32 components/webdata/common/web_data_request_manager.cc \ 33 components/webdata/common/web_data_service_backend.cc \ 34 components/webdata/common/web_data_service_base.cc \ 35 components/webdata/common/webdata_constants.cc 36 37 38 # Flags passed to both C and C++ files. 39 MY_CFLAGS_Debug := \ 40 --param=ssp-buffer-size=4 \ 41 -Werror \ 42 -fno-exceptions \ 43 -fno-strict-aliasing \ 44 -Wall \ 45 -Wno-unused-parameter \ 46 -Wno-missing-field-initializers \ 47 -fvisibility=hidden \ 48 -pipe \ 49 -fPIC \ 50 -Wno-unused-local-typedefs \ 51 -msse2 \ 52 -mfpmath=sse \ 53 -mmmx \ 54 -m32 \ 55 -ffunction-sections \ 56 -funwind-tables \ 57 -g \ 58 -fno-short-enums \ 59 -finline-limit=64 \ 60 -Wa,--noexecstack \ 61 -U_FORTIFY_SOURCE \ 62 -Wno-extra \ 63 -Wno-ignored-qualifiers \ 64 -Wno-type-limits \ 65 -Wno-unused-but-set-variable \ 66 -fno-stack-protector \ 67 -Os \ 68 -g \ 69 -fdata-sections \ 70 -ffunction-sections \ 71 -fomit-frame-pointer \ 72 -funwind-tables 73 74 MY_DEFS_Debug := \ 75 '-DV8_DEPRECATION_WARNINGS' \ 76 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 77 '-D_FILE_OFFSET_BITS=64' \ 78 '-DNO_TCMALLOC' \ 79 '-DDISABLE_NACL' \ 80 '-DCHROMIUM_BUILD' \ 81 '-DUSE_LIBJPEG_TURBO=1' \ 82 '-DENABLE_WEBRTC=1' \ 83 '-DUSE_PROPRIETARY_CODECS' \ 84 '-DENABLE_BROWSER_CDMS' \ 85 '-DENABLE_CONFIGURATION_POLICY' \ 86 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88 '-DENABLE_EGLIMAGE=1' \ 89 '-DCLD_VERSION=1' \ 90 '-DENABLE_PRINTING=1' \ 91 '-DENABLE_MANAGED_USERS=1' \ 92 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 93 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 94 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 95 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 96 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 97 '-DVIDEO_HOLE=1' \ 98 '-DWEBDATA_IMPLEMENTATION' \ 99 '-DMOJO_USE_SYSTEM_IMPL' \ 100 '-DSK_ENABLE_INST_COUNT=0' \ 101 '-DSK_SUPPORT_GPU=1' \ 102 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 103 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 104 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 105 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 106 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 107 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 108 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 109 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 110 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 111 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 112 '-DSK_IGNORE_ETC1_SUPPORT' \ 113 '-DSK_IGNORE_GPU_DITHER' \ 114 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 115 '-DSK_BUILD_FOR_ANDROID' \ 116 '-DSK_USE_POSIX_THREADS' \ 117 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 118 '-DUSE_OPENSSL=1' \ 119 '-DUSE_OPENSSL_CERTS=1' \ 120 '-D__STDC_CONSTANT_MACROS' \ 121 '-D__STDC_FORMAT_MACROS' \ 122 '-DANDROID' \ 123 '-D__GNU_SOURCE=1' \ 124 '-DUSE_STLPORT=1' \ 125 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 126 '-DCHROME_BUILD_ID=""' \ 127 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 128 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 129 '-D_DEBUG' 130 131 132 # Include paths placed before CFLAGS/CPPFLAGS 133 LOCAL_C_INCLUDES_Debug := \ 134 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 135 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 136 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 137 $(gyp_shared_intermediate_dir) \ 138 $(LOCAL_PATH) \ 139 $(LOCAL_PATH)/third_party/khronos \ 140 $(LOCAL_PATH)/gpu \ 141 $(LOCAL_PATH)/skia/config \ 142 $(LOCAL_PATH)/third_party/WebKit/Source \ 143 $(LOCAL_PATH)/third_party/WebKit \ 144 $(LOCAL_PATH)/third_party/skia/src/core \ 145 $(LOCAL_PATH)/third_party/skia/include/core \ 146 $(LOCAL_PATH)/third_party/skia/include/effects \ 147 $(LOCAL_PATH)/third_party/skia/include/pdf \ 148 $(LOCAL_PATH)/third_party/skia/include/gpu \ 149 $(LOCAL_PATH)/third_party/skia/include/lazy \ 150 $(LOCAL_PATH)/third_party/skia/include/pathops \ 151 $(LOCAL_PATH)/third_party/skia/include/pipe \ 152 $(LOCAL_PATH)/third_party/skia/include/ports \ 153 $(LOCAL_PATH)/third_party/skia/include/utils \ 154 $(LOCAL_PATH)/skia/ext \ 155 $(PWD)/frameworks/wilhelm/include \ 156 $(PWD)/bionic \ 157 $(PWD)/external/stlport/stlport 158 159 160 # Flags passed to only C++ (and not C) files. 161 LOCAL_CPPFLAGS_Debug := \ 162 -fno-rtti \ 163 -fno-threadsafe-statics \ 164 -fvisibility-inlines-hidden \ 165 -Wsign-compare \ 166 -Wno-non-virtual-dtor \ 167 -Wno-sign-promo 168 169 170 LOCAL_FDO_SUPPORT_Debug := false 171 172 # Flags passed to both C and C++ files. 173 MY_CFLAGS_Release := \ 174 --param=ssp-buffer-size=4 \ 175 -Werror \ 176 -fno-exceptions \ 177 -fno-strict-aliasing \ 178 -Wall \ 179 -Wno-unused-parameter \ 180 -Wno-missing-field-initializers \ 181 -fvisibility=hidden \ 182 -pipe \ 183 -fPIC \ 184 -Wno-unused-local-typedefs \ 185 -msse2 \ 186 -mfpmath=sse \ 187 -mmmx \ 188 -m32 \ 189 -ffunction-sections \ 190 -funwind-tables \ 191 -g \ 192 -fno-short-enums \ 193 -finline-limit=64 \ 194 -Wa,--noexecstack \ 195 -U_FORTIFY_SOURCE \ 196 -Wno-extra \ 197 -Wno-ignored-qualifiers \ 198 -Wno-type-limits \ 199 -Wno-unused-but-set-variable \ 200 -fno-stack-protector \ 201 -Os \ 202 -fno-ident \ 203 -fdata-sections \ 204 -ffunction-sections \ 205 -fomit-frame-pointer \ 206 -funwind-tables 207 208 MY_DEFS_Release := \ 209 '-DV8_DEPRECATION_WARNINGS' \ 210 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 211 '-D_FILE_OFFSET_BITS=64' \ 212 '-DNO_TCMALLOC' \ 213 '-DDISABLE_NACL' \ 214 '-DCHROMIUM_BUILD' \ 215 '-DUSE_LIBJPEG_TURBO=1' \ 216 '-DENABLE_WEBRTC=1' \ 217 '-DUSE_PROPRIETARY_CODECS' \ 218 '-DENABLE_BROWSER_CDMS' \ 219 '-DENABLE_CONFIGURATION_POLICY' \ 220 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 221 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 222 '-DENABLE_EGLIMAGE=1' \ 223 '-DCLD_VERSION=1' \ 224 '-DENABLE_PRINTING=1' \ 225 '-DENABLE_MANAGED_USERS=1' \ 226 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 227 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 228 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 229 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 230 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 231 '-DVIDEO_HOLE=1' \ 232 '-DWEBDATA_IMPLEMENTATION' \ 233 '-DMOJO_USE_SYSTEM_IMPL' \ 234 '-DSK_ENABLE_INST_COUNT=0' \ 235 '-DSK_SUPPORT_GPU=1' \ 236 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 237 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 238 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 239 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 240 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 241 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 242 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 243 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 244 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 245 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 246 '-DSK_IGNORE_ETC1_SUPPORT' \ 247 '-DSK_IGNORE_GPU_DITHER' \ 248 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 249 '-DSK_BUILD_FOR_ANDROID' \ 250 '-DSK_USE_POSIX_THREADS' \ 251 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 252 '-DUSE_OPENSSL=1' \ 253 '-DUSE_OPENSSL_CERTS=1' \ 254 '-D__STDC_CONSTANT_MACROS' \ 255 '-D__STDC_FORMAT_MACROS' \ 256 '-DANDROID' \ 257 '-D__GNU_SOURCE=1' \ 258 '-DUSE_STLPORT=1' \ 259 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 260 '-DCHROME_BUILD_ID=""' \ 261 '-DNDEBUG' \ 262 '-DNVALGRIND' \ 263 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 264 '-D_FORTIFY_SOURCE=2' 265 266 267 # Include paths placed before CFLAGS/CPPFLAGS 268 LOCAL_C_INCLUDES_Release := \ 269 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 270 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 271 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 272 $(gyp_shared_intermediate_dir) \ 273 $(LOCAL_PATH) \ 274 $(LOCAL_PATH)/third_party/khronos \ 275 $(LOCAL_PATH)/gpu \ 276 $(LOCAL_PATH)/skia/config \ 277 $(LOCAL_PATH)/third_party/WebKit/Source \ 278 $(LOCAL_PATH)/third_party/WebKit \ 279 $(LOCAL_PATH)/third_party/skia/src/core \ 280 $(LOCAL_PATH)/third_party/skia/include/core \ 281 $(LOCAL_PATH)/third_party/skia/include/effects \ 282 $(LOCAL_PATH)/third_party/skia/include/pdf \ 283 $(LOCAL_PATH)/third_party/skia/include/gpu \ 284 $(LOCAL_PATH)/third_party/skia/include/lazy \ 285 $(LOCAL_PATH)/third_party/skia/include/pathops \ 286 $(LOCAL_PATH)/third_party/skia/include/pipe \ 287 $(LOCAL_PATH)/third_party/skia/include/ports \ 288 $(LOCAL_PATH)/third_party/skia/include/utils \ 289 $(LOCAL_PATH)/skia/ext \ 290 $(PWD)/frameworks/wilhelm/include \ 291 $(PWD)/bionic \ 292 $(PWD)/external/stlport/stlport 293 294 295 # Flags passed to only C++ (and not C) files. 296 LOCAL_CPPFLAGS_Release := \ 297 -fno-rtti \ 298 -fno-threadsafe-statics \ 299 -fvisibility-inlines-hidden \ 300 -Wsign-compare \ 301 -Wno-non-virtual-dtor \ 302 -Wno-sign-promo 303 304 305 LOCAL_FDO_SUPPORT_Release := false 306 307 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 308 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 309 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 310 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 311 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 312 ### Rules for final target. 313 314 LOCAL_LDFLAGS_Debug := \ 315 -Wl,-z,now \ 316 -Wl,-z,relro \ 317 -Wl,--fatal-warnings \ 318 -Wl,-z,noexecstack \ 319 -fPIC \ 320 -m32 \ 321 -fuse-ld=gold \ 322 -nostdlib \ 323 -Wl,--no-undefined \ 324 -Wl,--exclude-libs=ALL \ 325 -Wl,--warn-shared-textrel \ 326 -Wl,-O1 \ 327 -Wl,--as-needed 328 329 330 LOCAL_LDFLAGS_Release := \ 331 -Wl,-z,now \ 332 -Wl,-z,relro \ 333 -Wl,--fatal-warnings \ 334 -Wl,-z,noexecstack \ 335 -fPIC \ 336 -m32 \ 337 -fuse-ld=gold \ 338 -nostdlib \ 339 -Wl,--no-undefined \ 340 -Wl,--exclude-libs=ALL \ 341 -Wl,-O1 \ 342 -Wl,--as-needed \ 343 -Wl,--gc-sections \ 344 -Wl,--warn-shared-textrel 345 346 347 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 348 349 LOCAL_STATIC_LIBRARIES := \ 350 ui_accessibility_ax_gen_gyp \ 351 skia_skia_library_gyp 352 353 # Enable grouping to fix circular references 354 LOCAL_GROUP_STATIC_LIBRARIES := true 355 356 LOCAL_SHARED_LIBRARIES := \ 357 libstlport \ 358 libdl 359 360 # Add target alias to "gyp_all_modules" target. 361 .PHONY: gyp_all_modules 362 gyp_all_modules: components_webdata_common_gyp 363 364 # Alias gyp target name. 365 .PHONY: webdata_common 366 webdata_common: components_webdata_common_gyp 367 368 include $(BUILD_STATIC_LIBRARY) 369