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