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