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