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 228 229# Flags passed to both C and C++ files. 230MY_CFLAGS_Debug := \ 231 -fstack-protector \ 232 --param=ssp-buffer-size=4 \ 233 -Werror \ 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 -fno-tree-sra \ 243 -fno-caller-saves \ 244 -Wno-psabi \ 245 -fno-partial-inlining \ 246 -fno-early-inlining \ 247 -fno-tree-copy-prop \ 248 -fno-tree-loop-optimize \ 249 -fno-move-loop-invariants \ 250 -ffunction-sections \ 251 -funwind-tables \ 252 -g \ 253 -fstack-protector \ 254 -fno-short-enums \ 255 -finline-limit=64 \ 256 -Wa,--noexecstack \ 257 -U_FORTIFY_SOURCE \ 258 -Wno-extra \ 259 -Wno-ignored-qualifiers \ 260 -Wno-type-limits \ 261 -Wno-unused-but-set-variable \ 262 -Os \ 263 -g \ 264 -gdwarf-4 \ 265 -fdata-sections \ 266 -ffunction-sections \ 267 -fomit-frame-pointer \ 268 -funwind-tables 269 270MY_DEFS_Debug := \ 271 '-DV8_DEPRECATION_WARNINGS' \ 272 '-D_FILE_OFFSET_BITS=64' \ 273 '-DNO_TCMALLOC' \ 274 '-DDISABLE_NACL' \ 275 '-DCHROMIUM_BUILD' \ 276 '-DUSE_LIBJPEG_TURBO=1' \ 277 '-DENABLE_WEBRTC=1' \ 278 '-DUSE_PROPRIETARY_CODECS' \ 279 '-DENABLE_BROWSER_CDMS' \ 280 '-DENABLE_CONFIGURATION_POLICY' \ 281 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 282 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 283 '-DENABLE_EGLIMAGE=1' \ 284 '-DCLD_VERSION=1' \ 285 '-DENABLE_PRINTING=1' \ 286 '-DENABLE_MANAGED_USERS=1' \ 287 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 288 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 289 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 290 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 291 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 292 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 293 '-DVIDEO_HOLE=1' \ 294 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 295 '-DMEDIA_IMPLEMENTATION' \ 296 '-DDISABLE_USER_INPUT_MONITOR' \ 297 '-DSK_ENABLE_INST_COUNT=0' \ 298 '-DSK_SUPPORT_GPU=1' \ 299 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 300 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 301 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 302 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 303 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 304 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 305 '-DSK_BUILD_FOR_ANDROID' \ 306 '-DSK_USE_POSIX_THREADS' \ 307 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 308 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 309 '-DU_USING_ICU_NAMESPACE=0' \ 310 '-DU_ENABLE_DYLOAD=0' \ 311 '-DUSE_OPENSSL=1' \ 312 '-DUSE_OPENSSL_CERTS=1' \ 313 '-D__STDC_CONSTANT_MACROS' \ 314 '-D__STDC_FORMAT_MACROS' \ 315 '-DANDROID' \ 316 '-D__GNU_SOURCE=1' \ 317 '-DUSE_STLPORT=1' \ 318 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 319 '-DCHROME_BUILD_ID=""' \ 320 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 321 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 322 '-D_DEBUG' 323 324 325# Include paths placed before CFLAGS/CPPFLAGS 326LOCAL_C_INCLUDES_Debug := \ 327 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 328 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 329 $(gyp_shared_intermediate_dir) \ 330 $(LOCAL_PATH) \ 331 $(LOCAL_PATH)/third_party/khronos \ 332 $(LOCAL_PATH)/gpu \ 333 $(LOCAL_PATH)/skia/config \ 334 $(LOCAL_PATH)/third_party/skia/src/core \ 335 $(LOCAL_PATH)/third_party/skia/include/core \ 336 $(LOCAL_PATH)/third_party/skia/include/effects \ 337 $(LOCAL_PATH)/third_party/skia/include/pdf \ 338 $(LOCAL_PATH)/third_party/skia/include/gpu \ 339 $(LOCAL_PATH)/third_party/skia/include/lazy \ 340 $(LOCAL_PATH)/third_party/skia/include/pathops \ 341 $(LOCAL_PATH)/third_party/skia/include/pipe \ 342 $(LOCAL_PATH)/third_party/skia/include/ports \ 343 $(LOCAL_PATH)/third_party/skia/include/utils \ 344 $(LOCAL_PATH)/skia/ext \ 345 $(LOCAL_PATH)/third_party/libyuv/include \ 346 $(LOCAL_PATH)/third_party/libyuv \ 347 $(LOCAL_PATH)/third_party/opus/src/include \ 348 $(PWD)/external/icu/icu4c/source/common \ 349 $(PWD)/external/icu/icu4c/source/i18n \ 350 $(gyp_shared_intermediate_dir)/media \ 351 $(PWD)/frameworks/wilhelm/include \ 352 $(PWD)/bionic \ 353 $(PWD)/external/stlport/stlport 354 355 356# Flags passed to only C++ (and not C) files. 357LOCAL_CPPFLAGS_Debug := \ 358 -fno-exceptions \ 359 -fno-rtti \ 360 -fno-threadsafe-statics \ 361 -fvisibility-inlines-hidden \ 362 -Wsign-compare \ 363 -Wno-abi \ 364 -std=gnu++11 \ 365 -Wno-narrowing \ 366 -Wno-literal-suffix \ 367 -Wno-non-virtual-dtor \ 368 -Wno-sign-promo 369 370 371# Flags passed to both C and C++ files. 372MY_CFLAGS_Release := \ 373 -fstack-protector \ 374 --param=ssp-buffer-size=4 \ 375 -Werror \ 376 -fno-strict-aliasing \ 377 -Wall \ 378 -Wno-unused-parameter \ 379 -Wno-missing-field-initializers \ 380 -fvisibility=hidden \ 381 -pipe \ 382 -fPIC \ 383 -Wno-unused-local-typedefs \ 384 -fno-tree-sra \ 385 -fno-caller-saves \ 386 -Wno-psabi \ 387 -fno-partial-inlining \ 388 -fno-early-inlining \ 389 -fno-tree-copy-prop \ 390 -fno-tree-loop-optimize \ 391 -fno-move-loop-invariants \ 392 -ffunction-sections \ 393 -funwind-tables \ 394 -g \ 395 -fstack-protector \ 396 -fno-short-enums \ 397 -finline-limit=64 \ 398 -Wa,--noexecstack \ 399 -U_FORTIFY_SOURCE \ 400 -Wno-extra \ 401 -Wno-ignored-qualifiers \ 402 -Wno-type-limits \ 403 -Wno-unused-but-set-variable \ 404 -Os \ 405 -fno-ident \ 406 -fdata-sections \ 407 -ffunction-sections \ 408 -fomit-frame-pointer \ 409 -funwind-tables 410 411MY_DEFS_Release := \ 412 '-DV8_DEPRECATION_WARNINGS' \ 413 '-D_FILE_OFFSET_BITS=64' \ 414 '-DNO_TCMALLOC' \ 415 '-DDISABLE_NACL' \ 416 '-DCHROMIUM_BUILD' \ 417 '-DUSE_LIBJPEG_TURBO=1' \ 418 '-DENABLE_WEBRTC=1' \ 419 '-DUSE_PROPRIETARY_CODECS' \ 420 '-DENABLE_BROWSER_CDMS' \ 421 '-DENABLE_CONFIGURATION_POLICY' \ 422 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 423 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 424 '-DENABLE_EGLIMAGE=1' \ 425 '-DCLD_VERSION=1' \ 426 '-DENABLE_PRINTING=1' \ 427 '-DENABLE_MANAGED_USERS=1' \ 428 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 429 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 430 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 431 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 432 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 433 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 434 '-DVIDEO_HOLE=1' \ 435 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 436 '-DMEDIA_IMPLEMENTATION' \ 437 '-DDISABLE_USER_INPUT_MONITOR' \ 438 '-DSK_ENABLE_INST_COUNT=0' \ 439 '-DSK_SUPPORT_GPU=1' \ 440 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 441 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 442 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 443 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 444 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 445 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 446 '-DSK_BUILD_FOR_ANDROID' \ 447 '-DSK_USE_POSIX_THREADS' \ 448 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 449 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 450 '-DU_USING_ICU_NAMESPACE=0' \ 451 '-DU_ENABLE_DYLOAD=0' \ 452 '-DUSE_OPENSSL=1' \ 453 '-DUSE_OPENSSL_CERTS=1' \ 454 '-D__STDC_CONSTANT_MACROS' \ 455 '-D__STDC_FORMAT_MACROS' \ 456 '-DANDROID' \ 457 '-D__GNU_SOURCE=1' \ 458 '-DUSE_STLPORT=1' \ 459 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 460 '-DCHROME_BUILD_ID=""' \ 461 '-DNDEBUG' \ 462 '-DNVALGRIND' \ 463 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 464 '-D_FORTIFY_SOURCE=2' 465 466 467# Include paths placed before CFLAGS/CPPFLAGS 468LOCAL_C_INCLUDES_Release := \ 469 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 470 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 471 $(gyp_shared_intermediate_dir) \ 472 $(LOCAL_PATH) \ 473 $(LOCAL_PATH)/third_party/khronos \ 474 $(LOCAL_PATH)/gpu \ 475 $(LOCAL_PATH)/skia/config \ 476 $(LOCAL_PATH)/third_party/skia/src/core \ 477 $(LOCAL_PATH)/third_party/skia/include/core \ 478 $(LOCAL_PATH)/third_party/skia/include/effects \ 479 $(LOCAL_PATH)/third_party/skia/include/pdf \ 480 $(LOCAL_PATH)/third_party/skia/include/gpu \ 481 $(LOCAL_PATH)/third_party/skia/include/lazy \ 482 $(LOCAL_PATH)/third_party/skia/include/pathops \ 483 $(LOCAL_PATH)/third_party/skia/include/pipe \ 484 $(LOCAL_PATH)/third_party/skia/include/ports \ 485 $(LOCAL_PATH)/third_party/skia/include/utils \ 486 $(LOCAL_PATH)/skia/ext \ 487 $(LOCAL_PATH)/third_party/libyuv/include \ 488 $(LOCAL_PATH)/third_party/libyuv \ 489 $(LOCAL_PATH)/third_party/opus/src/include \ 490 $(PWD)/external/icu/icu4c/source/common \ 491 $(PWD)/external/icu/icu4c/source/i18n \ 492 $(gyp_shared_intermediate_dir)/media \ 493 $(PWD)/frameworks/wilhelm/include \ 494 $(PWD)/bionic \ 495 $(PWD)/external/stlport/stlport 496 497 498# Flags passed to only C++ (and not C) files. 499LOCAL_CPPFLAGS_Release := \ 500 -fno-exceptions \ 501 -fno-rtti \ 502 -fno-threadsafe-statics \ 503 -fvisibility-inlines-hidden \ 504 -Wsign-compare \ 505 -Wno-abi \ 506 -std=gnu++11 \ 507 -Wno-narrowing \ 508 -Wno-literal-suffix \ 509 -Wno-non-virtual-dtor \ 510 -Wno-sign-promo 511 512 513LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 514LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 515LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 516LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 517### Rules for final target. 518 519LOCAL_SHARED_LIBRARIES := \ 520 libstlport \ 521 libdl 522 523# Add target alias to "gyp_all_modules" target. 524.PHONY: gyp_all_modules 525gyp_all_modules: media_media_gyp 526 527# Alias gyp target name. 528.PHONY: media 529media: media_media_gyp 530 531include $(BUILD_STATIC_LIBRARY) 532