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