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 -Werror \ 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 -fno-tree-sra \ 44 -fuse-ld=gold \ 45 -Wno-psabi \ 46 -ffunction-sections \ 47 -funwind-tables \ 48 -g \ 49 -fstack-protector \ 50 -fno-short-enums \ 51 -finline-limit=64 \ 52 -Wa,--noexecstack \ 53 -U_FORTIFY_SOURCE \ 54 -Wno-extra \ 55 -Wno-ignored-qualifiers \ 56 -Wno-type-limits \ 57 -Os \ 58 -g \ 59 -fomit-frame-pointer \ 60 -fdata-sections \ 61 -ffunction-sections 62 63 MY_DEFS_Debug := \ 64 '-DV8_DEPRECATION_WARNINGS' \ 65 '-D_FILE_OFFSET_BITS=64' \ 66 '-DNO_TCMALLOC' \ 67 '-DDISABLE_NACL' \ 68 '-DCHROMIUM_BUILD' \ 69 '-DUSE_LIBJPEG_TURBO=1' \ 70 '-DUSE_PROPRIETARY_CODECS' \ 71 '-DENABLE_CONFIGURATION_POLICY' \ 72 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 73 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 74 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 75 '-DUSE_OPENSSL=1' \ 76 '-DENABLE_EGLIMAGE=1' \ 77 '-DCLD_VERSION=1' \ 78 '-DENABLE_PRINTING=1' \ 79 '-DENABLE_MANAGED_USERS=1' \ 80 '-D__STDC_CONSTANT_MACROS' \ 81 '-D__STDC_FORMAT_MACROS' \ 82 '-DANDROID' \ 83 '-D__GNU_SOURCE=1' \ 84 '-DUSE_STLPORT=1' \ 85 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 86 '-DCHROME_BUILD_ID=""' \ 87 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 88 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 89 '-D_DEBUG' 90 91 92 # Include paths placed before CFLAGS/CPPFLAGS 93 LOCAL_C_INCLUDES_Debug := \ 94 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 95 $(LOCAL_PATH) \ 96 $(LOCAL_PATH)/third_party/khronos \ 97 $(LOCAL_PATH)/gpu \ 98 $(PWD)/frameworks/wilhelm/include \ 99 $(PWD)/bionic \ 100 $(PWD)/external/stlport/stlport 101 102 103 # Flags passed to only C++ (and not C) files. 104 LOCAL_CPPFLAGS_Debug := \ 105 -fno-rtti \ 106 -fno-threadsafe-statics \ 107 -fvisibility-inlines-hidden \ 108 -Wsign-compare \ 109 -Wno-abi \ 110 -Wno-error=c++0x-compat \ 111 -Wno-non-virtual-dtor \ 112 -Wno-sign-promo 113 114 115 # Flags passed to both C and C++ files. 116 MY_CFLAGS_Release := \ 117 -fstack-protector \ 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 -fno-tree-sra \ 129 -fuse-ld=gold \ 130 -Wno-psabi \ 131 -ffunction-sections \ 132 -funwind-tables \ 133 -g \ 134 -fstack-protector \ 135 -fno-short-enums \ 136 -finline-limit=64 \ 137 -Wa,--noexecstack \ 138 -U_FORTIFY_SOURCE \ 139 -Wno-extra \ 140 -Wno-ignored-qualifiers \ 141 -Wno-type-limits \ 142 -Os \ 143 -fno-ident \ 144 -fdata-sections \ 145 -ffunction-sections \ 146 -fomit-frame-pointer 147 148 MY_DEFS_Release := \ 149 '-DV8_DEPRECATION_WARNINGS' \ 150 '-D_FILE_OFFSET_BITS=64' \ 151 '-DNO_TCMALLOC' \ 152 '-DDISABLE_NACL' \ 153 '-DCHROMIUM_BUILD' \ 154 '-DUSE_LIBJPEG_TURBO=1' \ 155 '-DUSE_PROPRIETARY_CODECS' \ 156 '-DENABLE_CONFIGURATION_POLICY' \ 157 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 158 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 159 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 160 '-DUSE_OPENSSL=1' \ 161 '-DENABLE_EGLIMAGE=1' \ 162 '-DCLD_VERSION=1' \ 163 '-DENABLE_PRINTING=1' \ 164 '-DENABLE_MANAGED_USERS=1' \ 165 '-D__STDC_CONSTANT_MACROS' \ 166 '-D__STDC_FORMAT_MACROS' \ 167 '-DANDROID' \ 168 '-D__GNU_SOURCE=1' \ 169 '-DUSE_STLPORT=1' \ 170 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 171 '-DCHROME_BUILD_ID=""' \ 172 '-DNDEBUG' \ 173 '-DNVALGRIND' \ 174 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 175 '-D_FORTIFY_SOURCE=2' 176 177 178 # Include paths placed before CFLAGS/CPPFLAGS 179 LOCAL_C_INCLUDES_Release := \ 180 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 181 $(LOCAL_PATH) \ 182 $(LOCAL_PATH)/third_party/khronos \ 183 $(LOCAL_PATH)/gpu \ 184 $(PWD)/frameworks/wilhelm/include \ 185 $(PWD)/bionic \ 186 $(PWD)/external/stlport/stlport 187 188 189 # Flags passed to only C++ (and not C) files. 190 LOCAL_CPPFLAGS_Release := \ 191 -fno-rtti \ 192 -fno-threadsafe-statics \ 193 -fvisibility-inlines-hidden \ 194 -Wsign-compare \ 195 -Wno-abi \ 196 -Wno-error=c++0x-compat \ 197 -Wno-non-virtual-dtor \ 198 -Wno-sign-promo 199 200 201 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 202 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 203 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 204 ### Rules for final target. 205 206 LOCAL_LDFLAGS_Debug := \ 207 -Wl,-z,now \ 208 -Wl,-z,relro \ 209 -Wl,-z,noexecstack \ 210 -fPIC \ 211 -Wl,-z,relro \ 212 -Wl,-z,now \ 213 -fuse-ld=gold \ 214 -nostdlib \ 215 -Wl,--no-undefined \ 216 -Wl,--exclude-libs=ALL \ 217 -Wl,--icf=safe \ 218 -Wl,--fatal-warnings \ 219 -Wl,--gc-sections \ 220 -Wl,--warn-shared-textrel \ 221 -Wl,-O1 \ 222 -Wl,--as-needed 223 224 225 LOCAL_LDFLAGS_Release := \ 226 -Wl,-z,now \ 227 -Wl,-z,relro \ 228 -Wl,-z,noexecstack \ 229 -fPIC \ 230 -Wl,-z,relro \ 231 -Wl,-z,now \ 232 -fuse-ld=gold \ 233 -nostdlib \ 234 -Wl,--no-undefined \ 235 -Wl,--exclude-libs=ALL \ 236 -Wl,--icf=safe \ 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