tracing.target.linux-mips.mk revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
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 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := 14 15GYP_GENERATED_OUTPUTS := 16 17# Make sure our deps and generated files are built first. 18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20LOCAL_CPP_EXTENSION := .cc 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_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. 31MY_CFLAGS := \ 32 -fstack-protector \ 33 --param=ssp-buffer-size=4 \ 34 \ 35 -fno-exceptions \ 36 -fno-strict-aliasing \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -Wno-format \ 43 -EL \ 44 -mhard-float \ 45 -mips32r2 \ 46 -Wa,-mips32r2 \ 47 --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \ 48 -ffunction-sections \ 49 -funwind-tables \ 50 -g \ 51 -fstack-protector \ 52 -fno-short-enums \ 53 -finline-limit=64 \ 54 -Wa,--noexecstack \ 55 -U_FORTIFY_SOURCE \ 56 -Wno-extra \ 57 -Wno-ignored-qualifiers \ 58 -Wno-type-limits \ 59 -Wno-address \ 60 -Wno-format-security \ 61 -Wno-return-type \ 62 -Wno-sequence-point \ 63 -Os \ 64 -g \ 65 -fomit-frame-pointer \ 66 -fdata-sections \ 67 -ffunction-sections 68 69MY_CFLAGS_C := 70 71MY_DEFS := \ 72 '-DANGLE_DX11' \ 73 '-D_FILE_OFFSET_BITS=64' \ 74 '-DNO_TCMALLOC' \ 75 '-DDISABLE_NACL' \ 76 '-DCHROMIUM_BUILD' \ 77 '-DUSE_LIBJPEG_TURBO=1' \ 78 '-DUSE_PROPRIETARY_CODECS' \ 79 '-DENABLE_GPU=1' \ 80 '-DUSE_OPENSSL=1' \ 81 '-DENABLE_EGLIMAGE=1' \ 82 '-DENABLE_LANGUAGE_DETECTION=1' \ 83 '-DANDROID' \ 84 '-D__GNU_SOURCE=1' \ 85 '-DUSE_STLPORT=1' \ 86 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 87 '-DCHROME_BUILD_ID=""' \ 88 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 89 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 90 '-D_DEBUG' 91 92LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) 93 94# Include paths placed before CFLAGS/CPPFLAGS 95LOCAL_C_INCLUDES := \ 96 $(LOCAL_PATH) \ 97 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 98 $(PWD)/frameworks/wilhelm/include \ 99 $(PWD)/bionic \ 100 $(PWD)/external/stlport/stlport 101 102LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) 103 104# Flags passed to only C++ (and not C) files. 105LOCAL_CPPFLAGS := \ 106 -fno-rtti \ 107 -fno-threadsafe-statics \ 108 -fvisibility-inlines-hidden \ 109 -Wno-deprecated \ 110 -Wno-uninitialized \ 111 -Wno-error=c++0x-compat \ 112 -Wno-non-virtual-dtor \ 113 -Wno-sign-promo \ 114 -Wno-non-virtual-dtor 115 116### Rules for final target. 117 118LOCAL_LDFLAGS := \ 119 -Wl,-z,now \ 120 -Wl,-z,relro \ 121 -Wl,-z,noexecstack \ 122 -fPIC \ 123 -EL \ 124 -Wl,--no-keep-memory \ 125 --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \ 126 \ 127 -nostdlib \ 128 -Wl,--no-undefined \ 129 -Wl,--exclude-libs=ALL \ 130 -Wl,--gc-sections \ 131 -Wl,-O1 \ 132 -Wl,--as-needed 133 134 135LOCAL_STATIC_LIBRARIES := 136 137# Enable grouping to fix circular references 138LOCAL_GROUP_STATIC_LIBRARIES := true 139 140LOCAL_SHARED_LIBRARIES := \ 141 libstlport \ 142 libdl 143 144# Add target alias to "gyp_all_modules" target. 145.PHONY: gyp_all_modules 146gyp_all_modules: components_tracing_gyp 147 148# Alias gyp target name. 149.PHONY: tracing 150tracing: components_tracing_gyp 151 152include $(BUILD_STATIC_LIBRARY) 153