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