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