1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := google_apis_google_apis_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := 14 15GYP_GENERATED_OUTPUTS := 16 17# Make sure our deps and generated files are built first. 18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20LOCAL_CPP_EXTENSION := .cc 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_SRC_FILES := \ 26 google_apis/gaia/account_tracker.cc \ 27 google_apis/gaia/gaia_auth_consumer.cc \ 28 google_apis/gaia/gaia_auth_fetcher.cc \ 29 google_apis/gaia/gaia_auth_util.cc \ 30 google_apis/gaia/gaia_constants.cc \ 31 google_apis/gaia/gaia_oauth_client.cc \ 32 google_apis/gaia/gaia_switches.cc \ 33 google_apis/gaia/gaia_urls.cc \ 34 google_apis/gaia/google_service_auth_error.cc \ 35 google_apis/gaia/identity_provider.cc \ 36 google_apis/gaia/merge_session_helper.cc \ 37 google_apis/gaia/oauth_request_signer.cc \ 38 google_apis/gaia/oauth2_access_token_fetcher.cc \ 39 google_apis/gaia/oauth2_access_token_fetcher_impl.cc \ 40 google_apis/gaia/oauth2_api_call_flow.cc \ 41 google_apis/gaia/oauth2_mint_token_flow.cc \ 42 google_apis/gaia/oauth2_token_service.cc \ 43 google_apis/gaia/oauth2_token_service_request.cc \ 44 google_apis/gaia/ubertoken_fetcher.cc \ 45 google_apis/google_api_keys.cc 46 47 48# Flags passed to both C and C++ files. 49MY_CFLAGS_Debug := \ 50 --param=ssp-buffer-size=4 \ 51 -Werror \ 52 -fno-strict-aliasing \ 53 -Wall \ 54 -Wno-unused-parameter \ 55 -Wno-missing-field-initializers \ 56 -fvisibility=hidden \ 57 -pipe \ 58 -fPIC \ 59 -Wno-unused-local-typedefs \ 60 -msse2 \ 61 -mfpmath=sse \ 62 -mmmx \ 63 -m32 \ 64 -ffunction-sections \ 65 -funwind-tables \ 66 -g \ 67 -fno-short-enums \ 68 -finline-limit=64 \ 69 -Wa,--noexecstack \ 70 -U_FORTIFY_SOURCE \ 71 -Wno-extra \ 72 -Wno-ignored-qualifiers \ 73 -Wno-type-limits \ 74 -Wno-unused-but-set-variable \ 75 -fno-stack-protector \ 76 -Os \ 77 -g \ 78 -gdwarf-4 \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -fomit-frame-pointer \ 82 -funwind-tables 83 84MY_DEFS_Debug := \ 85 '-DV8_DEPRECATION_WARNINGS' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DENABLE_WEBRTC=1' \ 92 '-DUSE_PROPRIETARY_CODECS' \ 93 '-DENABLE_BROWSER_CDMS' \ 94 '-DENABLE_CONFIGURATION_POLICY' \ 95 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 96 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DCLD_VERSION=1' \ 99 '-DENABLE_PRINTING=1' \ 100 '-DENABLE_MANAGED_USERS=1' \ 101 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 102 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 104 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 106 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 107 '-DVIDEO_HOLE=1' \ 108 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 109 '-DLIBXML_STATIC' \ 110 '-DU_USING_ICU_NAMESPACE=0' \ 111 '-DU_ENABLE_DYLOAD=0' \ 112 '-DUSE_OPENSSL=1' \ 113 '-DUSE_OPENSSL_CERTS=1' \ 114 '-D__STDC_CONSTANT_MACROS' \ 115 '-D__STDC_FORMAT_MACROS' \ 116 '-DANDROID' \ 117 '-D__GNU_SOURCE=1' \ 118 '-DUSE_STLPORT=1' \ 119 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 120 '-DCHROME_BUILD_ID=""' \ 121 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 122 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 123 '-D_DEBUG' 124 125 126# Include paths placed before CFLAGS/CPPFLAGS 127LOCAL_C_INCLUDES_Debug := \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH) \ 132 $(LOCAL_PATH)/third_party/libxml/linux/include \ 133 $(LOCAL_PATH)/third_party/libxml/src/include \ 134 $(PWD)/external/icu/icu4c/source/common \ 135 $(PWD)/external/icu/icu4c/source/i18n \ 136 $(PWD)/frameworks/wilhelm/include \ 137 $(PWD)/bionic \ 138 $(PWD)/external/stlport/stlport 139 140 141# Flags passed to only C++ (and not C) files. 142LOCAL_CPPFLAGS_Debug := \ 143 -fno-exceptions \ 144 -fno-rtti \ 145 -fno-threadsafe-statics \ 146 -fvisibility-inlines-hidden \ 147 -Wsign-compare \ 148 -std=gnu++11 \ 149 -Wno-narrowing \ 150 -Wno-literal-suffix \ 151 -Wno-non-virtual-dtor \ 152 -Wno-sign-promo 153 154 155# Flags passed to both C and C++ files. 156MY_CFLAGS_Release := \ 157 --param=ssp-buffer-size=4 \ 158 -Werror \ 159 -fno-strict-aliasing \ 160 -Wall \ 161 -Wno-unused-parameter \ 162 -Wno-missing-field-initializers \ 163 -fvisibility=hidden \ 164 -pipe \ 165 -fPIC \ 166 -Wno-unused-local-typedefs \ 167 -msse2 \ 168 -mfpmath=sse \ 169 -mmmx \ 170 -m32 \ 171 -ffunction-sections \ 172 -funwind-tables \ 173 -g \ 174 -fno-short-enums \ 175 -finline-limit=64 \ 176 -Wa,--noexecstack \ 177 -U_FORTIFY_SOURCE \ 178 -Wno-extra \ 179 -Wno-ignored-qualifiers \ 180 -Wno-type-limits \ 181 -Wno-unused-but-set-variable \ 182 -fno-stack-protector \ 183 -Os \ 184 -fno-ident \ 185 -fdata-sections \ 186 -ffunction-sections \ 187 -fomit-frame-pointer \ 188 -funwind-tables 189 190MY_DEFS_Release := \ 191 '-DV8_DEPRECATION_WARNINGS' \ 192 '-D_FILE_OFFSET_BITS=64' \ 193 '-DNO_TCMALLOC' \ 194 '-DDISABLE_NACL' \ 195 '-DCHROMIUM_BUILD' \ 196 '-DUSE_LIBJPEG_TURBO=1' \ 197 '-DENABLE_WEBRTC=1' \ 198 '-DUSE_PROPRIETARY_CODECS' \ 199 '-DENABLE_BROWSER_CDMS' \ 200 '-DENABLE_CONFIGURATION_POLICY' \ 201 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 202 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 203 '-DENABLE_EGLIMAGE=1' \ 204 '-DCLD_VERSION=1' \ 205 '-DENABLE_PRINTING=1' \ 206 '-DENABLE_MANAGED_USERS=1' \ 207 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 208 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 209 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 210 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 211 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 212 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 213 '-DVIDEO_HOLE=1' \ 214 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 215 '-DLIBXML_STATIC' \ 216 '-DU_USING_ICU_NAMESPACE=0' \ 217 '-DU_ENABLE_DYLOAD=0' \ 218 '-DUSE_OPENSSL=1' \ 219 '-DUSE_OPENSSL_CERTS=1' \ 220 '-D__STDC_CONSTANT_MACROS' \ 221 '-D__STDC_FORMAT_MACROS' \ 222 '-DANDROID' \ 223 '-D__GNU_SOURCE=1' \ 224 '-DUSE_STLPORT=1' \ 225 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 226 '-DCHROME_BUILD_ID=""' \ 227 '-DNDEBUG' \ 228 '-DNVALGRIND' \ 229 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 230 '-D_FORTIFY_SOURCE=2' 231 232 233# Include paths placed before CFLAGS/CPPFLAGS 234LOCAL_C_INCLUDES_Release := \ 235 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 236 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 237 $(gyp_shared_intermediate_dir) \ 238 $(LOCAL_PATH) \ 239 $(LOCAL_PATH)/third_party/libxml/linux/include \ 240 $(LOCAL_PATH)/third_party/libxml/src/include \ 241 $(PWD)/external/icu/icu4c/source/common \ 242 $(PWD)/external/icu/icu4c/source/i18n \ 243 $(PWD)/frameworks/wilhelm/include \ 244 $(PWD)/bionic \ 245 $(PWD)/external/stlport/stlport 246 247 248# Flags passed to only C++ (and not C) files. 249LOCAL_CPPFLAGS_Release := \ 250 -fno-exceptions \ 251 -fno-rtti \ 252 -fno-threadsafe-statics \ 253 -fvisibility-inlines-hidden \ 254 -Wsign-compare \ 255 -std=gnu++11 \ 256 -Wno-narrowing \ 257 -Wno-literal-suffix \ 258 -Wno-non-virtual-dtor \ 259 -Wno-sign-promo 260 261 262LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 263LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 264LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 265LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 266### Rules for final target. 267 268LOCAL_SHARED_LIBRARIES := \ 269 libstlport \ 270 libdl 271 272# Add target alias to "gyp_all_modules" target. 273.PHONY: gyp_all_modules 274gyp_all_modules: google_apis_google_apis_gyp 275 276# Alias gyp target name. 277.PHONY: google_apis 278google_apis: google_apis_google_apis_gyp 279 280include $(BUILD_STATIC_LIBRARY) 281