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