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