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