1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_tracing_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 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/tracing/child_trace_message_filter.cc \ 28 components/tracing/tracing_messages.cc 29 30 31# Flags passed to both C and C++ files. 32MY_CFLAGS_Debug := \ 33 --param=ssp-buffer-size=4 \ 34 -Werror \ 35 -fno-exceptions \ 36 -fno-strict-aliasing \ 37 -Wall \ 38 -Wno-unused-parameter \ 39 -Wno-missing-field-initializers \ 40 -fvisibility=hidden \ 41 -pipe \ 42 -fPIC \ 43 -Wno-unused-local-typedefs \ 44 -ffunction-sections \ 45 -funwind-tables \ 46 -g \ 47 -fno-short-enums \ 48 -finline-limit=64 \ 49 -Wa,--noexecstack \ 50 -U_FORTIFY_SOURCE \ 51 -Wno-extra \ 52 -Wno-ignored-qualifiers \ 53 -Wno-type-limits \ 54 -Wno-unused-but-set-variable \ 55 -Os \ 56 -g \ 57 -fdata-sections \ 58 -ffunction-sections \ 59 -funwind-tables 60 61MY_DEFS_Debug := \ 62 '-DV8_DEPRECATION_WARNINGS' \ 63 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 64 '-D_FILE_OFFSET_BITS=64' \ 65 '-DNO_TCMALLOC' \ 66 '-DDISABLE_NACL' \ 67 '-DCHROMIUM_BUILD' \ 68 '-DUSE_LIBJPEG_TURBO=1' \ 69 '-DENABLE_WEBRTC=1' \ 70 '-DUSE_PROPRIETARY_CODECS' \ 71 '-DENABLE_BROWSER_CDMS' \ 72 '-DENABLE_CONFIGURATION_POLICY' \ 73 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 74 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 75 '-DENABLE_EGLIMAGE=1' \ 76 '-DCLD_VERSION=1' \ 77 '-DENABLE_PRINTING=1' \ 78 '-DENABLE_MANAGED_USERS=1' \ 79 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 80 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 81 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 82 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 83 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 84 '-DVIDEO_HOLE=1' \ 85 '-DUSE_OPENSSL=1' \ 86 '-DUSE_OPENSSL_CERTS=1' \ 87 '-D__STDC_CONSTANT_MACROS' \ 88 '-D__STDC_FORMAT_MACROS' \ 89 '-DANDROID' \ 90 '-D__GNU_SOURCE=1' \ 91 '-DUSE_STLPORT=1' \ 92 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 93 '-DCHROME_BUILD_ID=""' \ 94 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 95 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 96 '-D_DEBUG' 97 98 99# Include paths placed before CFLAGS/CPPFLAGS 100LOCAL_C_INCLUDES_Debug := \ 101 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 102 $(gyp_shared_intermediate_dir) \ 103 $(LOCAL_PATH) \ 104 $(PWD)/frameworks/wilhelm/include \ 105 $(PWD)/bionic \ 106 $(PWD)/external/stlport/stlport 107 108 109# Flags passed to only C++ (and not C) files. 110LOCAL_CPPFLAGS_Debug := \ 111 -fno-rtti \ 112 -fno-threadsafe-statics \ 113 -fvisibility-inlines-hidden \ 114 -Wsign-compare \ 115 -Wno-non-virtual-dtor \ 116 -Wno-sign-promo 117 118 119LOCAL_FDO_SUPPORT_Debug := false 120 121# Flags passed to both C and C++ files. 122MY_CFLAGS_Release := \ 123 --param=ssp-buffer-size=4 \ 124 -Werror \ 125 -fno-exceptions \ 126 -fno-strict-aliasing \ 127 -Wall \ 128 -Wno-unused-parameter \ 129 -Wno-missing-field-initializers \ 130 -fvisibility=hidden \ 131 -pipe \ 132 -fPIC \ 133 -Wno-unused-local-typedefs \ 134 -ffunction-sections \ 135 -funwind-tables \ 136 -g \ 137 -fno-short-enums \ 138 -finline-limit=64 \ 139 -Wa,--noexecstack \ 140 -U_FORTIFY_SOURCE \ 141 -Wno-extra \ 142 -Wno-ignored-qualifiers \ 143 -Wno-type-limits \ 144 -Wno-unused-but-set-variable \ 145 -Os \ 146 -fno-ident \ 147 -fdata-sections \ 148 -ffunction-sections \ 149 -funwind-tables 150 151MY_DEFS_Release := \ 152 '-DV8_DEPRECATION_WARNINGS' \ 153 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 154 '-D_FILE_OFFSET_BITS=64' \ 155 '-DNO_TCMALLOC' \ 156 '-DDISABLE_NACL' \ 157 '-DCHROMIUM_BUILD' \ 158 '-DUSE_LIBJPEG_TURBO=1' \ 159 '-DENABLE_WEBRTC=1' \ 160 '-DUSE_PROPRIETARY_CODECS' \ 161 '-DENABLE_BROWSER_CDMS' \ 162 '-DENABLE_CONFIGURATION_POLICY' \ 163 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 164 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 165 '-DENABLE_EGLIMAGE=1' \ 166 '-DCLD_VERSION=1' \ 167 '-DENABLE_PRINTING=1' \ 168 '-DENABLE_MANAGED_USERS=1' \ 169 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 170 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 171 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 172 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 173 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 174 '-DVIDEO_HOLE=1' \ 175 '-DUSE_OPENSSL=1' \ 176 '-DUSE_OPENSSL_CERTS=1' \ 177 '-D__STDC_CONSTANT_MACROS' \ 178 '-D__STDC_FORMAT_MACROS' \ 179 '-DANDROID' \ 180 '-D__GNU_SOURCE=1' \ 181 '-DUSE_STLPORT=1' \ 182 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 183 '-DCHROME_BUILD_ID=""' \ 184 '-DNDEBUG' \ 185 '-DNVALGRIND' \ 186 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 187 '-D_FORTIFY_SOURCE=2' 188 189 190# Include paths placed before CFLAGS/CPPFLAGS 191LOCAL_C_INCLUDES_Release := \ 192 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 193 $(gyp_shared_intermediate_dir) \ 194 $(LOCAL_PATH) \ 195 $(PWD)/frameworks/wilhelm/include \ 196 $(PWD)/bionic \ 197 $(PWD)/external/stlport/stlport 198 199 200# Flags passed to only C++ (and not C) files. 201LOCAL_CPPFLAGS_Release := \ 202 -fno-rtti \ 203 -fno-threadsafe-statics \ 204 -fvisibility-inlines-hidden \ 205 -Wsign-compare \ 206 -Wno-non-virtual-dtor \ 207 -Wno-sign-promo 208 209 210LOCAL_FDO_SUPPORT_Release := false 211 212LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 213LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 214LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 215LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 216LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 217### Rules for final target. 218 219LOCAL_LDFLAGS_Debug := \ 220 -Wl,-z,now \ 221 -Wl,-z,relro \ 222 -Wl,--fatal-warnings \ 223 -Wl,-z,noexecstack \ 224 -fPIC \ 225 -nostdlib \ 226 -Wl,--no-undefined \ 227 -Wl,--exclude-libs=ALL \ 228 -Wl,--warn-shared-textrel \ 229 -Wl,-O1 \ 230 -Wl,--as-needed 231 232 233LOCAL_LDFLAGS_Release := \ 234 -Wl,-z,now \ 235 -Wl,-z,relro \ 236 -Wl,--fatal-warnings \ 237 -Wl,-z,noexecstack \ 238 -fPIC \ 239 -nostdlib \ 240 -Wl,--no-undefined \ 241 -Wl,--exclude-libs=ALL \ 242 -Wl,-O1 \ 243 -Wl,--as-needed \ 244 -Wl,--gc-sections \ 245 -Wl,--warn-shared-textrel 246 247 248LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 249 250LOCAL_STATIC_LIBRARIES := 251 252# Enable grouping to fix circular references 253LOCAL_GROUP_STATIC_LIBRARIES := true 254 255LOCAL_SHARED_LIBRARIES := \ 256 libstlport \ 257 libdl 258 259# Add target alias to "gyp_all_modules" target. 260.PHONY: gyp_all_modules 261gyp_all_modules: components_tracing_gyp 262 263# Alias gyp target name. 264.PHONY: tracing 265tracing: components_tracing_gyp 266 267include $(BUILD_STATIC_LIBRARY) 268