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