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 := ui_gl_gl_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_mesa_mesa_headers_gyp)/mesa_headers.stamp \ 16 $(call intermediates-dir-for,GYP,ui_gl_gl_jni_headers_gyp)/gl_jni_headers.stamp 17 18 ### Rules for action "generate_gl_bindings": 19 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: $(LOCAL_PATH)/ui/gl/generate_bindings.py $(LOCAL_PATH)/third_party/mesa/src/include/GL/glext.h $(LOCAL_PATH)/third_party/khronos/GLES2/gl2ext.h $(LOCAL_PATH)/ui/gl/GL/glextchromium.h $(LOCAL_PATH)/gpu/GLES2/gl2chromium.h $(LOCAL_PATH)/gpu/GLES2/gl2extchromium.h $(LOCAL_PATH)/third_party/khronos/EGL/eglext.h $(LOCAL_PATH)/ui/gl/EGL/eglextchromium.h $(LOCAL_PATH)/third_party/mesa/src/include/GL/wglext.h $(LOCAL_PATH)/third_party/mesa/src/include/GL/glx.h $(LOCAL_PATH)/third_party/mesa/src/include/GL/glxext.h $(GYP_TARGET_DEPENDENCIES) 24 @echo "Gyp action: ui_gl_gl_gyp_gl_target_generate_gl_bindings ($@)" 25 $(hide)cd $(gyp_local_path)/ui/gl; mkdir -p $(gyp_shared_intermediate_dir)/ui/gl; python generate_bindings.py "--header-paths=../../third_party/khronos:../../third_party/mesa/src/include" "$(gyp_shared_intermediate_dir)/ui/gl" 26 27 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 28 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 29 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 30 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 31 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 32 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_glx.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 33 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_glx.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 34 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_glx.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 35 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_mock.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 36 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_osmesa.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 37 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_osmesa.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 38 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_osmesa.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 39 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_wgl.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 40 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_wgl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 41 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_wgl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 42 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 43 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 44 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_glx.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 45 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_osmesa.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 46 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_wgl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 47 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 48 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 49 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_glx.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 50 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_osmesa.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 51 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_wgl.h: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc ; 52 53 54 GYP_GENERATED_OUTPUTS := \ 55 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc \ 56 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.h \ 57 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_egl.h \ 58 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.cc \ 59 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.h \ 60 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_gl.h \ 61 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_glx.cc \ 62 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_glx.h \ 63 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_glx.h \ 64 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_mock.cc \ 65 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_osmesa.cc \ 66 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_osmesa.h \ 67 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_osmesa.h \ 68 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_wgl.cc \ 69 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_wgl.h \ 70 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_wgl.h \ 71 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_egl.h \ 72 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_gl.h \ 73 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_glx.h \ 74 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_osmesa.h \ 75 $(gyp_shared_intermediate_dir)/ui/gl/gl_interface_autogen_wgl.h \ 76 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_egl.h \ 77 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_gl.h \ 78 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_glx.h \ 79 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_osmesa.h \ 80 $(gyp_shared_intermediate_dir)/ui/gl/gl_mock_autogen_wgl.h 81 82 # Make sure our deps and generated files are built first. 83 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 84 85 LOCAL_CPP_EXTENSION := .cc 86 $(gyp_intermediate_dir)/gl_bindings_autogen_gl.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.cc 87 mkdir -p $(@D); cp $< $@ 88 $(gyp_intermediate_dir)/gl_bindings_autogen_mock.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_mock.cc 89 mkdir -p $(@D); cp $< $@ 90 $(gyp_intermediate_dir)/gl_bindings_autogen_osmesa.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_osmesa.cc 91 mkdir -p $(@D); cp $< $@ 92 $(gyp_intermediate_dir)/gl_bindings_autogen_egl.cc: $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc 93 mkdir -p $(@D); cp $< $@ 94 LOCAL_GENERATED_SOURCES := \ 95 $(gyp_intermediate_dir)/gl_bindings_autogen_gl.cc \ 96 $(gyp_intermediate_dir)/gl_bindings_autogen_mock.cc \ 97 $(gyp_intermediate_dir)/gl_bindings_autogen_osmesa.cc \ 98 $(gyp_intermediate_dir)/gl_bindings_autogen_egl.cc 99 100 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 101 $(gyp_shared_intermediate_dir)/ui/gl 102 103 LOCAL_SRC_FILES := \ 104 ui/gl/android/gl_jni_registrar.cc \ 105 ui/gl/android/scoped_java_surface.cc \ 106 ui/gl/android/surface_texture.cc \ 107 ui/gl/android/surface_texture_listener.cc \ 108 ui/gl/gl_bindings_skia_in_process.cc \ 109 ui/gl/gl_context.cc \ 110 ui/gl/gl_context_android.cc \ 111 ui/gl/gl_context_stub.cc \ 112 ui/gl/gl_fence.cc \ 113 ui/gl/gl_gl_api_implementation.cc \ 114 ui/gl/gl_image.cc \ 115 ui/gl/gl_image_android.cc \ 116 ui/gl/gl_image_shm.cc \ 117 ui/gl/gl_image_stub.cc \ 118 ui/gl/gl_implementation.cc \ 119 ui/gl/gl_implementation_android.cc \ 120 ui/gl/gl_interface.cc \ 121 ui/gl/gl_osmesa_api_implementation.cc \ 122 ui/gl/gl_share_group.cc \ 123 ui/gl/gl_state_restorer.cc \ 124 ui/gl/gl_surface.cc \ 125 ui/gl/gl_surface_stub.cc \ 126 ui/gl/gl_surface_osmesa.cc \ 127 ui/gl/gl_switches.cc \ 128 ui/gl/gpu_switching_manager.cc \ 129 ui/gl/scoped_binders.cc \ 130 ui/gl/scoped_make_current.cc \ 131 ui/gl/sync_control_vsync_provider.cc \ 132 ui/gl/egl_util.cc \ 133 ui/gl/gl_context_egl.cc \ 134 ui/gl/gl_surface_egl.cc \ 135 ui/gl/gl_egl_api_implementation.cc \ 136 ui/gl/gl_image_egl.cc 137 138 139 # Flags passed to both C and C++ files. 140 MY_CFLAGS_Debug := \ 141 --param=ssp-buffer-size=4 \ 142 -Werror \ 143 -fno-exceptions \ 144 -fno-strict-aliasing \ 145 -Wall \ 146 -Wno-unused-parameter \ 147 -Wno-missing-field-initializers \ 148 -fvisibility=hidden \ 149 -pipe \ 150 -fPIC \ 151 -Wno-unknown-pragmas \ 152 -m32 \ 153 -mmmx \ 154 -march=pentium4 \ 155 -msse2 \ 156 -mfpmath=sse \ 157 -fuse-ld=gold \ 158 -ffunction-sections \ 159 -funwind-tables \ 160 -g \ 161 -fno-short-enums \ 162 -finline-limit=64 \ 163 -Wa,--noexecstack \ 164 -U_FORTIFY_SOURCE \ 165 -Wno-extra \ 166 -Wno-ignored-qualifiers \ 167 -Wno-type-limits \ 168 -fno-stack-protector \ 169 -Os \ 170 -g \ 171 -fomit-frame-pointer \ 172 -fdata-sections \ 173 -ffunction-sections 174 175 MY_DEFS_Debug := \ 176 '-DV8_DEPRECATION_WARNINGS' \ 177 '-D_FILE_OFFSET_BITS=64' \ 178 '-DNO_TCMALLOC' \ 179 '-DDISABLE_NACL' \ 180 '-DCHROMIUM_BUILD' \ 181 '-DUSE_LIBJPEG_TURBO=1' \ 182 '-DUSE_PROPRIETARY_CODECS' \ 183 '-DENABLE_CONFIGURATION_POLICY' \ 184 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 185 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 186 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 187 '-DUSE_OPENSSL=1' \ 188 '-DENABLE_EGLIMAGE=1' \ 189 '-DCLD_VERSION=1' \ 190 '-DENABLE_PRINTING=1' \ 191 '-DENABLE_MANAGED_USERS=1' \ 192 '-DGL_IMPLEMENTATION' \ 193 '-DGL_GLEXT_PROTOTYPES' \ 194 '-DEGL_EGLEXT_PROTOTYPES' \ 195 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 196 '-DMESA_EGL_NO_X11_HEADERS' \ 197 '-DU_USING_ICU_NAMESPACE=0' \ 198 '-D__STDC_CONSTANT_MACROS' \ 199 '-D__STDC_FORMAT_MACROS' \ 200 '-DANDROID' \ 201 '-D__GNU_SOURCE=1' \ 202 '-DUSE_STLPORT=1' \ 203 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 204 '-DCHROME_BUILD_ID=""' \ 205 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 206 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 207 '-D_DEBUG' 208 209 210 # Include paths placed before CFLAGS/CPPFLAGS 211 LOCAL_C_INCLUDES_Debug := \ 212 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 213 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 214 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 215 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 216 $(LOCAL_PATH)/third_party/swiftshader/include \ 217 $(LOCAL_PATH)/third_party/mesa/src/include \ 218 $(gyp_shared_intermediate_dir)/ui/gl \ 219 $(LOCAL_PATH)/third_party/khronos \ 220 $(LOCAL_PATH)/gpu \ 221 $(LOCAL_PATH) \ 222 $(LOCAL_PATH)/skia/config \ 223 $(PWD)/external/skia/include \ 224 $(PWD)/external/skia/include/core \ 225 $(LOCAL_PATH)/third_party/skia/src/core \ 226 $(LOCAL_PATH)/skia/ext \ 227 $(PWD)/external/icu4c/common \ 228 $(PWD)/external/icu4c/i18n \ 229 $(PWD)/frameworks/wilhelm/include \ 230 $(PWD)/bionic \ 231 $(PWD)/external/stlport/stlport 232 233 234 # Flags passed to only C++ (and not C) files. 235 LOCAL_CPPFLAGS_Debug := \ 236 -fno-rtti \ 237 -fno-threadsafe-statics \ 238 -fvisibility-inlines-hidden \ 239 -Wsign-compare \ 240 -Wno-error=c++0x-compat \ 241 -Wno-non-virtual-dtor \ 242 -Wno-sign-promo 243 244 245 # Flags passed to both C and C++ files. 246 MY_CFLAGS_Release := \ 247 --param=ssp-buffer-size=4 \ 248 -Werror \ 249 -fno-exceptions \ 250 -fno-strict-aliasing \ 251 -Wall \ 252 -Wno-unused-parameter \ 253 -Wno-missing-field-initializers \ 254 -fvisibility=hidden \ 255 -pipe \ 256 -fPIC \ 257 -Wno-unknown-pragmas \ 258 -m32 \ 259 -mmmx \ 260 -march=pentium4 \ 261 -msse2 \ 262 -mfpmath=sse \ 263 -fuse-ld=gold \ 264 -ffunction-sections \ 265 -funwind-tables \ 266 -g \ 267 -fno-short-enums \ 268 -finline-limit=64 \ 269 -Wa,--noexecstack \ 270 -U_FORTIFY_SOURCE \ 271 -Wno-extra \ 272 -Wno-ignored-qualifiers \ 273 -Wno-type-limits \ 274 -fno-stack-protector \ 275 -Os \ 276 -fno-ident \ 277 -fdata-sections \ 278 -ffunction-sections \ 279 -fomit-frame-pointer \ 280 -fno-unwind-tables \ 281 -fno-asynchronous-unwind-tables 282 283 MY_DEFS_Release := \ 284 '-DV8_DEPRECATION_WARNINGS' \ 285 '-D_FILE_OFFSET_BITS=64' \ 286 '-DNO_TCMALLOC' \ 287 '-DDISABLE_NACL' \ 288 '-DCHROMIUM_BUILD' \ 289 '-DUSE_LIBJPEG_TURBO=1' \ 290 '-DUSE_PROPRIETARY_CODECS' \ 291 '-DENABLE_CONFIGURATION_POLICY' \ 292 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 293 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 294 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 295 '-DUSE_OPENSSL=1' \ 296 '-DENABLE_EGLIMAGE=1' \ 297 '-DCLD_VERSION=1' \ 298 '-DENABLE_PRINTING=1' \ 299 '-DENABLE_MANAGED_USERS=1' \ 300 '-DGL_IMPLEMENTATION' \ 301 '-DGL_GLEXT_PROTOTYPES' \ 302 '-DEGL_EGLEXT_PROTOTYPES' \ 303 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 304 '-DMESA_EGL_NO_X11_HEADERS' \ 305 '-DU_USING_ICU_NAMESPACE=0' \ 306 '-D__STDC_CONSTANT_MACROS' \ 307 '-D__STDC_FORMAT_MACROS' \ 308 '-DANDROID' \ 309 '-D__GNU_SOURCE=1' \ 310 '-DUSE_STLPORT=1' \ 311 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 312 '-DCHROME_BUILD_ID=""' \ 313 '-DNDEBUG' \ 314 '-DNVALGRIND' \ 315 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 316 '-D_FORTIFY_SOURCE=2' 317 318 319 # Include paths placed before CFLAGS/CPPFLAGS 320 LOCAL_C_INCLUDES_Release := \ 321 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 322 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 323 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 324 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 325 $(LOCAL_PATH)/third_party/swiftshader/include \ 326 $(LOCAL_PATH)/third_party/mesa/src/include \ 327 $(gyp_shared_intermediate_dir)/ui/gl \ 328 $(LOCAL_PATH)/third_party/khronos \ 329 $(LOCAL_PATH)/gpu \ 330 $(LOCAL_PATH) \ 331 $(LOCAL_PATH)/skia/config \ 332 $(PWD)/external/skia/include \ 333 $(PWD)/external/skia/include/core \ 334 $(LOCAL_PATH)/third_party/skia/src/core \ 335 $(LOCAL_PATH)/skia/ext \ 336 $(PWD)/external/icu4c/common \ 337 $(PWD)/external/icu4c/i18n \ 338 $(PWD)/frameworks/wilhelm/include \ 339 $(PWD)/bionic \ 340 $(PWD)/external/stlport/stlport 341 342 343 # Flags passed to only C++ (and not C) files. 344 LOCAL_CPPFLAGS_Release := \ 345 -fno-rtti \ 346 -fno-threadsafe-statics \ 347 -fvisibility-inlines-hidden \ 348 -Wsign-compare \ 349 -Wno-error=c++0x-compat \ 350 -Wno-non-virtual-dtor \ 351 -Wno-sign-promo 352 353 354 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 355 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 356 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 357 ### Rules for final target. 358 359 LOCAL_LDFLAGS_Debug := \ 360 -Wl,-z,now \ 361 -Wl,-z,relro \ 362 -Wl,-z,noexecstack \ 363 -fPIC \ 364 -m32 \ 365 -fuse-ld=gold \ 366 -nostdlib \ 367 -Wl,--no-undefined \ 368 -Wl,--exclude-libs=ALL \ 369 -Wl,--fatal-warnings \ 370 -Wl,--gc-sections \ 371 -Wl,--warn-shared-textrel \ 372 -Wl,-O1 \ 373 -Wl,--as-needed 374 375 376 LOCAL_LDFLAGS_Release := \ 377 -Wl,-z,now \ 378 -Wl,-z,relro \ 379 -Wl,-z,noexecstack \ 380 -fPIC \ 381 -m32 \ 382 -fuse-ld=gold \ 383 -nostdlib \ 384 -Wl,--no-undefined \ 385 -Wl,--exclude-libs=ALL \ 386 -Wl,-O1 \ 387 -Wl,--as-needed \ 388 -Wl,--gc-sections \ 389 -Wl,--fatal-warnings \ 390 -Wl,--warn-shared-textrel 391 392 393 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 394 395 LOCAL_STATIC_LIBRARIES := 396 397 # Enable grouping to fix circular references 398 LOCAL_GROUP_STATIC_LIBRARIES := true 399 400 LOCAL_SHARED_LIBRARIES := \ 401 libskia \ 402 libstlport \ 403 libdl 404 405 # Add target alias to "gyp_all_modules" target. 406 .PHONY: gyp_all_modules 407 gyp_all_modules: ui_gl_gl_gyp 408 409 # Alias gyp target name. 410 .PHONY: gl 411 gl: ui_gl_gl_gyp 412 413 include $(BUILD_STATIC_LIBRARY) 414