cc.target.darwin-x86.mk revision 4d135918e7e9a7cf35ec3e36a91ad974f5b69da1
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := cc_cc_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,gpu_gpu_gyp)/gpu.stamp \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_minimal_gyp)/blink_minimal.stamp \ 18 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp)/ui_gl_gl_gyp.a 19 20GYP_GENERATED_OUTPUTS := 21 22# Make sure our deps and generated files are built first. 23LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25LOCAL_CPP_EXTENSION := .cc 26LOCAL_GENERATED_SOURCES := 27 28GYP_COPIED_SOURCE_ORIGIN_DIRS := 29 30LOCAL_SRC_FILES := \ 31 cc/animation/animation.cc \ 32 cc/animation/animation_curve.cc \ 33 cc/animation/animation_events.cc \ 34 cc/animation/animation_id_provider.cc \ 35 cc/animation/animation_registrar.cc \ 36 cc/animation/keyframed_animation_curve.cc \ 37 cc/animation/layer_animation_controller.cc \ 38 cc/animation/scroll_offset_animation_curve.cc \ 39 cc/animation/scrollbar_animation_controller_linear_fade.cc \ 40 cc/animation/scrollbar_animation_controller_thinning.cc \ 41 cc/animation/timing_function.cc \ 42 cc/animation/transform_operation.cc \ 43 cc/animation/transform_operations.cc \ 44 cc/base/invalidation_region.cc \ 45 cc/base/latency_info_swap_promise.cc \ 46 cc/base/latency_info_swap_promise_monitor.cc \ 47 cc/base/math_util.cc \ 48 cc/base/region.cc \ 49 cc/base/swap_promise_monitor.cc \ 50 cc/base/switches.cc \ 51 cc/base/tiling_data.cc \ 52 cc/debug/benchmark_instrumentation.cc \ 53 cc/debug/debug_colors.cc \ 54 cc/debug/debug_rect_history.cc \ 55 cc/debug/frame_rate_counter.cc \ 56 cc/debug/layer_tree_debug_state.cc \ 57 cc/debug/micro_benchmark.cc \ 58 cc/debug/micro_benchmark_impl.cc \ 59 cc/debug/micro_benchmark_controller.cc \ 60 cc/debug/micro_benchmark_controller_impl.cc \ 61 cc/debug/overdraw_metrics.cc \ 62 cc/debug/paint_time_counter.cc \ 63 cc/debug/picture_record_benchmark.cc \ 64 cc/debug/rasterize_and_record_benchmark.cc \ 65 cc/debug/rasterize_and_record_benchmark_impl.cc \ 66 cc/debug/rendering_stats.cc \ 67 cc/debug/rendering_stats_instrumentation.cc \ 68 cc/debug/traced_picture.cc \ 69 cc/debug/traced_value.cc \ 70 cc/debug/unittest_only_benchmark.cc \ 71 cc/debug/unittest_only_benchmark_impl.cc \ 72 cc/input/page_scale_animation.cc \ 73 cc/input/top_controls_manager.cc \ 74 cc/layers/content_layer.cc \ 75 cc/layers/contents_scaling_layer.cc \ 76 cc/layers/delegated_frame_provider.cc \ 77 cc/layers/delegated_frame_resource_collection.cc \ 78 cc/layers/delegated_renderer_layer.cc \ 79 cc/layers/delegated_renderer_layer_impl.cc \ 80 cc/layers/heads_up_display_layer.cc \ 81 cc/layers/heads_up_display_layer_impl.cc \ 82 cc/layers/image_layer.cc \ 83 cc/layers/io_surface_layer.cc \ 84 cc/layers/io_surface_layer_impl.cc \ 85 cc/layers/layer.cc \ 86 cc/layers/layer_impl.cc \ 87 cc/layers/layer_iterator.cc \ 88 cc/layers/layer_lists.cc \ 89 cc/layers/layer_position_constraint.cc \ 90 cc/layers/nine_patch_layer.cc \ 91 cc/layers/nine_patch_layer_impl.cc \ 92 cc/layers/painted_scrollbar_layer.cc \ 93 cc/layers/painted_scrollbar_layer_impl.cc \ 94 cc/layers/picture_image_layer.cc \ 95 cc/layers/picture_image_layer_impl.cc \ 96 cc/layers/picture_layer.cc \ 97 cc/layers/picture_layer_impl.cc \ 98 cc/layers/render_surface.cc \ 99 cc/layers/render_surface_impl.cc \ 100 cc/layers/scrollbar_layer_impl_base.cc \ 101 cc/layers/solid_color_layer.cc \ 102 cc/layers/solid_color_layer_impl.cc \ 103 cc/layers/solid_color_scrollbar_layer.cc \ 104 cc/layers/solid_color_scrollbar_layer_impl.cc \ 105 cc/layers/texture_layer.cc \ 106 cc/layers/texture_layer_impl.cc \ 107 cc/layers/tiled_layer.cc \ 108 cc/layers/tiled_layer_impl.cc \ 109 cc/layers/ui_resource_layer.cc \ 110 cc/layers/ui_resource_layer_impl.cc \ 111 cc/layers/video_frame_provider_client_impl.cc \ 112 cc/layers/video_layer.cc \ 113 cc/layers/video_layer_impl.cc \ 114 cc/output/begin_frame_args.cc \ 115 cc/output/compositor_frame.cc \ 116 cc/output/compositor_frame_ack.cc \ 117 cc/output/compositor_frame_metadata.cc \ 118 cc/output/context_provider.cc \ 119 cc/output/copy_output_request.cc \ 120 cc/output/copy_output_result.cc \ 121 cc/output/delegated_frame_data.cc \ 122 cc/output/delegating_renderer.cc \ 123 cc/output/direct_renderer.cc \ 124 cc/output/filter_operation.cc \ 125 cc/output/filter_operations.cc \ 126 cc/output/geometry_binding.cc \ 127 cc/output/gl_frame_data.cc \ 128 cc/output/gl_renderer.cc \ 129 cc/output/gl_renderer_draw_cache.cc \ 130 cc/output/managed_memory_policy.cc \ 131 cc/output/output_surface.cc \ 132 cc/output/program_binding.cc \ 133 cc/output/render_surface_filters.cc \ 134 cc/output/renderer.cc \ 135 cc/output/shader.cc \ 136 cc/output/software_frame_data.cc \ 137 cc/output/software_output_device.cc \ 138 cc/output/software_renderer.cc \ 139 cc/quads/checkerboard_draw_quad.cc \ 140 cc/quads/content_draw_quad_base.cc \ 141 cc/quads/debug_border_draw_quad.cc \ 142 cc/quads/draw_quad.cc \ 143 cc/quads/io_surface_draw_quad.cc \ 144 cc/quads/picture_draw_quad.cc \ 145 cc/quads/render_pass.cc \ 146 cc/quads/render_pass_draw_quad.cc \ 147 cc/quads/shared_quad_state.cc \ 148 cc/quads/solid_color_draw_quad.cc \ 149 cc/quads/stream_video_draw_quad.cc \ 150 cc/quads/texture_draw_quad.cc \ 151 cc/quads/tile_draw_quad.cc \ 152 cc/quads/yuv_video_draw_quad.cc \ 153 cc/resources/bitmap_content_layer_updater.cc \ 154 cc/resources/bitmap_skpicture_content_layer_updater.cc \ 155 cc/resources/caching_bitmap_content_layer_updater.cc \ 156 cc/resources/content_layer_updater.cc \ 157 cc/resources/etc1_pixel_ref.cc \ 158 cc/resources/image_layer_updater.cc \ 159 cc/resources/image_raster_worker_pool.cc \ 160 cc/resources/layer_quad.cc \ 161 cc/resources/layer_tiling_data.cc \ 162 cc/resources/layer_updater.cc \ 163 cc/resources/managed_tile_state.cc \ 164 cc/resources/memory_history.cc \ 165 cc/resources/picture.cc \ 166 cc/resources/picture_layer_tiling.cc \ 167 cc/resources/picture_layer_tiling_set.cc \ 168 cc/resources/picture_pile.cc \ 169 cc/resources/picture_pile_base.cc \ 170 cc/resources/picture_pile_impl.cc \ 171 cc/resources/pixel_buffer_raster_worker_pool.cc \ 172 cc/resources/prioritized_resource.cc \ 173 cc/resources/prioritized_resource_manager.cc \ 174 cc/resources/prioritized_tile_set.cc \ 175 cc/resources/priority_calculator.cc \ 176 cc/resources/raster_mode.cc \ 177 cc/resources/raster_worker_pool.cc \ 178 cc/resources/resource.cc \ 179 cc/resources/resource_format.cc \ 180 cc/resources/resource_pool.cc \ 181 cc/resources/resource_provider.cc \ 182 cc/resources/resource_update.cc \ 183 cc/resources/resource_update_controller.cc \ 184 cc/resources/resource_update_queue.cc \ 185 cc/resources/scoped_resource.cc \ 186 cc/resources/scoped_ui_resource.cc \ 187 cc/resources/shared_bitmap.cc \ 188 cc/resources/single_release_callback.cc \ 189 cc/resources/skpicture_content_layer_updater.cc \ 190 cc/resources/texture_mailbox.cc \ 191 cc/resources/texture_mailbox_deleter.cc \ 192 cc/resources/tile.cc \ 193 cc/resources/tile_manager.cc \ 194 cc/resources/tile_priority.cc \ 195 cc/resources/transferable_resource.cc \ 196 cc/resources/ui_resource_bitmap.cc \ 197 cc/resources/ui_resource_request.cc \ 198 cc/resources/video_resource_updater.cc \ 199 cc/resources/worker_pool.cc \ 200 cc/scheduler/delay_based_time_source.cc \ 201 cc/scheduler/frame_rate_controller.cc \ 202 cc/scheduler/rolling_time_delta_history.cc \ 203 cc/scheduler/scheduler.cc \ 204 cc/scheduler/scheduler_settings.cc \ 205 cc/scheduler/scheduler_state_machine.cc \ 206 cc/scheduler/texture_uploader.cc \ 207 cc/trees/blocking_task_runner.cc \ 208 cc/trees/damage_tracker.cc \ 209 cc/trees/layer_sorter.cc \ 210 cc/trees/layer_tree_host.cc \ 211 cc/trees/layer_tree_host_common.cc \ 212 cc/trees/layer_tree_host_impl.cc \ 213 cc/trees/layer_tree_impl.cc \ 214 cc/trees/layer_tree_settings.cc \ 215 cc/trees/occlusion_tracker.cc \ 216 cc/trees/proxy.cc \ 217 cc/trees/quad_culler.cc \ 218 cc/trees/single_thread_proxy.cc \ 219 cc/trees/thread_proxy.cc \ 220 cc/trees/tree_synchronizer.cc 221 222 223# Flags passed to both C and C++ files. 224MY_CFLAGS_Debug := \ 225 --param=ssp-buffer-size=4 \ 226 -Werror \ 227 -fno-exceptions \ 228 -fno-strict-aliasing \ 229 -Wall \ 230 -Wno-unused-parameter \ 231 -Wno-missing-field-initializers \ 232 -fvisibility=hidden \ 233 -pipe \ 234 -fPIC \ 235 -Wno-unknown-pragmas \ 236 -m32 \ 237 -mmmx \ 238 -march=pentium4 \ 239 -msse2 \ 240 -mfpmath=sse \ 241 -fuse-ld=gold \ 242 -ffunction-sections \ 243 -funwind-tables \ 244 -g \ 245 -fno-short-enums \ 246 -finline-limit=64 \ 247 -Wa,--noexecstack \ 248 -U_FORTIFY_SOURCE \ 249 -Wno-extra \ 250 -Wno-ignored-qualifiers \ 251 -Wno-type-limits \ 252 -fno-stack-protector \ 253 -Os \ 254 -g \ 255 -fomit-frame-pointer \ 256 -fdata-sections \ 257 -ffunction-sections 258 259MY_DEFS_Debug := \ 260 '-DV8_DEPRECATION_WARNINGS' \ 261 '-D_FILE_OFFSET_BITS=64' \ 262 '-DNO_TCMALLOC' \ 263 '-DDISABLE_NACL' \ 264 '-DCHROMIUM_BUILD' \ 265 '-DUSE_LIBJPEG_TURBO=1' \ 266 '-DUSE_PROPRIETARY_CODECS' \ 267 '-DENABLE_CONFIGURATION_POLICY' \ 268 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 269 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 270 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 271 '-DUSE_OPENSSL=1' \ 272 '-DENABLE_EGLIMAGE=1' \ 273 '-DCLD_VERSION=1' \ 274 '-DENABLE_PRINTING=1' \ 275 '-DENABLE_MANAGED_USERS=1' \ 276 '-DCC_IMPLEMENTATION=1' \ 277 '-DMEDIA_DISABLE_LIBVPX' \ 278 '-DSK_ENABLE_INST_COUNT=0' \ 279 '-DSK_SUPPORT_GPU=1' \ 280 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 281 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 282 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 283 '-DSK_SUPPORT_LEGACY_COLORTYPE=1' \ 284 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 285 '-DSK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1' \ 286 '-DSK_BUILD_FOR_ANDROID' \ 287 '-DSK_USE_POSIX_THREADS' \ 288 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 289 '-DU_USING_ICU_NAMESPACE=0' \ 290 '-DMESA_EGL_NO_X11_HEADERS' \ 291 '-D__STDC_CONSTANT_MACROS' \ 292 '-D__STDC_FORMAT_MACROS' \ 293 '-DANDROID' \ 294 '-D__GNU_SOURCE=1' \ 295 '-DUSE_STLPORT=1' \ 296 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 297 '-DCHROME_BUILD_ID=""' \ 298 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 299 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 300 '-D_DEBUG' 301 302 303# Include paths placed before CFLAGS/CPPFLAGS 304LOCAL_C_INCLUDES_Debug := \ 305 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 306 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 307 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 308 $(LOCAL_PATH) \ 309 $(LOCAL_PATH)/third_party/khronos \ 310 $(LOCAL_PATH)/gpu \ 311 $(LOCAL_PATH)/skia/config \ 312 $(LOCAL_PATH)/third_party/WebKit/Source \ 313 $(LOCAL_PATH)/third_party/skia/src/core \ 314 $(LOCAL_PATH)/third_party/skia/include/core \ 315 $(LOCAL_PATH)/third_party/skia/include/effects \ 316 $(LOCAL_PATH)/third_party/skia/include/pdf \ 317 $(LOCAL_PATH)/third_party/skia/include/gpu \ 318 $(LOCAL_PATH)/third_party/skia/include/lazy \ 319 $(LOCAL_PATH)/third_party/skia/include/pathops \ 320 $(LOCAL_PATH)/third_party/skia/include/pipe \ 321 $(LOCAL_PATH)/third_party/skia/include/ports \ 322 $(LOCAL_PATH)/third_party/skia/include/utils \ 323 $(LOCAL_PATH)/skia/ext \ 324 $(PWD)/external/icu4c/common \ 325 $(PWD)/external/icu4c/i18n \ 326 $(gyp_shared_intermediate_dir)/ui/gl \ 327 $(LOCAL_PATH)/third_party/mesa/src/include \ 328 $(PWD)/frameworks/wilhelm/include \ 329 $(PWD)/bionic \ 330 $(PWD)/external/stlport/stlport 331 332 333# Flags passed to only C++ (and not C) files. 334LOCAL_CPPFLAGS_Debug := \ 335 -fno-rtti \ 336 -fno-threadsafe-statics \ 337 -fvisibility-inlines-hidden \ 338 -Wsign-compare \ 339 -Wno-error=c++0x-compat \ 340 -Wno-non-virtual-dtor \ 341 -Wno-sign-promo 342 343 344# Flags passed to both C and C++ files. 345MY_CFLAGS_Release := \ 346 --param=ssp-buffer-size=4 \ 347 -Werror \ 348 -fno-exceptions \ 349 -fno-strict-aliasing \ 350 -Wall \ 351 -Wno-unused-parameter \ 352 -Wno-missing-field-initializers \ 353 -fvisibility=hidden \ 354 -pipe \ 355 -fPIC \ 356 -Wno-unknown-pragmas \ 357 -m32 \ 358 -mmmx \ 359 -march=pentium4 \ 360 -msse2 \ 361 -mfpmath=sse \ 362 -fuse-ld=gold \ 363 -ffunction-sections \ 364 -funwind-tables \ 365 -g \ 366 -fno-short-enums \ 367 -finline-limit=64 \ 368 -Wa,--noexecstack \ 369 -U_FORTIFY_SOURCE \ 370 -Wno-extra \ 371 -Wno-ignored-qualifiers \ 372 -Wno-type-limits \ 373 -fno-stack-protector \ 374 -Os \ 375 -fno-ident \ 376 -fdata-sections \ 377 -ffunction-sections \ 378 -fomit-frame-pointer \ 379 -fno-unwind-tables \ 380 -fno-asynchronous-unwind-tables 381 382MY_DEFS_Release := \ 383 '-DV8_DEPRECATION_WARNINGS' \ 384 '-D_FILE_OFFSET_BITS=64' \ 385 '-DNO_TCMALLOC' \ 386 '-DDISABLE_NACL' \ 387 '-DCHROMIUM_BUILD' \ 388 '-DUSE_LIBJPEG_TURBO=1' \ 389 '-DUSE_PROPRIETARY_CODECS' \ 390 '-DENABLE_CONFIGURATION_POLICY' \ 391 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 392 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 393 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 394 '-DUSE_OPENSSL=1' \ 395 '-DENABLE_EGLIMAGE=1' \ 396 '-DCLD_VERSION=1' \ 397 '-DENABLE_PRINTING=1' \ 398 '-DENABLE_MANAGED_USERS=1' \ 399 '-DCC_IMPLEMENTATION=1' \ 400 '-DMEDIA_DISABLE_LIBVPX' \ 401 '-DSK_ENABLE_INST_COUNT=0' \ 402 '-DSK_SUPPORT_GPU=1' \ 403 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 404 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 405 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 406 '-DSK_SUPPORT_LEGACY_COLORTYPE=1' \ 407 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 408 '-DSK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1' \ 409 '-DSK_BUILD_FOR_ANDROID' \ 410 '-DSK_USE_POSIX_THREADS' \ 411 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 412 '-DU_USING_ICU_NAMESPACE=0' \ 413 '-DMESA_EGL_NO_X11_HEADERS' \ 414 '-D__STDC_CONSTANT_MACROS' \ 415 '-D__STDC_FORMAT_MACROS' \ 416 '-DANDROID' \ 417 '-D__GNU_SOURCE=1' \ 418 '-DUSE_STLPORT=1' \ 419 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 420 '-DCHROME_BUILD_ID=""' \ 421 '-DNDEBUG' \ 422 '-DNVALGRIND' \ 423 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 424 '-D_FORTIFY_SOURCE=2' 425 426 427# Include paths placed before CFLAGS/CPPFLAGS 428LOCAL_C_INCLUDES_Release := \ 429 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 430 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 431 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 432 $(LOCAL_PATH) \ 433 $(LOCAL_PATH)/third_party/khronos \ 434 $(LOCAL_PATH)/gpu \ 435 $(LOCAL_PATH)/skia/config \ 436 $(LOCAL_PATH)/third_party/WebKit/Source \ 437 $(LOCAL_PATH)/third_party/skia/src/core \ 438 $(LOCAL_PATH)/third_party/skia/include/core \ 439 $(LOCAL_PATH)/third_party/skia/include/effects \ 440 $(LOCAL_PATH)/third_party/skia/include/pdf \ 441 $(LOCAL_PATH)/third_party/skia/include/gpu \ 442 $(LOCAL_PATH)/third_party/skia/include/lazy \ 443 $(LOCAL_PATH)/third_party/skia/include/pathops \ 444 $(LOCAL_PATH)/third_party/skia/include/pipe \ 445 $(LOCAL_PATH)/third_party/skia/include/ports \ 446 $(LOCAL_PATH)/third_party/skia/include/utils \ 447 $(LOCAL_PATH)/skia/ext \ 448 $(PWD)/external/icu4c/common \ 449 $(PWD)/external/icu4c/i18n \ 450 $(gyp_shared_intermediate_dir)/ui/gl \ 451 $(LOCAL_PATH)/third_party/mesa/src/include \ 452 $(PWD)/frameworks/wilhelm/include \ 453 $(PWD)/bionic \ 454 $(PWD)/external/stlport/stlport 455 456 457# Flags passed to only C++ (and not C) files. 458LOCAL_CPPFLAGS_Release := \ 459 -fno-rtti \ 460 -fno-threadsafe-statics \ 461 -fvisibility-inlines-hidden \ 462 -Wsign-compare \ 463 -Wno-error=c++0x-compat \ 464 -Wno-non-virtual-dtor \ 465 -Wno-sign-promo 466 467 468LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 469LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 470LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 471### Rules for final target. 472 473LOCAL_LDFLAGS_Debug := \ 474 -Wl,-z,now \ 475 -Wl,-z,relro \ 476 -Wl,-z,noexecstack \ 477 -fPIC \ 478 -m32 \ 479 -fuse-ld=gold \ 480 -nostdlib \ 481 -Wl,--no-undefined \ 482 -Wl,--exclude-libs=ALL \ 483 -Wl,--fatal-warnings \ 484 -Wl,--gc-sections \ 485 -Wl,--warn-shared-textrel \ 486 -Wl,-O1 \ 487 -Wl,--as-needed 488 489 490LOCAL_LDFLAGS_Release := \ 491 -Wl,-z,now \ 492 -Wl,-z,relro \ 493 -Wl,-z,noexecstack \ 494 -fPIC \ 495 -m32 \ 496 -fuse-ld=gold \ 497 -nostdlib \ 498 -Wl,--no-undefined \ 499 -Wl,--exclude-libs=ALL \ 500 -Wl,-O1 \ 501 -Wl,--as-needed \ 502 -Wl,--gc-sections \ 503 -Wl,--fatal-warnings \ 504 -Wl,--warn-shared-textrel 505 506 507LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 508 509LOCAL_STATIC_LIBRARIES := \ 510 skia_skia_library_gyp \ 511 ui_gl_gl_gyp 512 513# Enable grouping to fix circular references 514LOCAL_GROUP_STATIC_LIBRARIES := true 515 516LOCAL_SHARED_LIBRARIES := \ 517 libstlport \ 518 libdl 519 520# Add target alias to "gyp_all_modules" target. 521.PHONY: gyp_all_modules 522gyp_all_modules: cc_cc_gyp 523 524# Alias gyp target name. 525.PHONY: cc 526cc: cc_cc_gyp 527 528include $(BUILD_STATIC_LIBRARY) 529