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