qcms.target.linux-mips.mk revision effb81e5f8246d0db0270817048dc992db66e9fb
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_qcms_qcms_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_GENERATED_SOURCES := 21 22GYP_COPIED_SOURCE_ORIGIN_DIRS := 23 24LOCAL_SRC_FILES := \ 25 third_party/qcms/src/chain.c \ 26 third_party/qcms/src/iccread.c \ 27 third_party/qcms/src/matrix.c \ 28 third_party/qcms/src/transform.c \ 29 third_party/qcms/src/transform_util.c 30 31 32# Flags passed to both C and C++ files. 33MY_CFLAGS_Debug := \ 34 -fstack-protector \ 35 --param=ssp-buffer-size=4 \ 36 \ 37 -fno-exceptions \ 38 -fno-strict-aliasing \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-format \ 45 -EL \ 46 -mhard-float \ 47 -ffunction-sections \ 48 -funwind-tables \ 49 -g \ 50 -fstack-protector \ 51 -fno-short-enums \ 52 -finline-limit=64 \ 53 -Wa,--noexecstack \ 54 -U_FORTIFY_SOURCE \ 55 -Wno-extra \ 56 -Wno-ignored-qualifiers \ 57 -Wno-type-limits \ 58 -Wno-unused-but-set-variable \ 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 -funwind-tables 69 70MY_DEFS_Debug := \ 71 '-DV8_DEPRECATION_WARNINGS' \ 72 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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_CONFIGURATION_POLICY' \ 80 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 81 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DCLD_VERSION=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DENABLE_MANAGED_USERS=1' \ 86 '-DUSE_OPENSSL=1' \ 87 '-DUSE_OPENSSL_CERTS=1' \ 88 '-DANDROID' \ 89 '-D__GNU_SOURCE=1' \ 90 '-DUSE_STLPORT=1' \ 91 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 92 '-DCHROME_BUILD_ID=""' \ 93 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 94 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 95 '-D_DEBUG' 96 97 98# Include paths placed before CFLAGS/CPPFLAGS 99LOCAL_C_INCLUDES_Debug := \ 100 $(PWD)/frameworks/wilhelm/include \ 101 $(PWD)/bionic \ 102 $(PWD)/external/stlport/stlport 103 104 105# Flags passed to only C++ (and not C) files. 106LOCAL_CPPFLAGS_Debug := \ 107 -fno-rtti \ 108 -fno-threadsafe-statics \ 109 -fvisibility-inlines-hidden \ 110 -Wno-deprecated \ 111 -Wno-uninitialized \ 112 -Wno-non-virtual-dtor \ 113 -Wno-sign-promo \ 114 -Wno-non-virtual-dtor 115 116 117# Flags passed to both C and C++ files. 118MY_CFLAGS_Release := \ 119 -fstack-protector \ 120 --param=ssp-buffer-size=4 \ 121 \ 122 -fno-exceptions \ 123 -fno-strict-aliasing \ 124 -Wno-unused-parameter \ 125 -Wno-missing-field-initializers \ 126 -fvisibility=hidden \ 127 -pipe \ 128 -fPIC \ 129 -Wno-format \ 130 -EL \ 131 -mhard-float \ 132 -ffunction-sections \ 133 -funwind-tables \ 134 -g \ 135 -fstack-protector \ 136 -fno-short-enums \ 137 -finline-limit=64 \ 138 -Wa,--noexecstack \ 139 -U_FORTIFY_SOURCE \ 140 -Wno-extra \ 141 -Wno-ignored-qualifiers \ 142 -Wno-type-limits \ 143 -Wno-unused-but-set-variable \ 144 -Wno-address \ 145 -Wno-format-security \ 146 -Wno-return-type \ 147 -Wno-sequence-point \ 148 -Os \ 149 -fno-ident \ 150 -fdata-sections \ 151 -ffunction-sections \ 152 -fomit-frame-pointer \ 153 -funwind-tables 154 155MY_DEFS_Release := \ 156 '-DV8_DEPRECATION_WARNINGS' \ 157 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 158 '-D_FILE_OFFSET_BITS=64' \ 159 '-DNO_TCMALLOC' \ 160 '-DDISABLE_NACL' \ 161 '-DCHROMIUM_BUILD' \ 162 '-DUSE_LIBJPEG_TURBO=1' \ 163 '-DUSE_PROPRIETARY_CODECS' \ 164 '-DENABLE_CONFIGURATION_POLICY' \ 165 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 166 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 167 '-DENABLE_EGLIMAGE=1' \ 168 '-DCLD_VERSION=1' \ 169 '-DENABLE_PRINTING=1' \ 170 '-DENABLE_MANAGED_USERS=1' \ 171 '-DUSE_OPENSSL=1' \ 172 '-DUSE_OPENSSL_CERTS=1' \ 173 '-DANDROID' \ 174 '-D__GNU_SOURCE=1' \ 175 '-DUSE_STLPORT=1' \ 176 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 177 '-DCHROME_BUILD_ID=""' \ 178 '-DNDEBUG' \ 179 '-DNVALGRIND' \ 180 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 181 182 183# Include paths placed before CFLAGS/CPPFLAGS 184LOCAL_C_INCLUDES_Release := \ 185 $(PWD)/frameworks/wilhelm/include \ 186 $(PWD)/bionic \ 187 $(PWD)/external/stlport/stlport 188 189 190# Flags passed to only C++ (and not C) files. 191LOCAL_CPPFLAGS_Release := \ 192 -fno-rtti \ 193 -fno-threadsafe-statics \ 194 -fvisibility-inlines-hidden \ 195 -Wno-deprecated \ 196 -Wno-uninitialized \ 197 -Wno-non-virtual-dtor \ 198 -Wno-sign-promo \ 199 -Wno-non-virtual-dtor 200 201 202LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 203LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 204LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 205LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 206### Rules for final target. 207 208LOCAL_LDFLAGS_Debug := \ 209 -Wl,--fatal-warnings \ 210 -Wl,-z,now \ 211 -Wl,-z,relro \ 212 -Wl,-z,noexecstack \ 213 -fPIC \ 214 -EL \ 215 -Wl,--no-keep-memory \ 216 -nostdlib \ 217 -Wl,--no-undefined \ 218 -Wl,--exclude-libs=ALL \ 219 -Wl,--gc-sections \ 220 -Wl,--warn-shared-textrel \ 221 -Wl,-O1 \ 222 -Wl,--as-needed 223 224 225LOCAL_LDFLAGS_Release := \ 226 -Wl,--fatal-warnings \ 227 -Wl,-z,now \ 228 -Wl,-z,relro \ 229 -Wl,-z,noexecstack \ 230 -fPIC \ 231 -EL \ 232 -Wl,--no-keep-memory \ 233 -nostdlib \ 234 -Wl,--no-undefined \ 235 -Wl,--exclude-libs=ALL \ 236 -Wl,-O1 \ 237 -Wl,--as-needed \ 238 -Wl,--gc-sections \ 239 -Wl,--warn-shared-textrel 240 241 242LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 243 244LOCAL_STATIC_LIBRARIES := 245 246# Enable grouping to fix circular references 247LOCAL_GROUP_STATIC_LIBRARIES := true 248 249LOCAL_SHARED_LIBRARIES := \ 250 libstlport \ 251 libdl 252 253# Add target alias to "gyp_all_modules" target. 254.PHONY: gyp_all_modules 255gyp_all_modules: third_party_qcms_qcms_gyp 256 257# Alias gyp target name. 258.PHONY: qcms 259qcms: third_party_qcms_qcms_gyp 260 261include $(BUILD_STATIC_LIBRARY) 262