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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 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,,,$(GYP_VAR_PREFIX))/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-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -Wno-unused-local-typedefs \ 43 -ffunction-sections \ 44 -funwind-tables \ 45 -g \ 46 -fstack-protector \ 47 -fno-short-enums \ 48 -finline-limit=64 \ 49 -Wa,--noexecstack \ 50 -U_FORTIFY_SOURCE \ 51 -Wno-extra \ 52 -Wno-ignored-qualifiers \ 53 -Wno-type-limits \ 54 -Wno-unused-but-set-variable \ 55 -Os \ 56 -g \ 57 -gdwarf-4 \ 58 -fdata-sections \ 59 -ffunction-sections \ 60 -fomit-frame-pointer \ 61 -funwind-tables 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 '-DENABLE_WEBRTC=1' \ 71 '-DUSE_PROPRIETARY_CODECS' \ 72 '-DENABLE_BROWSER_CDMS' \ 73 '-DENABLE_CONFIGURATION_POLICY' \ 74 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 75 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 76 '-DENABLE_EGLIMAGE=1' \ 77 '-DCLD_VERSION=1' \ 78 '-DENABLE_PRINTING=1' \ 79 '-DENABLE_MANAGED_USERS=1' \ 80 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 81 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 82 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 83 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 84 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 85 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 86 '-DVIDEO_HOLE=1' \ 87 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 88 '-DUSE_OPENSSL=1' \ 89 '-DUSE_OPENSSL_CERTS=1' \ 90 '-D__STDC_CONSTANT_MACROS' \ 91 '-D__STDC_FORMAT_MACROS' \ 92 '-DANDROID' \ 93 '-D__GNU_SOURCE=1' \ 94 '-DUSE_STLPORT=1' \ 95 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 96 '-DCHROME_BUILD_ID=""' \ 97 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 98 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 99 '-D_DEBUG' 100 101 102 # Include paths placed before CFLAGS/CPPFLAGS 103 LOCAL_C_INCLUDES_Debug := \ 104 $(gyp_shared_intermediate_dir) \ 105 $(LOCAL_PATH) \ 106 $(LOCAL_PATH)/third_party/khronos \ 107 $(LOCAL_PATH)/gpu \ 108 $(PWD)/frameworks/wilhelm/include \ 109 $(PWD)/bionic \ 110 $(PWD)/external/stlport/stlport 111 112 113 # Flags passed to only C++ (and not C) files. 114 LOCAL_CPPFLAGS_Debug := \ 115 -fno-exceptions \ 116 -fno-rtti \ 117 -fno-threadsafe-statics \ 118 -fvisibility-inlines-hidden \ 119 -Wsign-compare \ 120 -Wno-uninitialized \ 121 -std=gnu++11 \ 122 -Wno-narrowing \ 123 -Wno-literal-suffix \ 124 -Wno-non-virtual-dtor \ 125 -Wno-sign-promo 126 127 128 # Flags passed to both C and C++ files. 129 MY_CFLAGS_Release := \ 130 -fstack-protector \ 131 --param=ssp-buffer-size=4 \ 132 \ 133 -fno-strict-aliasing \ 134 -Wall \ 135 -Wno-unused-parameter \ 136 -Wno-missing-field-initializers \ 137 -fvisibility=hidden \ 138 -pipe \ 139 -fPIC \ 140 -Wno-unused-local-typedefs \ 141 -ffunction-sections \ 142 -funwind-tables \ 143 -g \ 144 -fstack-protector \ 145 -fno-short-enums \ 146 -finline-limit=64 \ 147 -Wa,--noexecstack \ 148 -U_FORTIFY_SOURCE \ 149 -Wno-extra \ 150 -Wno-ignored-qualifiers \ 151 -Wno-type-limits \ 152 -Wno-unused-but-set-variable \ 153 -Os \ 154 -fno-ident \ 155 -fdata-sections \ 156 -ffunction-sections \ 157 -fomit-frame-pointer \ 158 -funwind-tables 159 160 MY_DEFS_Release := \ 161 '-DV8_DEPRECATION_WARNINGS' \ 162 '-D_FILE_OFFSET_BITS=64' \ 163 '-DNO_TCMALLOC' \ 164 '-DDISABLE_NACL' \ 165 '-DCHROMIUM_BUILD' \ 166 '-DUSE_LIBJPEG_TURBO=1' \ 167 '-DENABLE_WEBRTC=1' \ 168 '-DUSE_PROPRIETARY_CODECS' \ 169 '-DENABLE_BROWSER_CDMS' \ 170 '-DENABLE_CONFIGURATION_POLICY' \ 171 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 172 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 173 '-DENABLE_EGLIMAGE=1' \ 174 '-DCLD_VERSION=1' \ 175 '-DENABLE_PRINTING=1' \ 176 '-DENABLE_MANAGED_USERS=1' \ 177 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 178 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 179 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 180 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 181 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 182 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 183 '-DVIDEO_HOLE=1' \ 184 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 185 '-DUSE_OPENSSL=1' \ 186 '-DUSE_OPENSSL_CERTS=1' \ 187 '-D__STDC_CONSTANT_MACROS' \ 188 '-D__STDC_FORMAT_MACROS' \ 189 '-DANDROID' \ 190 '-D__GNU_SOURCE=1' \ 191 '-DUSE_STLPORT=1' \ 192 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 193 '-DCHROME_BUILD_ID=""' \ 194 '-DNDEBUG' \ 195 '-DNVALGRIND' \ 196 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 197 '-D_FORTIFY_SOURCE=2' 198 199 200 # Include paths placed before CFLAGS/CPPFLAGS 201 LOCAL_C_INCLUDES_Release := \ 202 $(gyp_shared_intermediate_dir) \ 203 $(LOCAL_PATH) \ 204 $(LOCAL_PATH)/third_party/khronos \ 205 $(LOCAL_PATH)/gpu \ 206 $(PWD)/frameworks/wilhelm/include \ 207 $(PWD)/bionic \ 208 $(PWD)/external/stlport/stlport 209 210 211 # Flags passed to only C++ (and not C) files. 212 LOCAL_CPPFLAGS_Release := \ 213 -fno-exceptions \ 214 -fno-rtti \ 215 -fno-threadsafe-statics \ 216 -fvisibility-inlines-hidden \ 217 -Wsign-compare \ 218 -Wno-uninitialized \ 219 -std=gnu++11 \ 220 -Wno-narrowing \ 221 -Wno-literal-suffix \ 222 -Wno-non-virtual-dtor \ 223 -Wno-sign-promo 224 225 226 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 227 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 228 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 229 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 230 ### Rules for final target. 231 232 LOCAL_SHARED_LIBRARIES := \ 233 libstlport \ 234 libdl 235 236 # Add target alias to "gyp_all_modules" target. 237 .PHONY: gyp_all_modules 238 gyp_all_modules: gpu_gpu_ipc_gyp 239 240 # Alias gyp target name. 241 .PHONY: gpu_ipc 242 gpu_ipc: gpu_gpu_ipc_gyp 243 244 include $(BUILD_STATIC_LIBRARY) 245