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 := gpu_gpu_ipc_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 $(call intermediates-dir-for,GYP,third_party_khronos_khronos_headers_gyp)/khronos_headers.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 gpu/ipc/gpu_command_buffer_traits.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-exceptions \ 35 -fno-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -m32 \ 43 -mmmx \ 44 -march=pentium4 \ 45 -msse2 \ 46 -mfpmath=sse \ 47 -fuse-ld=gold \ 48 -ffunction-sections \ 49 -funwind-tables \ 50 -g \ 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 -fno-stack-protector \ 59 -Os \ 60 -g \ 61 -fomit-frame-pointer \ 62 -fdata-sections \ 63 -ffunction-sections 64 65 MY_DEFS_Debug := \ 66 '-DV8_DEPRECATION_WARNINGS' \ 67 '-D_FILE_OFFSET_BITS=64' \ 68 '-DNO_TCMALLOC' \ 69 '-DDISABLE_NACL' \ 70 '-DCHROMIUM_BUILD' \ 71 '-DUSE_LIBJPEG_TURBO=1' \ 72 '-DUSE_PROPRIETARY_CODECS' \ 73 '-DENABLE_CONFIGURATION_POLICY' \ 74 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 75 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 76 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 77 '-DUSE_OPENSSL=1' \ 78 '-DENABLE_EGLIMAGE=1' \ 79 '-DCLD_VERSION=1' \ 80 '-DENABLE_PRINTING=1' \ 81 '-DENABLE_MANAGED_USERS=1' \ 82 '-D__STDC_CONSTANT_MACROS' \ 83 '-D__STDC_FORMAT_MACROS' \ 84 '-DANDROID' \ 85 '-D__GNU_SOURCE=1' \ 86 '-DUSE_STLPORT=1' \ 87 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 88 '-DCHROME_BUILD_ID=""' \ 89 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 90 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 91 '-D_DEBUG' 92 93 94 # Include paths placed before CFLAGS/CPPFLAGS 95 LOCAL_C_INCLUDES_Debug := \ 96 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 97 $(LOCAL_PATH) \ 98 $(LOCAL_PATH)/third_party/khronos \ 99 $(LOCAL_PATH)/gpu \ 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. 106 LOCAL_CPPFLAGS_Debug := \ 107 -fno-rtti \ 108 -fno-threadsafe-statics \ 109 -fvisibility-inlines-hidden \ 110 -Wsign-compare \ 111 -Wno-error=c++0x-compat \ 112 -Wno-non-virtual-dtor \ 113 -Wno-sign-promo 114 115 116 # Flags passed to both C and C++ files. 117 MY_CFLAGS_Release := \ 118 --param=ssp-buffer-size=4 \ 119 -Werror \ 120 -fno-exceptions \ 121 -fno-strict-aliasing \ 122 -Wall \ 123 -Wno-unused-parameter \ 124 -Wno-missing-field-initializers \ 125 -fvisibility=hidden \ 126 -pipe \ 127 -fPIC \ 128 -m32 \ 129 -mmmx \ 130 -march=pentium4 \ 131 -msse2 \ 132 -mfpmath=sse \ 133 -fuse-ld=gold \ 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 -fno-stack-protector \ 145 -Os \ 146 -fno-ident \ 147 -fdata-sections \ 148 -ffunction-sections \ 149 -fomit-frame-pointer \ 150 -fno-unwind-tables \ 151 -fno-asynchronous-unwind-tables 152 153 MY_DEFS_Release := \ 154 '-DV8_DEPRECATION_WARNINGS' \ 155 '-D_FILE_OFFSET_BITS=64' \ 156 '-DNO_TCMALLOC' \ 157 '-DDISABLE_NACL' \ 158 '-DCHROMIUM_BUILD' \ 159 '-DUSE_LIBJPEG_TURBO=1' \ 160 '-DUSE_PROPRIETARY_CODECS' \ 161 '-DENABLE_CONFIGURATION_POLICY' \ 162 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 163 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 164 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 165 '-DUSE_OPENSSL=1' \ 166 '-DENABLE_EGLIMAGE=1' \ 167 '-DCLD_VERSION=1' \ 168 '-DENABLE_PRINTING=1' \ 169 '-DENABLE_MANAGED_USERS=1' \ 170 '-D__STDC_CONSTANT_MACROS' \ 171 '-D__STDC_FORMAT_MACROS' \ 172 '-DANDROID' \ 173 '-D__GNU_SOURCE=1' \ 174 '-DUSE_STLPORT=1' \ 175 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 176 '-DCHROME_BUILD_ID=""' \ 177 '-DNDEBUG' \ 178 '-DNVALGRIND' \ 179 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 180 '-D_FORTIFY_SOURCE=2' 181 182 183 # Include paths placed before CFLAGS/CPPFLAGS 184 LOCAL_C_INCLUDES_Release := \ 185 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 186 $(LOCAL_PATH) \ 187 $(LOCAL_PATH)/third_party/khronos \ 188 $(LOCAL_PATH)/gpu \ 189 $(PWD)/frameworks/wilhelm/include \ 190 $(PWD)/bionic \ 191 $(PWD)/external/stlport/stlport 192 193 194 # Flags passed to only C++ (and not C) files. 195 LOCAL_CPPFLAGS_Release := \ 196 -fno-rtti \ 197 -fno-threadsafe-statics \ 198 -fvisibility-inlines-hidden \ 199 -Wsign-compare \ 200 -Wno-error=c++0x-compat \ 201 -Wno-non-virtual-dtor \ 202 -Wno-sign-promo 203 204 205 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 206 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 207 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 208 ### Rules for final target. 209 210 LOCAL_LDFLAGS_Debug := \ 211 -Wl,-z,now \ 212 -Wl,-z,relro \ 213 -Wl,-z,noexecstack \ 214 -fPIC \ 215 -m32 \ 216 -fuse-ld=gold \ 217 -nostdlib \ 218 -Wl,--no-undefined \ 219 -Wl,--exclude-libs=ALL \ 220 -Wl,--fatal-warnings \ 221 -Wl,--gc-sections \ 222 -Wl,--warn-shared-textrel \ 223 -Wl,-O1 \ 224 -Wl,--as-needed 225 226 227 LOCAL_LDFLAGS_Release := \ 228 -Wl,-z,now \ 229 -Wl,-z,relro \ 230 -Wl,-z,noexecstack \ 231 -fPIC \ 232 -m32 \ 233 -fuse-ld=gold \ 234 -nostdlib \ 235 -Wl,--no-undefined \ 236 -Wl,--exclude-libs=ALL \ 237 -Wl,-O1 \ 238 -Wl,--as-needed \ 239 -Wl,--gc-sections \ 240 -Wl,--fatal-warnings \ 241 -Wl,--warn-shared-textrel 242 243 244 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 245 246 LOCAL_STATIC_LIBRARIES := 247 248 # Enable grouping to fix circular references 249 LOCAL_GROUP_STATIC_LIBRARIES := true 250 251 LOCAL_SHARED_LIBRARIES := \ 252 libstlport \ 253 libdl 254 255 # Add target alias to "gyp_all_modules" target. 256 .PHONY: gyp_all_modules 257 gyp_all_modules: gpu_gpu_ipc_gyp 258 259 # Alias gyp target name. 260 .PHONY: gpu_ipc 261 gpu_ipc: gpu_gpu_ipc_gyp 262 263 include $(BUILD_STATIC_LIBRARY) 264