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_keyed_service_core_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 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_CPP_EXTENSION := .cc 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 components/keyed_service/core/dependency_graph.cc \ 27 components/keyed_service/core/keyed_service.cc 28 29 30 # Flags passed to both C and C++ files. 31 MY_CFLAGS_Debug := \ 32 -fstack-protector \ 33 --param=ssp-buffer-size=4 \ 34 -Werror \ 35 -fno-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -Wno-unused-local-typedefs \ 43 -fno-tree-sra \ 44 -fno-caller-saves \ 45 -Wno-psabi \ 46 -fno-partial-inlining \ 47 -fno-early-inlining \ 48 -fno-tree-copy-prop \ 49 -fno-tree-loop-optimize \ 50 -fno-move-loop-invariants \ 51 -ffunction-sections \ 52 -funwind-tables \ 53 -g \ 54 -fstack-protector \ 55 -fno-short-enums \ 56 -finline-limit=64 \ 57 -Wa,--noexecstack \ 58 -U_FORTIFY_SOURCE \ 59 -Wno-extra \ 60 -Wno-ignored-qualifiers \ 61 -Wno-type-limits \ 62 -Wno-unused-but-set-variable \ 63 -Os \ 64 -g \ 65 -gdwarf-4 \ 66 -fdata-sections \ 67 -ffunction-sections \ 68 -fomit-frame-pointer \ 69 -funwind-tables 70 71 MY_DEFS_Debug := \ 72 '-DV8_DEPRECATION_WARNINGS' \ 73 '-D_FILE_OFFSET_BITS=64' \ 74 '-DNO_TCMALLOC' \ 75 '-DDISABLE_NACL' \ 76 '-DCHROMIUM_BUILD' \ 77 '-DUSE_LIBJPEG_TURBO=1' \ 78 '-DENABLE_WEBRTC=1' \ 79 '-DUSE_PROPRIETARY_CODECS' \ 80 '-DENABLE_BROWSER_CDMS' \ 81 '-DENABLE_CONFIGURATION_POLICY' \ 82 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 83 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 84 '-DENABLE_EGLIMAGE=1' \ 85 '-DCLD_VERSION=1' \ 86 '-DENABLE_PRINTING=1' \ 87 '-DENABLE_MANAGED_USERS=1' \ 88 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 89 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 90 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 91 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 92 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 93 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 94 '-DVIDEO_HOLE=1' \ 95 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 96 '-DKEYED_SERVICE_IMPLEMENTATION' \ 97 '-DUSE_OPENSSL=1' \ 98 '-DUSE_OPENSSL_CERTS=1' \ 99 '-D__STDC_CONSTANT_MACROS' \ 100 '-D__STDC_FORMAT_MACROS' \ 101 '-DANDROID' \ 102 '-D__GNU_SOURCE=1' \ 103 '-DUSE_STLPORT=1' \ 104 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 105 '-DCHROME_BUILD_ID=""' \ 106 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 107 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 108 '-D_DEBUG' 109 110 111 # Include paths placed before CFLAGS/CPPFLAGS 112 LOCAL_C_INCLUDES_Debug := \ 113 $(gyp_shared_intermediate_dir) \ 114 $(LOCAL_PATH) \ 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-exceptions \ 123 -fno-rtti \ 124 -fno-threadsafe-statics \ 125 -fvisibility-inlines-hidden \ 126 -Wsign-compare \ 127 -Wno-abi \ 128 -std=gnu++11 \ 129 -Wno-narrowing \ 130 -Wno-literal-suffix \ 131 -Wno-non-virtual-dtor \ 132 -Wno-sign-promo 133 134 135 # Flags passed to both C and C++ files. 136 MY_CFLAGS_Release := \ 137 -fstack-protector \ 138 --param=ssp-buffer-size=4 \ 139 -Werror \ 140 -fno-strict-aliasing \ 141 -Wall \ 142 -Wno-unused-parameter \ 143 -Wno-missing-field-initializers \ 144 -fvisibility=hidden \ 145 -pipe \ 146 -fPIC \ 147 -Wno-unused-local-typedefs \ 148 -fno-tree-sra \ 149 -fno-caller-saves \ 150 -Wno-psabi \ 151 -fno-partial-inlining \ 152 -fno-early-inlining \ 153 -fno-tree-copy-prop \ 154 -fno-tree-loop-optimize \ 155 -fno-move-loop-invariants \ 156 -ffunction-sections \ 157 -funwind-tables \ 158 -g \ 159 -fstack-protector \ 160 -fno-short-enums \ 161 -finline-limit=64 \ 162 -Wa,--noexecstack \ 163 -U_FORTIFY_SOURCE \ 164 -Wno-extra \ 165 -Wno-ignored-qualifiers \ 166 -Wno-type-limits \ 167 -Wno-unused-but-set-variable \ 168 -Os \ 169 -fno-ident \ 170 -fdata-sections \ 171 -ffunction-sections \ 172 -fomit-frame-pointer \ 173 -funwind-tables 174 175 MY_DEFS_Release := \ 176 '-DV8_DEPRECATION_WARNINGS' \ 177 '-D_FILE_OFFSET_BITS=64' \ 178 '-DNO_TCMALLOC' \ 179 '-DDISABLE_NACL' \ 180 '-DCHROMIUM_BUILD' \ 181 '-DUSE_LIBJPEG_TURBO=1' \ 182 '-DENABLE_WEBRTC=1' \ 183 '-DUSE_PROPRIETARY_CODECS' \ 184 '-DENABLE_BROWSER_CDMS' \ 185 '-DENABLE_CONFIGURATION_POLICY' \ 186 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 187 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 188 '-DENABLE_EGLIMAGE=1' \ 189 '-DCLD_VERSION=1' \ 190 '-DENABLE_PRINTING=1' \ 191 '-DENABLE_MANAGED_USERS=1' \ 192 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 193 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 194 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 195 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 196 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 197 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 198 '-DVIDEO_HOLE=1' \ 199 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 200 '-DKEYED_SERVICE_IMPLEMENTATION' \ 201 '-DUSE_OPENSSL=1' \ 202 '-DUSE_OPENSSL_CERTS=1' \ 203 '-D__STDC_CONSTANT_MACROS' \ 204 '-D__STDC_FORMAT_MACROS' \ 205 '-DANDROID' \ 206 '-D__GNU_SOURCE=1' \ 207 '-DUSE_STLPORT=1' \ 208 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 209 '-DCHROME_BUILD_ID=""' \ 210 '-DNDEBUG' \ 211 '-DNVALGRIND' \ 212 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 213 '-D_FORTIFY_SOURCE=2' 214 215 216 # Include paths placed before CFLAGS/CPPFLAGS 217 LOCAL_C_INCLUDES_Release := \ 218 $(gyp_shared_intermediate_dir) \ 219 $(LOCAL_PATH) \ 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. 226 LOCAL_CPPFLAGS_Release := \ 227 -fno-exceptions \ 228 -fno-rtti \ 229 -fno-threadsafe-statics \ 230 -fvisibility-inlines-hidden \ 231 -Wsign-compare \ 232 -Wno-abi \ 233 -std=gnu++11 \ 234 -Wno-narrowing \ 235 -Wno-literal-suffix \ 236 -Wno-non-virtual-dtor \ 237 -Wno-sign-promo 238 239 240 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 241 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 242 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 243 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 244 ### Rules for final target. 245 246 LOCAL_SHARED_LIBRARIES := \ 247 libstlport \ 248 libdl 249 250 # Add target alias to "gyp_all_modules" target. 251 .PHONY: gyp_all_modules 252 gyp_all_modules: components_keyed_service_core_gyp 253 254 # Alias gyp target name. 255 .PHONY: keyed_service_core 256 keyed_service_core: components_keyed_service_core_gyp 257 258 include $(BUILD_STATIC_LIBRARY) 259