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 -ffunction-sections \ 43 -funwind-tables \ 44 -g \ 45 -fno-short-enums \ 46 -finline-limit=64 \ 47 -Wa,--noexecstack \ 48 -U_FORTIFY_SOURCE \ 49 -Wno-extra \ 50 -Wno-ignored-qualifiers \ 51 -Wno-type-limits \ 52 -Wno-unused-but-set-variable \ 53 -Os \ 54 -g \ 55 -gdwarf-4 \ 56 -fdata-sections \ 57 -ffunction-sections \ 58 -funwind-tables 59 60 MY_DEFS_Debug := \ 61 '-DV8_DEPRECATION_WARNINGS' \ 62 '-D_FILE_OFFSET_BITS=64' \ 63 '-DNO_TCMALLOC' \ 64 '-DDISABLE_NACL' \ 65 '-DCHROMIUM_BUILD' \ 66 '-DUSE_LIBJPEG_TURBO=1' \ 67 '-DENABLE_WEBRTC=1' \ 68 '-DUSE_PROPRIETARY_CODECS' \ 69 '-DENABLE_BROWSER_CDMS' \ 70 '-DENABLE_CONFIGURATION_POLICY' \ 71 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 72 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 73 '-DENABLE_EGLIMAGE=1' \ 74 '-DCLD_VERSION=1' \ 75 '-DENABLE_PRINTING=1' \ 76 '-DENABLE_MANAGED_USERS=1' \ 77 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 78 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 79 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 80 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 81 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 82 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 83 '-DVIDEO_HOLE=1' \ 84 '-DENABLE_LOAD_COMPLETION_HACKS=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 100 LOCAL_C_INCLUDES_Debug := \ 101 $(gyp_shared_intermediate_dir) \ 102 $(LOCAL_PATH) \ 103 $(PWD)/frameworks/wilhelm/include \ 104 $(PWD)/bionic \ 105 $(PWD)/external/stlport/stlport 106 107 108 # Flags passed to only C++ (and not C) files. 109 LOCAL_CPPFLAGS_Debug := \ 110 -fno-exceptions \ 111 -fno-rtti \ 112 -fno-threadsafe-statics \ 113 -fvisibility-inlines-hidden \ 114 -Wsign-compare \ 115 -std=gnu++11 \ 116 -Wno-narrowing \ 117 -Wno-literal-suffix \ 118 -Wno-non-virtual-dtor \ 119 -Wno-sign-promo 120 121 122 # Flags passed to both C and C++ files. 123 MY_CFLAGS_Release := \ 124 --param=ssp-buffer-size=4 \ 125 -Werror \ 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 151 MY_DEFS_Release := \ 152 '-DV8_DEPRECATION_WARNINGS' \ 153 '-D_FILE_OFFSET_BITS=64' \ 154 '-DNO_TCMALLOC' \ 155 '-DDISABLE_NACL' \ 156 '-DCHROMIUM_BUILD' \ 157 '-DUSE_LIBJPEG_TURBO=1' \ 158 '-DENABLE_WEBRTC=1' \ 159 '-DUSE_PROPRIETARY_CODECS' \ 160 '-DENABLE_BROWSER_CDMS' \ 161 '-DENABLE_CONFIGURATION_POLICY' \ 162 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 163 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 164 '-DENABLE_EGLIMAGE=1' \ 165 '-DCLD_VERSION=1' \ 166 '-DENABLE_PRINTING=1' \ 167 '-DENABLE_MANAGED_USERS=1' \ 168 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 169 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 170 '-DDATA_REDUCTION_DEV_FALLBACK_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 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 176 '-DUSE_OPENSSL=1' \ 177 '-DUSE_OPENSSL_CERTS=1' \ 178 '-D__STDC_CONSTANT_MACROS' \ 179 '-D__STDC_FORMAT_MACROS' \ 180 '-DANDROID' \ 181 '-D__GNU_SOURCE=1' \ 182 '-DUSE_STLPORT=1' \ 183 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 184 '-DCHROME_BUILD_ID=""' \ 185 '-DNDEBUG' \ 186 '-DNVALGRIND' \ 187 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 188 '-D_FORTIFY_SOURCE=2' 189 190 191 # Include paths placed before CFLAGS/CPPFLAGS 192 LOCAL_C_INCLUDES_Release := \ 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. 201 LOCAL_CPPFLAGS_Release := \ 202 -fno-exceptions \ 203 -fno-rtti \ 204 -fno-threadsafe-statics \ 205 -fvisibility-inlines-hidden \ 206 -Wsign-compare \ 207 -std=gnu++11 \ 208 -Wno-narrowing \ 209 -Wno-literal-suffix \ 210 -Wno-non-virtual-dtor \ 211 -Wno-sign-promo 212 213 214 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 215 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 216 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 217 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 218 ### Rules for final target. 219 220 LOCAL_SHARED_LIBRARIES := \ 221 libstlport \ 222 libdl 223 224 # Add target alias to "gyp_all_modules" target. 225 .PHONY: gyp_all_modules 226 gyp_all_modules: components_tracing_gyp 227 228 # Alias gyp target name. 229 .PHONY: tracing 230 tracing: components_tracing_gyp 231 232 include $(BUILD_STATIC_LIBRARY) 233