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