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