1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_data_reduction_proxy_browser_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 $(call intermediates-dir-for,GYP,components_data_reduction_proxy_version_header_gyp,,,$(GYP_VAR_PREFIX))/data_reduction_proxy_version_header.stamp 15 16GYP_GENERATED_OUTPUTS := 17 18# Make sure our deps and generated files are built first. 19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21LOCAL_CPP_EXTENSION := .cc 22LOCAL_GENERATED_SOURCES := 23 24GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26LOCAL_SRC_FILES := \ 27 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc \ 28 components/data_reduction_proxy/browser/data_reduction_proxy_config_service.cc \ 29 components/data_reduction_proxy/browser/data_reduction_proxy_delegate.cc \ 30 components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc \ 31 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc \ 32 components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc \ 33 components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc \ 34 components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc \ 35 components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc \ 36 components/data_reduction_proxy/browser/data_reduction_proxy_tamper_detection.cc \ 37 components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc 38 39 40# Flags passed to both C and C++ files. 41MY_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 73MY_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 '-DPOSIX_AVOID_MMAP' \ 99 '-DUSE_OPENSSL=1' \ 100 '-DUSE_OPENSSL_CERTS=1' \ 101 '-D__STDC_CONSTANT_MACROS' \ 102 '-D__STDC_FORMAT_MACROS' \ 103 '-DANDROID' \ 104 '-D__GNU_SOURCE=1' \ 105 '-DUSE_STLPORT=1' \ 106 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 107 '-DCHROME_BUILD_ID=""' \ 108 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 109 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 110 '-D_DEBUG' 111 112 113# Include paths placed before CFLAGS/CPPFLAGS 114LOCAL_C_INCLUDES_Debug := \ 115 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 116 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 117 $(gyp_shared_intermediate_dir) \ 118 $(LOCAL_PATH) \ 119 $(LOCAL_PATH)/skia/config \ 120 $(PWD)/frameworks/wilhelm/include \ 121 $(PWD)/bionic \ 122 $(PWD)/external/stlport/stlport 123 124 125# Flags passed to only C++ (and not C) files. 126LOCAL_CPPFLAGS_Debug := \ 127 -fno-exceptions \ 128 -fno-rtti \ 129 -fno-threadsafe-statics \ 130 -fvisibility-inlines-hidden \ 131 -Wsign-compare \ 132 -Wno-uninitialized \ 133 -std=gnu++11 \ 134 -Wno-narrowing \ 135 -Wno-literal-suffix \ 136 -Wno-non-virtual-dtor \ 137 -Wno-sign-promo 138 139 140# Flags passed to both C and C++ files. 141MY_CFLAGS_Release := \ 142 -fstack-protector \ 143 --param=ssp-buffer-size=4 \ 144 \ 145 -fno-strict-aliasing \ 146 -Wall \ 147 -Wno-unused-parameter \ 148 -Wno-missing-field-initializers \ 149 -fvisibility=hidden \ 150 -pipe \ 151 -fPIC \ 152 -Wno-unused-local-typedefs \ 153 -ffunction-sections \ 154 -funwind-tables \ 155 -g \ 156 -fstack-protector \ 157 -fno-short-enums \ 158 -finline-limit=64 \ 159 -Wa,--noexecstack \ 160 -U_FORTIFY_SOURCE \ 161 -Wno-extra \ 162 -Wno-ignored-qualifiers \ 163 -Wno-type-limits \ 164 -Wno-unused-but-set-variable \ 165 -Os \ 166 -fno-ident \ 167 -fdata-sections \ 168 -ffunction-sections \ 169 -fomit-frame-pointer \ 170 -funwind-tables 171 172MY_DEFS_Release := \ 173 '-DV8_DEPRECATION_WARNINGS' \ 174 '-D_FILE_OFFSET_BITS=64' \ 175 '-DNO_TCMALLOC' \ 176 '-DDISABLE_NACL' \ 177 '-DCHROMIUM_BUILD' \ 178 '-DUSE_LIBJPEG_TURBO=1' \ 179 '-DENABLE_WEBRTC=1' \ 180 '-DUSE_PROPRIETARY_CODECS' \ 181 '-DENABLE_BROWSER_CDMS' \ 182 '-DENABLE_CONFIGURATION_POLICY' \ 183 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 184 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 185 '-DENABLE_EGLIMAGE=1' \ 186 '-DCLD_VERSION=1' \ 187 '-DENABLE_PRINTING=1' \ 188 '-DENABLE_MANAGED_USERS=1' \ 189 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 190 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 191 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 192 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 193 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 194 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 195 '-DVIDEO_HOLE=1' \ 196 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 197 '-DPOSIX_AVOID_MMAP' \ 198 '-DUSE_OPENSSL=1' \ 199 '-DUSE_OPENSSL_CERTS=1' \ 200 '-D__STDC_CONSTANT_MACROS' \ 201 '-D__STDC_FORMAT_MACROS' \ 202 '-DANDROID' \ 203 '-D__GNU_SOURCE=1' \ 204 '-DUSE_STLPORT=1' \ 205 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 206 '-DCHROME_BUILD_ID=""' \ 207 '-DNDEBUG' \ 208 '-DNVALGRIND' \ 209 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 210 '-D_FORTIFY_SOURCE=2' 211 212 213# Include paths placed before CFLAGS/CPPFLAGS 214LOCAL_C_INCLUDES_Release := \ 215 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 216 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 217 $(gyp_shared_intermediate_dir) \ 218 $(LOCAL_PATH) \ 219 $(LOCAL_PATH)/skia/config \ 220 $(PWD)/frameworks/wilhelm/include \ 221 $(PWD)/bionic \ 222 $(PWD)/external/stlport/stlport 223 224 225# Flags passed to only C++ (and not C) files. 226LOCAL_CPPFLAGS_Release := \ 227 -fno-exceptions \ 228 -fno-rtti \ 229 -fno-threadsafe-statics \ 230 -fvisibility-inlines-hidden \ 231 -Wsign-compare \ 232 -Wno-uninitialized \ 233 -std=gnu++11 \ 234 -Wno-narrowing \ 235 -Wno-literal-suffix \ 236 -Wno-non-virtual-dtor \ 237 -Wno-sign-promo 238 239 240LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 241LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 242LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 243LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 244### Rules for final target. 245 246LOCAL_SHARED_LIBRARIES := \ 247 libstlport \ 248 libdl 249 250# Add target alias to "gyp_all_modules" target. 251.PHONY: gyp_all_modules 252gyp_all_modules: components_data_reduction_proxy_browser_gyp 253 254# Alias gyp target name. 255.PHONY: data_reduction_proxy_browser 256data_reduction_proxy_browser: components_data_reduction_proxy_browser_gyp 257 258include $(BUILD_STATIC_LIBRARY) 259