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 := content_content_gpu_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,mojo_mojo_application_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_application_bindings_gyp.a \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a 18 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_GENERATED_SOURCES := 26 27 GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29 LOCAL_SRC_FILES := \ 30 content/gpu/gpu_main.cc \ 31 content/gpu/gpu_process.cc \ 32 content/gpu/gpu_child_thread.cc \ 33 content/gpu/gpu_watchdog_thread.cc \ 34 content/gpu/in_process_gpu_thread.cc 35 36 37 # Flags passed to both C and C++ files. 38 MY_CFLAGS_Debug := \ 39 -fstack-protector \ 40 --param=ssp-buffer-size=4 \ 41 \ 42 -fno-strict-aliasing \ 43 -Wall \ 44 -Wno-unused-parameter \ 45 -Wno-missing-field-initializers \ 46 -fvisibility=hidden \ 47 -pipe \ 48 -fPIC \ 49 -Wno-unused-local-typedefs \ 50 -ffunction-sections \ 51 -funwind-tables \ 52 -g \ 53 -fstack-protector \ 54 -fno-short-enums \ 55 -finline-limit=64 \ 56 -Wa,--noexecstack \ 57 -U_FORTIFY_SOURCE \ 58 -Wno-extra \ 59 -Wno-ignored-qualifiers \ 60 -Wno-type-limits \ 61 -Wno-unused-but-set-variable \ 62 -Os \ 63 -g \ 64 -gdwarf-4 \ 65 -fdata-sections \ 66 -ffunction-sections \ 67 -fomit-frame-pointer \ 68 -funwind-tables 69 70 MY_DEFS_Debug := \ 71 '-DCONTENT_IMPLEMENTATION' \ 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 '-DMOJO_USE_SYSTEM_IMPL' \ 97 '-DSK_ENABLE_INST_COUNT=0' \ 98 '-DSK_SUPPORT_GPU=1' \ 99 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 100 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 101 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 102 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 103 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 104 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 105 '-DSK_BUILD_FOR_ANDROID' \ 106 '-DSK_USE_POSIX_THREADS' \ 107 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 108 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 109 '-DMESA_EGL_NO_X11_HEADERS' \ 110 '-DUSE_OPENSSL=1' \ 111 '-DUSE_OPENSSL_CERTS=1' \ 112 '-D__STDC_CONSTANT_MACROS' \ 113 '-D__STDC_FORMAT_MACROS' \ 114 '-DANDROID' \ 115 '-D__GNU_SOURCE=1' \ 116 '-DUSE_STLPORT=1' \ 117 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 118 '-DCHROME_BUILD_ID=""' \ 119 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 120 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 121 '-D_DEBUG' 122 123 124 # Include paths placed before CFLAGS/CPPFLAGS 125 LOCAL_C_INCLUDES_Debug := \ 126 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 128 $(gyp_shared_intermediate_dir) \ 129 $(LOCAL_PATH) \ 130 $(LOCAL_PATH)/skia/config \ 131 $(LOCAL_PATH)/third_party/WebKit/Source \ 132 $(LOCAL_PATH)/third_party/khronos \ 133 $(LOCAL_PATH)/gpu \ 134 $(LOCAL_PATH)/third_party/WebKit \ 135 $(LOCAL_PATH)/third_party/skia/src/core \ 136 $(LOCAL_PATH)/third_party/skia/include/core \ 137 $(LOCAL_PATH)/third_party/skia/include/effects \ 138 $(LOCAL_PATH)/third_party/skia/include/pdf \ 139 $(LOCAL_PATH)/third_party/skia/include/gpu \ 140 $(LOCAL_PATH)/third_party/skia/include/lazy \ 141 $(LOCAL_PATH)/third_party/skia/include/pathops \ 142 $(LOCAL_PATH)/third_party/skia/include/pipe \ 143 $(LOCAL_PATH)/third_party/skia/include/ports \ 144 $(LOCAL_PATH)/third_party/skia/include/utils \ 145 $(LOCAL_PATH)/skia/ext \ 146 $(gyp_shared_intermediate_dir)/ui/gl \ 147 $(LOCAL_PATH)/third_party/mesa/src/include \ 148 $(PWD)/frameworks/wilhelm/include \ 149 $(PWD)/bionic \ 150 $(PWD)/external/stlport/stlport 151 152 153 # Flags passed to only C++ (and not C) files. 154 LOCAL_CPPFLAGS_Debug := \ 155 -fno-exceptions \ 156 -fno-rtti \ 157 -fno-threadsafe-statics \ 158 -fvisibility-inlines-hidden \ 159 -Wsign-compare \ 160 -Wno-uninitialized \ 161 -std=gnu++11 \ 162 -Wno-narrowing \ 163 -Wno-literal-suffix \ 164 -Wno-non-virtual-dtor \ 165 -Wno-sign-promo 166 167 168 # Flags passed to both C and C++ files. 169 MY_CFLAGS_Release := \ 170 -fstack-protector \ 171 --param=ssp-buffer-size=4 \ 172 \ 173 -fno-strict-aliasing \ 174 -Wall \ 175 -Wno-unused-parameter \ 176 -Wno-missing-field-initializers \ 177 -fvisibility=hidden \ 178 -pipe \ 179 -fPIC \ 180 -Wno-unused-local-typedefs \ 181 -ffunction-sections \ 182 -funwind-tables \ 183 -g \ 184 -fstack-protector \ 185 -fno-short-enums \ 186 -finline-limit=64 \ 187 -Wa,--noexecstack \ 188 -U_FORTIFY_SOURCE \ 189 -Wno-extra \ 190 -Wno-ignored-qualifiers \ 191 -Wno-type-limits \ 192 -Wno-unused-but-set-variable \ 193 -Os \ 194 -fno-ident \ 195 -fdata-sections \ 196 -ffunction-sections \ 197 -fomit-frame-pointer \ 198 -funwind-tables 199 200 MY_DEFS_Release := \ 201 '-DCONTENT_IMPLEMENTATION' \ 202 '-DV8_DEPRECATION_WARNINGS' \ 203 '-D_FILE_OFFSET_BITS=64' \ 204 '-DNO_TCMALLOC' \ 205 '-DDISABLE_NACL' \ 206 '-DCHROMIUM_BUILD' \ 207 '-DUSE_LIBJPEG_TURBO=1' \ 208 '-DENABLE_WEBRTC=1' \ 209 '-DUSE_PROPRIETARY_CODECS' \ 210 '-DENABLE_BROWSER_CDMS' \ 211 '-DENABLE_CONFIGURATION_POLICY' \ 212 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 213 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 214 '-DENABLE_EGLIMAGE=1' \ 215 '-DCLD_VERSION=1' \ 216 '-DENABLE_PRINTING=1' \ 217 '-DENABLE_MANAGED_USERS=1' \ 218 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 219 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 220 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 221 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 222 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 223 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 224 '-DVIDEO_HOLE=1' \ 225 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 226 '-DMOJO_USE_SYSTEM_IMPL' \ 227 '-DSK_ENABLE_INST_COUNT=0' \ 228 '-DSK_SUPPORT_GPU=1' \ 229 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 230 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 231 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 232 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 233 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 234 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 235 '-DSK_BUILD_FOR_ANDROID' \ 236 '-DSK_USE_POSIX_THREADS' \ 237 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 238 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 239 '-DMESA_EGL_NO_X11_HEADERS' \ 240 '-DUSE_OPENSSL=1' \ 241 '-DUSE_OPENSSL_CERTS=1' \ 242 '-D__STDC_CONSTANT_MACROS' \ 243 '-D__STDC_FORMAT_MACROS' \ 244 '-DANDROID' \ 245 '-D__GNU_SOURCE=1' \ 246 '-DUSE_STLPORT=1' \ 247 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 248 '-DCHROME_BUILD_ID=""' \ 249 '-DNDEBUG' \ 250 '-DNVALGRIND' \ 251 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 252 '-D_FORTIFY_SOURCE=2' 253 254 255 # Include paths placed before CFLAGS/CPPFLAGS 256 LOCAL_C_INCLUDES_Release := \ 257 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 258 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 259 $(gyp_shared_intermediate_dir) \ 260 $(LOCAL_PATH) \ 261 $(LOCAL_PATH)/skia/config \ 262 $(LOCAL_PATH)/third_party/WebKit/Source \ 263 $(LOCAL_PATH)/third_party/khronos \ 264 $(LOCAL_PATH)/gpu \ 265 $(LOCAL_PATH)/third_party/WebKit \ 266 $(LOCAL_PATH)/third_party/skia/src/core \ 267 $(LOCAL_PATH)/third_party/skia/include/core \ 268 $(LOCAL_PATH)/third_party/skia/include/effects \ 269 $(LOCAL_PATH)/third_party/skia/include/pdf \ 270 $(LOCAL_PATH)/third_party/skia/include/gpu \ 271 $(LOCAL_PATH)/third_party/skia/include/lazy \ 272 $(LOCAL_PATH)/third_party/skia/include/pathops \ 273 $(LOCAL_PATH)/third_party/skia/include/pipe \ 274 $(LOCAL_PATH)/third_party/skia/include/ports \ 275 $(LOCAL_PATH)/third_party/skia/include/utils \ 276 $(LOCAL_PATH)/skia/ext \ 277 $(gyp_shared_intermediate_dir)/ui/gl \ 278 $(LOCAL_PATH)/third_party/mesa/src/include \ 279 $(PWD)/frameworks/wilhelm/include \ 280 $(PWD)/bionic \ 281 $(PWD)/external/stlport/stlport 282 283 284 # Flags passed to only C++ (and not C) files. 285 LOCAL_CPPFLAGS_Release := \ 286 -fno-exceptions \ 287 -fno-rtti \ 288 -fno-threadsafe-statics \ 289 -fvisibility-inlines-hidden \ 290 -Wsign-compare \ 291 -Wno-uninitialized \ 292 -std=gnu++11 \ 293 -Wno-narrowing \ 294 -Wno-literal-suffix \ 295 -Wno-non-virtual-dtor \ 296 -Wno-sign-promo 297 298 299 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 300 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 301 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 302 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 303 ### Rules for final target. 304 305 LOCAL_SHARED_LIBRARIES := \ 306 libstlport \ 307 libdl 308 309 # Add target alias to "gyp_all_modules" target. 310 .PHONY: gyp_all_modules 311 gyp_all_modules: content_content_gpu_gyp 312 313 # Alias gyp target name. 314 .PHONY: content_gpu 315 content_gpu: content_content_gpu_gyp 316 317 include $(BUILD_STATIC_LIBRARY) 318