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_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 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-exceptions \ 36 -fno-strict-aliasing \ 37 -Wall \ 38 -Wno-unused-parameter \ 39 -Wno-missing-field-initializers \ 40 -fvisibility=hidden \ 41 -pipe \ 42 -fPIC \ 43 -EL \ 44 -mhard-float \ 45 -ffunction-sections \ 46 -funwind-tables \ 47 -g \ 48 -fstack-protector \ 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 -Os \ 57 -g \ 58 -fomit-frame-pointer \ 59 -fdata-sections \ 60 -ffunction-sections 61 62 MY_DEFS_Debug := \ 63 '-DV8_DEPRECATION_WARNINGS' \ 64 '-D_FILE_OFFSET_BITS=64' \ 65 '-DNO_TCMALLOC' \ 66 '-DDISABLE_NACL' \ 67 '-DCHROMIUM_BUILD' \ 68 '-DUSE_LIBJPEG_TURBO=1' \ 69 '-DUSE_PROPRIETARY_CODECS' \ 70 '-DENABLE_CONFIGURATION_POLICY' \ 71 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 72 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 73 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 74 '-DUSE_OPENSSL=1' \ 75 '-DENABLE_EGLIMAGE=1' \ 76 '-DCLD_VERSION=1' \ 77 '-DENABLE_PRINTING=1' \ 78 '-DENABLE_MANAGED_USERS=1' \ 79 '-D__STDC_CONSTANT_MACROS' \ 80 '-D__STDC_FORMAT_MACROS' \ 81 '-DANDROID' \ 82 '-D__GNU_SOURCE=1' \ 83 '-DUSE_STLPORT=1' \ 84 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 85 '-DCHROME_BUILD_ID=""' \ 86 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 87 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 88 '-D_DEBUG' 89 90 91 # Include paths placed before CFLAGS/CPPFLAGS 92 LOCAL_C_INCLUDES_Debug := \ 93 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 94 $(LOCAL_PATH) \ 95 $(PWD)/frameworks/wilhelm/include \ 96 $(PWD)/bionic \ 97 $(PWD)/external/stlport/stlport 98 99 100 # Flags passed to only C++ (and not C) files. 101 LOCAL_CPPFLAGS_Debug := \ 102 -fno-rtti \ 103 -fno-threadsafe-statics \ 104 -fvisibility-inlines-hidden \ 105 -Wsign-compare \ 106 -Wno-uninitialized \ 107 -Wno-error=c++0x-compat \ 108 -Wno-non-virtual-dtor \ 109 -Wno-sign-promo 110 111 112 # Flags passed to both C and C++ files. 113 MY_CFLAGS_Release := \ 114 -fstack-protector \ 115 --param=ssp-buffer-size=4 \ 116 \ 117 -fno-exceptions \ 118 -fno-strict-aliasing \ 119 -Wall \ 120 -Wno-unused-parameter \ 121 -Wno-missing-field-initializers \ 122 -fvisibility=hidden \ 123 -pipe \ 124 -fPIC \ 125 -EL \ 126 -mhard-float \ 127 -ffunction-sections \ 128 -funwind-tables \ 129 -g \ 130 -fstack-protector \ 131 -fno-short-enums \ 132 -finline-limit=64 \ 133 -Wa,--noexecstack \ 134 -U_FORTIFY_SOURCE \ 135 -Wno-extra \ 136 -Wno-ignored-qualifiers \ 137 -Wno-type-limits \ 138 -Os \ 139 -fno-ident \ 140 -fdata-sections \ 141 -ffunction-sections \ 142 -fomit-frame-pointer 143 144 MY_DEFS_Release := \ 145 '-DV8_DEPRECATION_WARNINGS' \ 146 '-D_FILE_OFFSET_BITS=64' \ 147 '-DNO_TCMALLOC' \ 148 '-DDISABLE_NACL' \ 149 '-DCHROMIUM_BUILD' \ 150 '-DUSE_LIBJPEG_TURBO=1' \ 151 '-DUSE_PROPRIETARY_CODECS' \ 152 '-DENABLE_CONFIGURATION_POLICY' \ 153 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 154 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 155 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 156 '-DUSE_OPENSSL=1' \ 157 '-DENABLE_EGLIMAGE=1' \ 158 '-DCLD_VERSION=1' \ 159 '-DENABLE_PRINTING=1' \ 160 '-DENABLE_MANAGED_USERS=1' \ 161 '-D__STDC_CONSTANT_MACROS' \ 162 '-D__STDC_FORMAT_MACROS' \ 163 '-DANDROID' \ 164 '-D__GNU_SOURCE=1' \ 165 '-DUSE_STLPORT=1' \ 166 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 167 '-DCHROME_BUILD_ID=""' \ 168 '-DNDEBUG' \ 169 '-DNVALGRIND' \ 170 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 171 '-D_FORTIFY_SOURCE=2' 172 173 174 # Include paths placed before CFLAGS/CPPFLAGS 175 LOCAL_C_INCLUDES_Release := \ 176 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 177 $(LOCAL_PATH) \ 178 $(PWD)/frameworks/wilhelm/include \ 179 $(PWD)/bionic \ 180 $(PWD)/external/stlport/stlport 181 182 183 # Flags passed to only C++ (and not C) files. 184 LOCAL_CPPFLAGS_Release := \ 185 -fno-rtti \ 186 -fno-threadsafe-statics \ 187 -fvisibility-inlines-hidden \ 188 -Wsign-compare \ 189 -Wno-uninitialized \ 190 -Wno-error=c++0x-compat \ 191 -Wno-non-virtual-dtor \ 192 -Wno-sign-promo 193 194 195 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 196 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 197 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 198 ### Rules for final target. 199 200 LOCAL_LDFLAGS_Debug := \ 201 -Wl,-z,now \ 202 -Wl,-z,relro \ 203 -Wl,-z,noexecstack \ 204 -fPIC \ 205 -EL \ 206 -Wl,--no-keep-memory \ 207 -nostdlib \ 208 -Wl,--no-undefined \ 209 -Wl,--exclude-libs=ALL \ 210 -Wl,--fatal-warnings \ 211 -Wl,--gc-sections \ 212 -Wl,--warn-shared-textrel \ 213 -Wl,-O1 \ 214 -Wl,--as-needed 215 216 217 LOCAL_LDFLAGS_Release := \ 218 -Wl,-z,now \ 219 -Wl,-z,relro \ 220 -Wl,-z,noexecstack \ 221 -fPIC \ 222 -EL \ 223 -Wl,--no-keep-memory \ 224 -nostdlib \ 225 -Wl,--no-undefined \ 226 -Wl,--exclude-libs=ALL \ 227 -Wl,-O1 \ 228 -Wl,--as-needed \ 229 -Wl,--gc-sections \ 230 -Wl,--fatal-warnings \ 231 -Wl,--warn-shared-textrel 232 233 234 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 235 236 LOCAL_STATIC_LIBRARIES := 237 238 # Enable grouping to fix circular references 239 LOCAL_GROUP_STATIC_LIBRARIES := true 240 241 LOCAL_SHARED_LIBRARIES := \ 242 libstlport \ 243 libdl 244 245 # Add target alias to "gyp_all_modules" target. 246 .PHONY: gyp_all_modules 247 gyp_all_modules: components_tracing_gyp 248 249 # Alias gyp target name. 250 .PHONY: tracing 251 tracing: components_tracing_gyp 252 253 include $(BUILD_STATIC_LIBRARY) 254