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_renderer_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 15 $(call intermediates-dir-for,GYP,components_component_strings_gyp)/component_strings.stamp 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/renderer/autofill_agent.cc \ 29 components/autofill/content/renderer/form_autofill_util.cc \ 30 components/autofill/content/renderer/form_cache.cc \ 31 components/autofill/content/renderer/page_click_tracker.cc \ 32 components/autofill/content/renderer/password_autofill_agent.cc \ 33 components/autofill/content/renderer/password_form_conversion_utils.cc \ 34 components/autofill/content/renderer/password_generation_agent.cc 35 36 37 # Flags passed to both C and C++ files. 38 MY_CFLAGS_Debug := \ 39 -fstack-protector \ 40 --param=ssp-buffer-size=4 \ 41 \ 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 -EL \ 51 -mhard-float \ 52 -ffunction-sections \ 53 -funwind-tables \ 54 -g \ 55 -fstack-protector \ 56 -fno-short-enums \ 57 -finline-limit=64 \ 58 -Wa,--noexecstack \ 59 -U_FORTIFY_SOURCE \ 60 -Wno-extra \ 61 -Wno-ignored-qualifiers \ 62 -Wno-type-limits \ 63 -Os \ 64 -g \ 65 -fomit-frame-pointer \ 66 -fdata-sections \ 67 -ffunction-sections 68 69 MY_DEFS_Debug := \ 70 '-DV8_DEPRECATION_WARNINGS' \ 71 '-D_FILE_OFFSET_BITS=64' \ 72 '-DNO_TCMALLOC' \ 73 '-DDISABLE_NACL' \ 74 '-DCHROMIUM_BUILD' \ 75 '-DUSE_LIBJPEG_TURBO=1' \ 76 '-DUSE_PROPRIETARY_CODECS' \ 77 '-DENABLE_CONFIGURATION_POLICY' \ 78 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 79 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 80 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 81 '-DUSE_OPENSSL=1' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DCLD_VERSION=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DENABLE_MANAGED_USERS=1' \ 86 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 87 '-D__STDC_CONSTANT_MACROS' \ 88 '-D__STDC_FORMAT_MACROS' \ 89 '-DANDROID' \ 90 '-D__GNU_SOURCE=1' \ 91 '-DUSE_STLPORT=1' \ 92 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 93 '-DCHROME_BUILD_ID=""' \ 94 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 95 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 96 '-D_DEBUG' 97 98 99 # Include paths placed before CFLAGS/CPPFLAGS 100 LOCAL_C_INCLUDES_Debug := \ 101 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 102 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 103 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 104 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 105 $(LOCAL_PATH) \ 106 $(LOCAL_PATH)/skia/config \ 107 $(LOCAL_PATH)/third_party/khronos \ 108 $(LOCAL_PATH)/gpu \ 109 $(LOCAL_PATH)/third_party/WebKit/Source \ 110 $(PWD)/external/skia/include \ 111 $(PWD)/external/skia/include/core \ 112 $(LOCAL_PATH)/third_party/skia/src/core \ 113 $(LOCAL_PATH)/skia/ext \ 114 $(gyp_shared_intermediate_dir)/components/strings \ 115 $(PWD)/frameworks/wilhelm/include \ 116 $(PWD)/bionic \ 117 $(PWD)/external/stlport/stlport 118 119 120 # Flags passed to only C++ (and not C) files. 121 LOCAL_CPPFLAGS_Debug := \ 122 -fno-rtti \ 123 -fno-threadsafe-statics \ 124 -fvisibility-inlines-hidden \ 125 -Wsign-compare \ 126 -Wno-uninitialized \ 127 -Wno-error=c++0x-compat \ 128 -Wno-non-virtual-dtor \ 129 -Wno-sign-promo 130 131 132 # Flags passed to both C and C++ files. 133 MY_CFLAGS_Release := \ 134 -fstack-protector \ 135 --param=ssp-buffer-size=4 \ 136 \ 137 -fno-exceptions \ 138 -fno-strict-aliasing \ 139 -Wall \ 140 -Wno-unused-parameter \ 141 -Wno-missing-field-initializers \ 142 -fvisibility=hidden \ 143 -pipe \ 144 -fPIC \ 145 -EL \ 146 -mhard-float \ 147 -ffunction-sections \ 148 -funwind-tables \ 149 -g \ 150 -fstack-protector \ 151 -fno-short-enums \ 152 -finline-limit=64 \ 153 -Wa,--noexecstack \ 154 -U_FORTIFY_SOURCE \ 155 -Wno-extra \ 156 -Wno-ignored-qualifiers \ 157 -Wno-type-limits \ 158 -Os \ 159 -fno-ident \ 160 -fdata-sections \ 161 -ffunction-sections \ 162 -fomit-frame-pointer 163 164 MY_DEFS_Release := \ 165 '-DV8_DEPRECATION_WARNINGS' \ 166 '-D_FILE_OFFSET_BITS=64' \ 167 '-DNO_TCMALLOC' \ 168 '-DDISABLE_NACL' \ 169 '-DCHROMIUM_BUILD' \ 170 '-DUSE_LIBJPEG_TURBO=1' \ 171 '-DUSE_PROPRIETARY_CODECS' \ 172 '-DENABLE_CONFIGURATION_POLICY' \ 173 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 174 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 175 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 176 '-DUSE_OPENSSL=1' \ 177 '-DENABLE_EGLIMAGE=1' \ 178 '-DCLD_VERSION=1' \ 179 '-DENABLE_PRINTING=1' \ 180 '-DENABLE_MANAGED_USERS=1' \ 181 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 182 '-D__STDC_CONSTANT_MACROS' \ 183 '-D__STDC_FORMAT_MACROS' \ 184 '-DANDROID' \ 185 '-D__GNU_SOURCE=1' \ 186 '-DUSE_STLPORT=1' \ 187 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 188 '-DCHROME_BUILD_ID=""' \ 189 '-DNDEBUG' \ 190 '-DNVALGRIND' \ 191 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 192 '-D_FORTIFY_SOURCE=2' 193 194 195 # Include paths placed before CFLAGS/CPPFLAGS 196 LOCAL_C_INCLUDES_Release := \ 197 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 198 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 199 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 200 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 201 $(LOCAL_PATH) \ 202 $(LOCAL_PATH)/skia/config \ 203 $(LOCAL_PATH)/third_party/khronos \ 204 $(LOCAL_PATH)/gpu \ 205 $(LOCAL_PATH)/third_party/WebKit/Source \ 206 $(PWD)/external/skia/include \ 207 $(PWD)/external/skia/include/core \ 208 $(LOCAL_PATH)/third_party/skia/src/core \ 209 $(LOCAL_PATH)/skia/ext \ 210 $(gyp_shared_intermediate_dir)/components/strings \ 211 $(PWD)/frameworks/wilhelm/include \ 212 $(PWD)/bionic \ 213 $(PWD)/external/stlport/stlport 214 215 216 # Flags passed to only C++ (and not C) files. 217 LOCAL_CPPFLAGS_Release := \ 218 -fno-rtti \ 219 -fno-threadsafe-statics \ 220 -fvisibility-inlines-hidden \ 221 -Wsign-compare \ 222 -Wno-uninitialized \ 223 -Wno-error=c++0x-compat \ 224 -Wno-non-virtual-dtor \ 225 -Wno-sign-promo 226 227 228 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 229 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 230 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 231 ### Rules for final target. 232 233 LOCAL_LDFLAGS_Debug := \ 234 -Wl,-z,now \ 235 -Wl,-z,relro \ 236 -Wl,-z,noexecstack \ 237 -fPIC \ 238 -EL \ 239 -Wl,--no-keep-memory \ 240 -nostdlib \ 241 -Wl,--no-undefined \ 242 -Wl,--exclude-libs=ALL \ 243 -Wl,--fatal-warnings \ 244 -Wl,--gc-sections \ 245 -Wl,--warn-shared-textrel \ 246 -Wl,-O1 \ 247 -Wl,--as-needed 248 249 250 LOCAL_LDFLAGS_Release := \ 251 -Wl,-z,now \ 252 -Wl,-z,relro \ 253 -Wl,-z,noexecstack \ 254 -fPIC \ 255 -EL \ 256 -Wl,--no-keep-memory \ 257 -nostdlib \ 258 -Wl,--no-undefined \ 259 -Wl,--exclude-libs=ALL \ 260 -Wl,-O1 \ 261 -Wl,--as-needed \ 262 -Wl,--gc-sections \ 263 -Wl,--fatal-warnings \ 264 -Wl,--warn-shared-textrel 265 266 267 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 268 269 LOCAL_STATIC_LIBRARIES := 270 271 # Enable grouping to fix circular references 272 LOCAL_GROUP_STATIC_LIBRARIES := true 273 274 LOCAL_SHARED_LIBRARIES := \ 275 libskia \ 276 libstlport \ 277 libdl 278 279 # Add target alias to "gyp_all_modules" target. 280 .PHONY: gyp_all_modules 281 gyp_all_modules: components_autofill_content_renderer_gyp 282 283 # Alias gyp target name. 284 .PHONY: autofill_content_renderer 285 autofill_content_renderer: components_autofill_content_renderer_gyp 286 287 include $(BUILD_STATIC_LIBRARY) 288