1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := media_media_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,GYP,media_media_android_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/media_android_jni_headers.stamp \ 17 $(call intermediates-dir-for,GYP,media_video_capture_android_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/video_capture_android_jni_headers.stamp 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 media/audio/android/audio_manager_android.cc \ 31 media/audio/android/audio_record_input.cc \ 32 media/audio/android/opensles_input.cc \ 33 media/audio/android/opensles_output.cc \ 34 media/audio/android/opensles_wrapper.cc \ 35 media/audio/audio_buffers_state.cc \ 36 media/audio/audio_device_name.cc \ 37 media/audio/audio_device_thread.cc \ 38 media/audio/audio_input_controller.cc \ 39 media/audio/audio_input_device.cc \ 40 media/audio/audio_input_ipc.cc \ 41 media/audio/audio_manager.cc \ 42 media/audio/audio_manager_base.cc \ 43 media/audio/audio_output_controller.cc \ 44 media/audio/audio_output_device.cc \ 45 media/audio/audio_output_dispatcher.cc \ 46 media/audio/audio_output_dispatcher_impl.cc \ 47 media/audio/audio_output_ipc.cc \ 48 media/audio/audio_output_proxy.cc \ 49 media/audio/audio_output_resampler.cc \ 50 media/audio/audio_power_monitor.cc \ 51 media/audio/clockless_audio_sink.cc \ 52 media/audio/fake_audio_consumer.cc \ 53 media/audio/fake_audio_input_stream.cc \ 54 media/audio/fake_audio_log_factory.cc \ 55 media/audio/fake_audio_manager.cc \ 56 media/audio/fake_audio_output_stream.cc \ 57 media/audio/null_audio_sink.cc \ 58 media/audio/sample_rates.cc \ 59 media/audio/scoped_task_runner_observer.cc \ 60 media/audio/simple_sources.cc \ 61 media/audio/sounds/audio_stream_handler.cc \ 62 media/audio/sounds/sounds_manager.cc \ 63 media/audio/sounds/wav_audio_handler.cc \ 64 media/audio/virtual_audio_input_stream.cc \ 65 media/audio/virtual_audio_output_stream.cc \ 66 media/base/android/demuxer_stream_player_params.cc \ 67 media/base/android/media_resource_getter.cc \ 68 media/base/audio_block_fifo.cc \ 69 media/base/audio_buffer.cc \ 70 media/base/audio_buffer_queue.cc \ 71 media/base/audio_buffer_converter.cc \ 72 media/base/audio_converter.cc \ 73 media/base/audio_decoder.cc \ 74 media/base/audio_decoder_config.cc \ 75 media/base/audio_discard_helper.cc \ 76 media/base/audio_fifo.cc \ 77 media/base/audio_hardware_config.cc \ 78 media/base/audio_hash.cc \ 79 media/base/audio_pull_fifo.cc \ 80 media/base/audio_renderer.cc \ 81 media/base/audio_renderer_mixer.cc \ 82 media/base/audio_renderer_mixer_input.cc \ 83 media/base/audio_splicer.cc \ 84 media/base/audio_timestamp_helper.cc \ 85 media/base/bit_reader.cc \ 86 media/base/bit_reader_core.cc \ 87 media/base/byte_queue.cc \ 88 media/base/cdm_promise.cc \ 89 media/base/channel_mixer.cc \ 90 media/base/data_buffer.cc \ 91 media/base/data_source.cc \ 92 media/base/decoder_buffer.cc \ 93 media/base/decoder_buffer_queue.cc \ 94 media/base/decrypt_config.cc \ 95 media/base/decryptor.cc \ 96 media/base/demuxer.cc \ 97 media/base/demuxer_stream.cc \ 98 media/base/demuxer_stream_provider.cc \ 99 media/base/djb2.cc \ 100 media/base/media.cc \ 101 media/base/media_keys.cc \ 102 media/base/media_log.cc \ 103 media/base/media_switches.cc \ 104 media/base/multi_channel_resampler.cc \ 105 media/base/pipeline.cc \ 106 media/base/player_tracker.cc \ 107 media/base/ranges.cc \ 108 media/base/renderer.cc \ 109 media/base/sample_format.cc \ 110 media/base/seekable_buffer.cc \ 111 media/base/serial_runner.cc \ 112 media/base/simd/convert_rgb_to_yuv_c.cc \ 113 media/base/simd/convert_yuv_to_rgb_c.cc \ 114 media/base/simd/filter_yuv_c.cc \ 115 media/base/simd/yuv_to_rgb_table.cc \ 116 media/base/sinc_resampler.cc \ 117 media/base/stream_parser.cc \ 118 media/base/stream_parser_buffer.cc \ 119 media/base/text_cue.cc \ 120 media/base/text_ranges.cc \ 121 media/base/text_renderer.cc \ 122 media/base/text_track_config.cc \ 123 media/base/time_delta_interpolator.cc \ 124 media/base/user_input_monitor.cc \ 125 media/base/video_decoder.cc \ 126 media/base/video_decoder_config.cc \ 127 media/base/video_frame.cc \ 128 media/base/video_frame_pool.cc \ 129 media/base/video_renderer.cc \ 130 media/base/video_util.cc \ 131 media/base/yuv_convert.cc \ 132 media/base/wall_clock_time_source.cc \ 133 media/cdm/aes_decryptor.cc \ 134 media/cdm/json_web_key.cc \ 135 media/cdm/key_system_names.cc \ 136 media/cdm/player_tracker_impl.cc \ 137 media/filters/audio_clock.cc \ 138 media/filters/audio_renderer_algorithm.cc \ 139 media/filters/audio_renderer_impl.cc \ 140 media/filters/chunk_demuxer.cc \ 141 media/filters/decoder_selector.cc \ 142 media/filters/decoder_stream.cc \ 143 media/filters/decoder_stream_traits.cc \ 144 media/filters/decrypting_audio_decoder.cc \ 145 media/filters/decrypting_demuxer_stream.cc \ 146 media/filters/decrypting_video_decoder.cc \ 147 media/filters/file_data_source.cc \ 148 media/filters/frame_processor.cc \ 149 media/filters/gpu_video_accelerator_factories.cc \ 150 media/filters/gpu_video_decoder.cc \ 151 media/filters/h264_bit_reader.cc \ 152 media/filters/h264_parser.cc \ 153 media/filters/renderer_impl.cc \ 154 media/filters/skcanvas_video_renderer.cc \ 155 media/filters/source_buffer_platform.cc \ 156 media/filters/source_buffer_range.cc \ 157 media/filters/source_buffer_stream.cc \ 158 media/filters/stream_parser_factory.cc \ 159 media/filters/video_frame_scheduler_impl.cc \ 160 media/filters/video_frame_scheduler_proxy.cc \ 161 media/filters/video_renderer_impl.cc \ 162 media/filters/wsola_internals.cc \ 163 media/midi/midi_manager.cc \ 164 media/midi/midi_manager_android.cc \ 165 media/midi/midi_manager_usb.cc \ 166 media/midi/midi_message_queue.cc \ 167 media/midi/midi_message_util.cc \ 168 media/midi/midi_port_info.cc \ 169 media/midi/usb_midi_descriptor_parser.cc \ 170 media/midi/usb_midi_device_android.cc \ 171 media/midi/usb_midi_device_factory_android.cc \ 172 media/midi/usb_midi_input_stream.cc \ 173 media/midi/usb_midi_output_stream.cc \ 174 media/video/capture/android/video_capture_device_android.cc \ 175 media/video/capture/android/video_capture_device_factory_android.cc \ 176 media/video/capture/fake_video_capture_device.cc \ 177 media/video/capture/fake_video_capture_device_factory.cc \ 178 media/video/capture/file_video_capture_device.cc \ 179 media/video/capture/file_video_capture_device_factory.cc \ 180 media/video/capture/video_capture_device.cc \ 181 media/video/capture/video_capture_device_factory.cc \ 182 media/video/capture/video_capture_types.cc \ 183 media/video/picture.cc \ 184 media/video/video_decode_accelerator.cc \ 185 media/video/video_encode_accelerator.cc \ 186 media/formats/common/offset_byte_queue.cc \ 187 media/formats/webm/webm_audio_client.cc \ 188 media/formats/webm/webm_cluster_parser.cc \ 189 media/formats/webm/webm_constants.cc \ 190 media/formats/webm/webm_content_encodings.cc \ 191 media/formats/webm/webm_content_encodings_client.cc \ 192 media/formats/webm/webm_crypto_helpers.cc \ 193 media/formats/webm/webm_info_parser.cc \ 194 media/formats/webm/webm_parser.cc \ 195 media/formats/webm/webm_stream_parser.cc \ 196 media/formats/webm/webm_tracks_parser.cc \ 197 media/formats/webm/webm_video_client.cc \ 198 media/formats/webm/webm_webvtt_parser.cc \ 199 media/base/browser_cdm.cc \ 200 media/base/media_stub.cc \ 201 media/filters/h264_to_annex_b_bitstream_converter.cc \ 202 media/formats/mp2t/es_adapter_video.cc \ 203 media/formats/mp2t/es_parser.cc \ 204 media/formats/mp2t/es_parser_adts.cc \ 205 media/formats/mp2t/es_parser_h264.cc \ 206 media/formats/mp2t/es_parser_mpeg1audio.cc \ 207 media/formats/mp2t/mp2t_stream_parser.cc \ 208 media/formats/mp2t/timestamp_unroller.cc \ 209 media/formats/mp2t/ts_packet.cc \ 210 media/formats/mp2t/ts_section_pat.cc \ 211 media/formats/mp2t/ts_section_pes.cc \ 212 media/formats/mp2t/ts_section_pmt.cc \ 213 media/formats/mp2t/ts_section_psi.cc \ 214 media/formats/mp4/aac.cc \ 215 media/formats/mp4/avc.cc \ 216 media/formats/mp4/box_definitions.cc \ 217 media/formats/mp4/box_reader.cc \ 218 media/formats/mp4/cenc.cc \ 219 media/formats/mp4/es_descriptor.cc \ 220 media/formats/mp4/mp4_stream_parser.cc \ 221 media/formats/mp4/sample_to_group_iterator.cc \ 222 media/formats/mp4/track_run_iterator.cc \ 223 media/formats/mpeg/adts_constants.cc \ 224 media/formats/mpeg/adts_stream_parser.cc \ 225 media/formats/mpeg/mpeg_audio_stream_parser_base.cc \ 226 media/formats/mpeg/mpeg1_audio_stream_parser.cc \ 227 media/base/simd/convert_yuv_to_rgb_x86.cc 228 229 230# Flags passed to both C and C++ files. 231MY_CFLAGS_Debug := \ 232 -fstack-protector \ 233 --param=ssp-buffer-size=4 \ 234 -Werror \ 235 -fno-strict-aliasing \ 236 -Wall \ 237 -Wno-unused-parameter \ 238 -Wno-missing-field-initializers \ 239 -fvisibility=hidden \ 240 -pipe \ 241 -fPIC \ 242 -Wno-unused-local-typedefs \ 243 -m64 \ 244 -march=x86-64 \ 245 -ffunction-sections \ 246 -funwind-tables \ 247 -g \ 248 -fstack-protector \ 249 -fno-short-enums \ 250 -finline-limit=64 \ 251 -Wa,--noexecstack \ 252 -U_FORTIFY_SOURCE \ 253 -Wno-extra \ 254 -Wno-ignored-qualifiers \ 255 -Wno-type-limits \ 256 -Wno-unused-but-set-variable \ 257 -Os \ 258 -g \ 259 -gdwarf-4 \ 260 -fdata-sections \ 261 -ffunction-sections \ 262 -fomit-frame-pointer \ 263 -funwind-tables 264 265MY_DEFS_Debug := \ 266 '-DV8_DEPRECATION_WARNINGS' \ 267 '-D_FILE_OFFSET_BITS=64' \ 268 '-DNO_TCMALLOC' \ 269 '-DDISABLE_NACL' \ 270 '-DCHROMIUM_BUILD' \ 271 '-DUSE_LIBJPEG_TURBO=1' \ 272 '-DENABLE_WEBRTC=1' \ 273 '-DUSE_PROPRIETARY_CODECS' \ 274 '-DENABLE_BROWSER_CDMS' \ 275 '-DENABLE_CONFIGURATION_POLICY' \ 276 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 277 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 278 '-DENABLE_EGLIMAGE=1' \ 279 '-DCLD_VERSION=1' \ 280 '-DENABLE_PRINTING=1' \ 281 '-DENABLE_MANAGED_USERS=1' \ 282 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 283 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 284 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 285 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 286 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 287 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 288 '-DVIDEO_HOLE=1' \ 289 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 290 '-DMEDIA_IMPLEMENTATION' \ 291 '-DDISABLE_USER_INPUT_MONITOR' \ 292 '-DSK_ENABLE_INST_COUNT=0' \ 293 '-DSK_SUPPORT_GPU=1' \ 294 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 295 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 296 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 297 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 298 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 299 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 300 '-DSK_BUILD_FOR_ANDROID' \ 301 '-DSK_USE_POSIX_THREADS' \ 302 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 303 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 304 '-DU_USING_ICU_NAMESPACE=0' \ 305 '-DU_ENABLE_DYLOAD=0' \ 306 '-DUSE_OPENSSL=1' \ 307 '-DUSE_OPENSSL_CERTS=1' \ 308 '-D__STDC_CONSTANT_MACROS' \ 309 '-D__STDC_FORMAT_MACROS' \ 310 '-DANDROID' \ 311 '-D__GNU_SOURCE=1' \ 312 '-DUSE_STLPORT=1' \ 313 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 314 '-DCHROME_BUILD_ID=""' \ 315 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 316 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 317 '-D_DEBUG' 318 319 320# Include paths placed before CFLAGS/CPPFLAGS 321LOCAL_C_INCLUDES_Debug := \ 322 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 323 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 324 $(gyp_shared_intermediate_dir) \ 325 $(LOCAL_PATH) \ 326 $(LOCAL_PATH)/third_party/khronos \ 327 $(LOCAL_PATH)/gpu \ 328 $(LOCAL_PATH)/skia/config \ 329 $(LOCAL_PATH)/third_party/skia/src/core \ 330 $(LOCAL_PATH)/third_party/skia/include/core \ 331 $(LOCAL_PATH)/third_party/skia/include/effects \ 332 $(LOCAL_PATH)/third_party/skia/include/pdf \ 333 $(LOCAL_PATH)/third_party/skia/include/gpu \ 334 $(LOCAL_PATH)/third_party/skia/include/lazy \ 335 $(LOCAL_PATH)/third_party/skia/include/pathops \ 336 $(LOCAL_PATH)/third_party/skia/include/pipe \ 337 $(LOCAL_PATH)/third_party/skia/include/ports \ 338 $(LOCAL_PATH)/third_party/skia/include/utils \ 339 $(LOCAL_PATH)/skia/ext \ 340 $(LOCAL_PATH)/third_party/libyuv/include \ 341 $(LOCAL_PATH)/third_party/libyuv \ 342 $(LOCAL_PATH)/third_party/opus/src/include \ 343 $(PWD)/external/icu/icu4c/source/common \ 344 $(PWD)/external/icu/icu4c/source/i18n \ 345 $(gyp_shared_intermediate_dir)/media \ 346 $(PWD)/frameworks/wilhelm/include \ 347 $(PWD)/bionic \ 348 $(PWD)/external/stlport/stlport 349 350 351# Flags passed to only C++ (and not C) files. 352LOCAL_CPPFLAGS_Debug := \ 353 -fno-exceptions \ 354 -fno-rtti \ 355 -fno-threadsafe-statics \ 356 -fvisibility-inlines-hidden \ 357 -Wsign-compare \ 358 -std=gnu++11 \ 359 -Wno-narrowing \ 360 -Wno-literal-suffix \ 361 -Wno-non-virtual-dtor \ 362 -Wno-sign-promo 363 364 365# Flags passed to both C and C++ files. 366MY_CFLAGS_Release := \ 367 -fstack-protector \ 368 --param=ssp-buffer-size=4 \ 369 -Werror \ 370 -fno-strict-aliasing \ 371 -Wall \ 372 -Wno-unused-parameter \ 373 -Wno-missing-field-initializers \ 374 -fvisibility=hidden \ 375 -pipe \ 376 -fPIC \ 377 -Wno-unused-local-typedefs \ 378 -m64 \ 379 -march=x86-64 \ 380 -ffunction-sections \ 381 -funwind-tables \ 382 -g \ 383 -fstack-protector \ 384 -fno-short-enums \ 385 -finline-limit=64 \ 386 -Wa,--noexecstack \ 387 -U_FORTIFY_SOURCE \ 388 -Wno-extra \ 389 -Wno-ignored-qualifiers \ 390 -Wno-type-limits \ 391 -Wno-unused-but-set-variable \ 392 -Os \ 393 -fno-ident \ 394 -fdata-sections \ 395 -ffunction-sections \ 396 -fomit-frame-pointer \ 397 -funwind-tables 398 399MY_DEFS_Release := \ 400 '-DV8_DEPRECATION_WARNINGS' \ 401 '-D_FILE_OFFSET_BITS=64' \ 402 '-DNO_TCMALLOC' \ 403 '-DDISABLE_NACL' \ 404 '-DCHROMIUM_BUILD' \ 405 '-DUSE_LIBJPEG_TURBO=1' \ 406 '-DENABLE_WEBRTC=1' \ 407 '-DUSE_PROPRIETARY_CODECS' \ 408 '-DENABLE_BROWSER_CDMS' \ 409 '-DENABLE_CONFIGURATION_POLICY' \ 410 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 411 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 412 '-DENABLE_EGLIMAGE=1' \ 413 '-DCLD_VERSION=1' \ 414 '-DENABLE_PRINTING=1' \ 415 '-DENABLE_MANAGED_USERS=1' \ 416 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 417 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 418 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 419 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 420 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 421 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 422 '-DVIDEO_HOLE=1' \ 423 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 424 '-DMEDIA_IMPLEMENTATION' \ 425 '-DDISABLE_USER_INPUT_MONITOR' \ 426 '-DSK_ENABLE_INST_COUNT=0' \ 427 '-DSK_SUPPORT_GPU=1' \ 428 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 429 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 430 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 431 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 432 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 433 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 434 '-DSK_BUILD_FOR_ANDROID' \ 435 '-DSK_USE_POSIX_THREADS' \ 436 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 437 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 438 '-DU_USING_ICU_NAMESPACE=0' \ 439 '-DU_ENABLE_DYLOAD=0' \ 440 '-DUSE_OPENSSL=1' \ 441 '-DUSE_OPENSSL_CERTS=1' \ 442 '-D__STDC_CONSTANT_MACROS' \ 443 '-D__STDC_FORMAT_MACROS' \ 444 '-DANDROID' \ 445 '-D__GNU_SOURCE=1' \ 446 '-DUSE_STLPORT=1' \ 447 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 448 '-DCHROME_BUILD_ID=""' \ 449 '-DNDEBUG' \ 450 '-DNVALGRIND' \ 451 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 452 '-D_FORTIFY_SOURCE=2' 453 454 455# Include paths placed before CFLAGS/CPPFLAGS 456LOCAL_C_INCLUDES_Release := \ 457 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 458 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 459 $(gyp_shared_intermediate_dir) \ 460 $(LOCAL_PATH) \ 461 $(LOCAL_PATH)/third_party/khronos \ 462 $(LOCAL_PATH)/gpu \ 463 $(LOCAL_PATH)/skia/config \ 464 $(LOCAL_PATH)/third_party/skia/src/core \ 465 $(LOCAL_PATH)/third_party/skia/include/core \ 466 $(LOCAL_PATH)/third_party/skia/include/effects \ 467 $(LOCAL_PATH)/third_party/skia/include/pdf \ 468 $(LOCAL_PATH)/third_party/skia/include/gpu \ 469 $(LOCAL_PATH)/third_party/skia/include/lazy \ 470 $(LOCAL_PATH)/third_party/skia/include/pathops \ 471 $(LOCAL_PATH)/third_party/skia/include/pipe \ 472 $(LOCAL_PATH)/third_party/skia/include/ports \ 473 $(LOCAL_PATH)/third_party/skia/include/utils \ 474 $(LOCAL_PATH)/skia/ext \ 475 $(LOCAL_PATH)/third_party/libyuv/include \ 476 $(LOCAL_PATH)/third_party/libyuv \ 477 $(LOCAL_PATH)/third_party/opus/src/include \ 478 $(PWD)/external/icu/icu4c/source/common \ 479 $(PWD)/external/icu/icu4c/source/i18n \ 480 $(gyp_shared_intermediate_dir)/media \ 481 $(PWD)/frameworks/wilhelm/include \ 482 $(PWD)/bionic \ 483 $(PWD)/external/stlport/stlport 484 485 486# Flags passed to only C++ (and not C) files. 487LOCAL_CPPFLAGS_Release := \ 488 -fno-exceptions \ 489 -fno-rtti \ 490 -fno-threadsafe-statics \ 491 -fvisibility-inlines-hidden \ 492 -Wsign-compare \ 493 -std=gnu++11 \ 494 -Wno-narrowing \ 495 -Wno-literal-suffix \ 496 -Wno-non-virtual-dtor \ 497 -Wno-sign-promo 498 499 500LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 501LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 502LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 503LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 504### Rules for final target. 505 506LOCAL_SHARED_LIBRARIES := \ 507 libstlport \ 508 libdl 509 510# Add target alias to "gyp_all_modules" target. 511.PHONY: gyp_all_modules 512gyp_all_modules: media_media_gyp 513 514# Alias gyp target name. 515.PHONY: media 516media: media_media_gyp 517 518include $(BUILD_STATIC_LIBRARY) 519