1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_webdata_common_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 16 17GYP_GENERATED_OUTPUTS := 18 19# Make sure our deps and generated files are built first. 20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22LOCAL_CPP_EXTENSION := .cc 23LOCAL_GENERATED_SOURCES := 24 25GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27LOCAL_SRC_FILES := \ 28 components/webdata/common/web_database.cc \ 29 components/webdata/common/web_database_service.cc \ 30 components/webdata/common/web_database_table.cc \ 31 components/webdata/common/web_data_request_manager.cc \ 32 components/webdata/common/web_data_service_backend.cc \ 33 components/webdata/common/web_data_service_base.cc \ 34 components/webdata/common/webdata_constants.cc 35 36 37# Flags passed to both C and C++ files. 38MY_CFLAGS_Debug := \ 39 -fstack-protector \ 40 --param=ssp-buffer-size=4 \ 41 \ 42 -fno-strict-aliasing \ 43 -Wall \ 44 -Wno-unused-parameter \ 45 -Wno-missing-field-initializers \ 46 -fvisibility=hidden \ 47 -pipe \ 48 -fPIC \ 49 -Wno-unused-local-typedefs \ 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 -Wno-unused-but-set-variable \ 62 -Os \ 63 -g \ 64 -gdwarf-4 \ 65 -fdata-sections \ 66 -ffunction-sections \ 67 -fomit-frame-pointer \ 68 -funwind-tables 69 70MY_DEFS_Debug := \ 71 '-DV8_DEPRECATION_WARNINGS' \ 72 '-D_FILE_OFFSET_BITS=64' \ 73 '-DNO_TCMALLOC' \ 74 '-DDISABLE_NACL' \ 75 '-DCHROMIUM_BUILD' \ 76 '-DUSE_LIBJPEG_TURBO=1' \ 77 '-DENABLE_WEBRTC=1' \ 78 '-DUSE_PROPRIETARY_CODECS' \ 79 '-DENABLE_BROWSER_CDMS' \ 80 '-DENABLE_CONFIGURATION_POLICY' \ 81 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 82 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 83 '-DENABLE_EGLIMAGE=1' \ 84 '-DCLD_VERSION=1' \ 85 '-DENABLE_PRINTING=1' \ 86 '-DENABLE_MANAGED_USERS=1' \ 87 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 88 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 89 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 90 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 91 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 92 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 93 '-DVIDEO_HOLE=1' \ 94 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 95 '-DWEBDATA_IMPLEMENTATION' \ 96 '-DMOJO_USE_SYSTEM_IMPL' \ 97 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 98 '-DSK_ENABLE_INST_COUNT=0' \ 99 '-DSK_SUPPORT_GPU=1' \ 100 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 101 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 102 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 103 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 104 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 105 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 106 '-DSK_BUILD_FOR_ANDROID' \ 107 '-DSK_USE_POSIX_THREADS' \ 108 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 109 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 110 '-DUSE_OPENSSL=1' \ 111 '-DUSE_OPENSSL_CERTS=1' \ 112 '-D__STDC_CONSTANT_MACROS' \ 113 '-D__STDC_FORMAT_MACROS' \ 114 '-DANDROID' \ 115 '-D__GNU_SOURCE=1' \ 116 '-DUSE_STLPORT=1' \ 117 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 118 '-DCHROME_BUILD_ID=""' \ 119 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 120 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 121 '-D_DEBUG' 122 123 124# Include paths placed before CFLAGS/CPPFLAGS 125LOCAL_C_INCLUDES_Debug := \ 126 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 128 $(gyp_shared_intermediate_dir) \ 129 $(LOCAL_PATH) \ 130 $(LOCAL_PATH)/third_party/khronos \ 131 $(LOCAL_PATH)/gpu \ 132 $(LOCAL_PATH)/skia/config \ 133 $(LOCAL_PATH)/third_party/WebKit/Source \ 134 $(gyp_shared_intermediate_dir)/angle \ 135 $(LOCAL_PATH)/third_party/WebKit \ 136 $(LOCAL_PATH)/third_party/skia/src/core \ 137 $(LOCAL_PATH)/third_party/skia/include/core \ 138 $(LOCAL_PATH)/third_party/skia/include/effects \ 139 $(LOCAL_PATH)/third_party/skia/include/pdf \ 140 $(LOCAL_PATH)/third_party/skia/include/gpu \ 141 $(LOCAL_PATH)/third_party/skia/include/lazy \ 142 $(LOCAL_PATH)/third_party/skia/include/pathops \ 143 $(LOCAL_PATH)/third_party/skia/include/pipe \ 144 $(LOCAL_PATH)/third_party/skia/include/ports \ 145 $(LOCAL_PATH)/third_party/skia/include/utils \ 146 $(LOCAL_PATH)/skia/ext \ 147 $(PWD)/frameworks/wilhelm/include \ 148 $(PWD)/bionic \ 149 $(PWD)/external/stlport/stlport 150 151 152# Flags passed to only C++ (and not C) files. 153LOCAL_CPPFLAGS_Debug := \ 154 -fno-exceptions \ 155 -fno-rtti \ 156 -fno-threadsafe-statics \ 157 -fvisibility-inlines-hidden \ 158 -Wsign-compare \ 159 -Wno-uninitialized \ 160 -std=gnu++11 \ 161 -Wno-narrowing \ 162 -Wno-literal-suffix \ 163 -Wno-non-virtual-dtor \ 164 -Wno-sign-promo 165 166 167# Flags passed to both C and C++ files. 168MY_CFLAGS_Release := \ 169 -fstack-protector \ 170 --param=ssp-buffer-size=4 \ 171 \ 172 -fno-strict-aliasing \ 173 -Wall \ 174 -Wno-unused-parameter \ 175 -Wno-missing-field-initializers \ 176 -fvisibility=hidden \ 177 -pipe \ 178 -fPIC \ 179 -Wno-unused-local-typedefs \ 180 -ffunction-sections \ 181 -funwind-tables \ 182 -g \ 183 -fstack-protector \ 184 -fno-short-enums \ 185 -finline-limit=64 \ 186 -Wa,--noexecstack \ 187 -U_FORTIFY_SOURCE \ 188 -Wno-extra \ 189 -Wno-ignored-qualifiers \ 190 -Wno-type-limits \ 191 -Wno-unused-but-set-variable \ 192 -Os \ 193 -fno-ident \ 194 -fdata-sections \ 195 -ffunction-sections \ 196 -fomit-frame-pointer \ 197 -funwind-tables 198 199MY_DEFS_Release := \ 200 '-DV8_DEPRECATION_WARNINGS' \ 201 '-D_FILE_OFFSET_BITS=64' \ 202 '-DNO_TCMALLOC' \ 203 '-DDISABLE_NACL' \ 204 '-DCHROMIUM_BUILD' \ 205 '-DUSE_LIBJPEG_TURBO=1' \ 206 '-DENABLE_WEBRTC=1' \ 207 '-DUSE_PROPRIETARY_CODECS' \ 208 '-DENABLE_BROWSER_CDMS' \ 209 '-DENABLE_CONFIGURATION_POLICY' \ 210 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 211 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 212 '-DENABLE_EGLIMAGE=1' \ 213 '-DCLD_VERSION=1' \ 214 '-DENABLE_PRINTING=1' \ 215 '-DENABLE_MANAGED_USERS=1' \ 216 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 217 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 218 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 219 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 220 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 221 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 222 '-DVIDEO_HOLE=1' \ 223 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 224 '-DWEBDATA_IMPLEMENTATION' \ 225 '-DMOJO_USE_SYSTEM_IMPL' \ 226 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 227 '-DSK_ENABLE_INST_COUNT=0' \ 228 '-DSK_SUPPORT_GPU=1' \ 229 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 230 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 231 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 232 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 233 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 234 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 235 '-DSK_BUILD_FOR_ANDROID' \ 236 '-DSK_USE_POSIX_THREADS' \ 237 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 238 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 239 '-DUSE_OPENSSL=1' \ 240 '-DUSE_OPENSSL_CERTS=1' \ 241 '-D__STDC_CONSTANT_MACROS' \ 242 '-D__STDC_FORMAT_MACROS' \ 243 '-DANDROID' \ 244 '-D__GNU_SOURCE=1' \ 245 '-DUSE_STLPORT=1' \ 246 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 247 '-DCHROME_BUILD_ID=""' \ 248 '-DNDEBUG' \ 249 '-DNVALGRIND' \ 250 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 251 '-D_FORTIFY_SOURCE=2' 252 253 254# Include paths placed before CFLAGS/CPPFLAGS 255LOCAL_C_INCLUDES_Release := \ 256 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 257 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 258 $(gyp_shared_intermediate_dir) \ 259 $(LOCAL_PATH) \ 260 $(LOCAL_PATH)/third_party/khronos \ 261 $(LOCAL_PATH)/gpu \ 262 $(LOCAL_PATH)/skia/config \ 263 $(LOCAL_PATH)/third_party/WebKit/Source \ 264 $(gyp_shared_intermediate_dir)/angle \ 265 $(LOCAL_PATH)/third_party/WebKit \ 266 $(LOCAL_PATH)/third_party/skia/src/core \ 267 $(LOCAL_PATH)/third_party/skia/include/core \ 268 $(LOCAL_PATH)/third_party/skia/include/effects \ 269 $(LOCAL_PATH)/third_party/skia/include/pdf \ 270 $(LOCAL_PATH)/third_party/skia/include/gpu \ 271 $(LOCAL_PATH)/third_party/skia/include/lazy \ 272 $(LOCAL_PATH)/third_party/skia/include/pathops \ 273 $(LOCAL_PATH)/third_party/skia/include/pipe \ 274 $(LOCAL_PATH)/third_party/skia/include/ports \ 275 $(LOCAL_PATH)/third_party/skia/include/utils \ 276 $(LOCAL_PATH)/skia/ext \ 277 $(PWD)/frameworks/wilhelm/include \ 278 $(PWD)/bionic \ 279 $(PWD)/external/stlport/stlport 280 281 282# Flags passed to only C++ (and not C) files. 283LOCAL_CPPFLAGS_Release := \ 284 -fno-exceptions \ 285 -fno-rtti \ 286 -fno-threadsafe-statics \ 287 -fvisibility-inlines-hidden \ 288 -Wsign-compare \ 289 -Wno-uninitialized \ 290 -std=gnu++11 \ 291 -Wno-narrowing \ 292 -Wno-literal-suffix \ 293 -Wno-non-virtual-dtor \ 294 -Wno-sign-promo 295 296 297LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 298LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 299LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 300LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 301### Rules for final target. 302 303LOCAL_SHARED_LIBRARIES := \ 304 libstlport \ 305 libdl 306 307# Add target alias to "gyp_all_modules" target. 308.PHONY: gyp_all_modules 309gyp_all_modules: components_webdata_common_gyp 310 311# Alias gyp target name. 312.PHONY: webdata_common 313webdata_common: components_webdata_common_gyp 314 315include $(BUILD_STATIC_LIBRARY) 316