Home | History | Annotate | Download | only in content
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := content_content_common_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_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,third_party_WebKit_public_blink_headers_gyp,,,$(GYP_VAR_PREFIX))/blink_headers.stamp \
     17 	$(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \
     18 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_accessibility_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_accessibility_gyp.a \
     19 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \
     20 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
     21 	$(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \
     22 	$(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_application_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_application_bindings_gyp.a \
     23 	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \
     24 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a \
     25 	$(call intermediates-dir-for,GYP,content_content_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/content_jni_headers.stamp \
     26 	$(call intermediates-dir-for,GYP,content_common_aidl_gyp,,,$(GYP_VAR_PREFIX))/common_aidl.stamp
     27 
     28 ### Rules for action "generate_webkit_version":
     29 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_local_path := $(LOCAL_PATH)
     30 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
     31 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     32 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     33 $(gyp_shared_intermediate_dir)/webkit_version.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     34 $(gyp_shared_intermediate_dir)/webkit_version.h: $(LOCAL_PATH)/build/util/version.py $(LOCAL_PATH)/build/util/LASTCHANGE.blink $(LOCAL_PATH)/content/webkit_version.h.in $(GYP_TARGET_DEPENDENCIES)
     35 	@echo "Gyp action: content_content_gyp_content_common_target_generate_webkit_version ($@)"
     36 	$(hide)cd $(gyp_local_path)/content; mkdir -p $(gyp_shared_intermediate_dir); python ../build/util/version.py -f ../build/util/LASTCHANGE.blink webkit_version.h.in "$(gyp_shared_intermediate_dir)/webkit_version.h"
     37 
     38 
     39 
     40 GYP_GENERATED_OUTPUTS := \
     41 	$(gyp_shared_intermediate_dir)/webkit_version.h
     42 
     43 # Make sure our deps and generated files are built first.
     44 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     45 
     46 LOCAL_CPP_EXTENSION := .cc
     47 LOCAL_GENERATED_SOURCES :=
     48 
     49 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     50 
     51 LOCAL_SRC_FILES := \
     52 	content/public/common/child_process_host_delegate.cc \
     53 	content/public/common/color_suggestion.cc \
     54 	content/public/common/common_param_traits.cc \
     55 	content/public/common/content_client.cc \
     56 	content/public/common/content_constants.cc \
     57 	content/public/common/content_switches.cc \
     58 	content/public/common/context_menu_params.cc \
     59 	content/public/common/drop_data.cc \
     60 	content/public/common/favicon_url.cc \
     61 	content/public/common/file_chooser_params.cc \
     62 	content/public/common/frame_navigate_params.cc \
     63 	content/public/common/geoposition.cc \
     64 	content/public/common/gpu_memory_stats.cc \
     65 	content/public/common/manifest.cc \
     66 	content/public/common/media_stream_request.cc \
     67 	content/public/common/menu_item.cc \
     68 	content/public/common/page_state.cc \
     69 	content/public/common/push_messaging_status.cc \
     70 	content/public/common/renderer_preferences.cc \
     71 	content/public/common/resource_devtools_info.cc \
     72 	content/public/common/resource_response_info.cc \
     73 	content/public/common/resource_type.cc \
     74 	content/public/common/sandboxed_process_launcher_delegate.cc \
     75 	content/public/common/show_desktop_notification_params.cc \
     76 	content/public/common/signed_certificate_timestamp_id_and_status.cc \
     77 	content/public/common/speech_recognition_result.cc \
     78 	content/public/common/ssl_status.cc \
     79 	content/public/common/url_constants.cc \
     80 	content/public/common/url_utils.cc \
     81 	content/public/common/web_preferences.cc \
     82 	content/public/common/webplugininfo.cc \
     83 	content/public/common/window_container_type.cc \
     84 	content/common/android/address_parser.cc \
     85 	content/common/android/address_parser_internal.cc \
     86 	content/common/android/common_jni_registrar.cc \
     87 	content/common/android/gin_java_bridge_errors.cc \
     88 	content/common/android/gin_java_bridge_value.cc \
     89 	content/common/android/hash_set.cc \
     90 	content/common/android/surface_texture_lookup.cc \
     91 	content/common/android/surface_texture_peer.cc \
     92 	content/common/appcache_interfaces.cc \
     93 	content/common/browser_plugin/browser_plugin_constants.cc \
     94 	content/common/cc_messages.cc \
     95 	content/common/child_process_host_impl.cc \
     96 	content/common/content_constants_internal.cc \
     97 	content/common/content_ipc_logging.cc \
     98 	content/common/content_message_generator.cc \
     99 	content/common/content_param_traits.cc \
    100 	content/common/content_paths.cc \
    101 	content/common/content_switches_internal.cc \
    102 	content/common/cookie_data.cc \
    103 	content/common/cursors/webcursor.cc \
    104 	content/common/cursors/webcursor_android.cc \
    105 	content/common/dom_storage/dom_storage_map.cc \
    106 	content/common/font_list.cc \
    107 	content/common/font_list_android.cc \
    108 	content/common/frame_param.cc \
    109 	content/common/gamepad_param_traits.cc \
    110 	content/common/gamepad_user_gesture.cc \
    111 	content/common/gpu/client/command_buffer_proxy_impl.cc \
    112 	content/common/gpu/client/context_provider_command_buffer.cc \
    113 	content/common/gpu/client/gl_helper.cc \
    114 	content/common/gpu/client/gl_helper_readback_support.cc \
    115 	content/common/gpu/client/gl_helper_scaling.cc \
    116 	content/common/gpu/client/gpu_channel_host.cc \
    117 	content/common/gpu/client/gpu_memory_buffer_factory_host.cc \
    118 	content/common/gpu/client/gpu_memory_buffer_impl.cc \
    119 	content/common/gpu/client/gpu_memory_buffer_impl_android.cc \
    120 	content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc \
    121 	content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc \
    122 	content/common/gpu/client/gpu_video_decode_accelerator_host.cc \
    123 	content/common/gpu/client/gpu_video_encode_accelerator_host.cc \
    124 	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc \
    125 	content/common/gpu/devtools_gpu_agent.cc \
    126 	content/common/gpu/devtools_gpu_instrumentation.cc \
    127 	content/common/gpu/gpu_channel.cc \
    128 	content/common/gpu/gpu_channel_manager.cc \
    129 	content/common/gpu/gpu_command_buffer_stub.cc \
    130 	content/common/gpu/gpu_memory_buffer_factory_android.cc \
    131 	content/common/gpu/gpu_memory_manager.cc \
    132 	content/common/gpu/gpu_memory_manager_client.cc \
    133 	content/common/gpu/gpu_memory_tracking.cc \
    134 	content/common/gpu/gpu_surface_lookup.cc \
    135 	content/common/gpu/image_transport_surface.cc \
    136 	content/common/gpu/image_transport_surface_android.cc \
    137 	content/common/gpu/media/gpu_video_decode_accelerator.cc \
    138 	content/common/gpu/media/gpu_video_encode_accelerator.cc \
    139 	content/common/gpu/stream_texture_android.cc \
    140 	content/common/gpu/sync_point_manager.cc \
    141 	content/common/gpu/texture_image_transport_surface.cc \
    142 	content/common/host_shared_bitmap_manager.cc \
    143 	content/common/indexed_db/indexed_db_key.cc \
    144 	content/common/indexed_db/indexed_db_key_path.cc \
    145 	content/common/indexed_db/indexed_db_key_range.cc \
    146 	content/common/indexed_db/indexed_db_param_traits.cc \
    147 	content/common/input/did_overscroll_params.cc \
    148 	content/common/input/gesture_event_stream_validator.cc \
    149 	content/common/input/input_event.cc \
    150 	content/common/input/input_event_stream_validator.cc \
    151 	content/common/input/input_param_traits.cc \
    152 	content/common/input/scoped_web_input_event.cc \
    153 	content/common/input/synthetic_gesture_packet.cc \
    154 	content/common/input/synthetic_gesture_params.cc \
    155 	content/common/input/synthetic_pinch_gesture_params.cc \
    156 	content/common/input/synthetic_smooth_scroll_gesture_params.cc \
    157 	content/common/input/synthetic_tap_gesture_params.cc \
    158 	content/common/input/synthetic_web_input_event_builders.cc \
    159 	content/common/input/touch_event_stream_validator.cc \
    160 	content/common/input/web_input_event_traits.cc \
    161 	content/common/input/web_touch_event_traits.cc \
    162 	content/common/inter_process_time_ticks_converter.cc \
    163 	content/common/media/media_param_traits.cc \
    164 	content/common/media/media_stream_options.cc \
    165 	content/common/message_router.cc \
    166 	content/common/mojo/service_registry_impl.cc \
    167 	content/common/net/url_fetcher.cc \
    168 	content/common/net/url_request_user_data.cc \
    169 	content/common/one_writer_seqlock.cc \
    170 	content/common/page_state_serialization.cc \
    171 	content/common/page_zoom.cc \
    172 	content/common/process_type.cc \
    173 	content/common/resource_messages.cc \
    174 	content/common/resource_request_body.cc \
    175 	content/common/savable_url_schemes.cc \
    176 	content/common/service_worker/service_worker_status_code.cc \
    177 	content/common/service_worker/service_worker_types.cc \
    178 	content/common/set_process_title.cc \
    179 	content/common/ssl_status_serialization.cc \
    180 	content/common/swapped_out_messages.cc \
    181 	content/common/url_schemes.cc \
    182 	content/common/user_agent.cc \
    183 	content/common/webplugin_geometry.cc \
    184 	content/common/websocket.cc \
    185 	content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc \
    186 	content/common/gpu/media/android_video_decode_accelerator.cc \
    187 	content/common/gpu/media/android_video_encode_accelerator.cc
    188 
    189 
    190 # Flags passed to both C and C++ files.
    191 MY_CFLAGS_Debug := \
    192 	-fstack-protector \
    193 	--param=ssp-buffer-size=4 \
    194 	 \
    195 	-fno-strict-aliasing \
    196 	-Wall \
    197 	-Wno-unused-parameter \
    198 	-Wno-missing-field-initializers \
    199 	-fvisibility=hidden \
    200 	-pipe \
    201 	-fPIC \
    202 	-Wno-unused-local-typedefs \
    203 	-ffunction-sections \
    204 	-funwind-tables \
    205 	-g \
    206 	-fstack-protector \
    207 	-fno-short-enums \
    208 	-finline-limit=64 \
    209 	-Wa,--noexecstack \
    210 	-U_FORTIFY_SOURCE \
    211 	-Wno-extra \
    212 	-Wno-ignored-qualifiers \
    213 	-Wno-type-limits \
    214 	-Wno-unused-but-set-variable \
    215 	-Os \
    216 	-g \
    217 	-gdwarf-4 \
    218 	-fdata-sections \
    219 	-ffunction-sections \
    220 	-fomit-frame-pointer \
    221 	-funwind-tables
    222 
    223 MY_DEFS_Debug := \
    224 	'-DCONTENT_IMPLEMENTATION' \
    225 	'-DV8_DEPRECATION_WARNINGS' \
    226 	'-D_FILE_OFFSET_BITS=64' \
    227 	'-DNO_TCMALLOC' \
    228 	'-DDISABLE_NACL' \
    229 	'-DCHROMIUM_BUILD' \
    230 	'-DUSE_LIBJPEG_TURBO=1' \
    231 	'-DENABLE_WEBRTC=1' \
    232 	'-DUSE_PROPRIETARY_CODECS' \
    233 	'-DENABLE_BROWSER_CDMS' \
    234 	'-DENABLE_CONFIGURATION_POLICY' \
    235 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    236 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    237 	'-DENABLE_EGLIMAGE=1' \
    238 	'-DCLD_VERSION=1' \
    239 	'-DENABLE_PRINTING=1' \
    240 	'-DENABLE_MANAGED_USERS=1' \
    241 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    242 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    243 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    244 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    245 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    246 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    247 	'-DVIDEO_HOLE=1' \
    248 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    249 	'-DMOJO_USE_SYSTEM_IMPL' \
    250 	'-DPOSIX_AVOID_MMAP' \
    251 	'-DSK_ENABLE_INST_COUNT=0' \
    252 	'-DSK_SUPPORT_GPU=1' \
    253 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    254 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    255 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    256 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    257 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    258 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    259 	'-DSK_BUILD_FOR_ANDROID' \
    260 	'-DSK_USE_POSIX_THREADS' \
    261 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    262 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    263 	'-DU_USING_ICU_NAMESPACE=0' \
    264 	'-DU_ENABLE_DYLOAD=0' \
    265 	'-DMEDIA_DISABLE_LIBVPX' \
    266 	'-DCHROME_PNG_WRITE_SUPPORT' \
    267 	'-DPNG_USER_CONFIG' \
    268 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    269 	'-DMESA_EGL_NO_X11_HEADERS' \
    270 	'-DFEATURE_ENABLE_SSL' \
    271 	'-DFEATURE_ENABLE_VOICEMAIL' \
    272 	'-DEXPAT_RELATIVE_PATH' \
    273 	'-DGTEST_RELATIVE_PATH' \
    274 	'-DNO_MAIN_THREAD_WRAPPING' \
    275 	'-DNO_SOUND_SYSTEM' \
    276 	'-DANDROID' \
    277 	'-DPOSIX' \
    278 	'-DWEBRTC_POSIX' \
    279 	'-DXML_STATIC' \
    280 	'-DUSE_OPENSSL=1' \
    281 	'-DUSE_OPENSSL_CERTS=1' \
    282 	'-D__STDC_CONSTANT_MACROS' \
    283 	'-D__STDC_FORMAT_MACROS' \
    284 	'-D__GNU_SOURCE=1' \
    285 	'-DUSE_STLPORT=1' \
    286 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    287 	'-DCHROME_BUILD_ID=""' \
    288 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    289 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    290 	'-D_DEBUG'
    291 
    292 
    293 # Include paths placed before CFLAGS/CPPFLAGS
    294 LOCAL_C_INCLUDES_Debug := \
    295 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    296 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    297 	$(gyp_shared_intermediate_dir) \
    298 	$(LOCAL_PATH) \
    299 	$(LOCAL_PATH)/third_party/khronos \
    300 	$(LOCAL_PATH)/gpu \
    301 	$(LOCAL_PATH)/skia/config \
    302 	$(LOCAL_PATH)/third_party/WebKit/Source \
    303 	$(LOCAL_PATH)/third_party/skia/src/core \
    304 	$(LOCAL_PATH)/third_party/skia/include/core \
    305 	$(LOCAL_PATH)/third_party/skia/include/effects \
    306 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    307 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    308 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    309 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    310 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    311 	$(LOCAL_PATH)/third_party/skia/include/ports \
    312 	$(LOCAL_PATH)/third_party/skia/include/utils \
    313 	$(LOCAL_PATH)/skia/ext \
    314 	$(LOCAL_PATH)/third_party/WebKit \
    315 	$(PWD)/external/icu/icu4c/source/common \
    316 	$(PWD)/external/icu/icu4c/source/i18n \
    317 	$(LOCAL_PATH)/ipc \
    318 	$(LOCAL_PATH)/third_party/WebKit \
    319 	$(LOCAL_PATH)/third_party/npapi \
    320 	$(LOCAL_PATH)/third_party/npapi/bindings \
    321 	$(LOCAL_PATH)/v8/include \
    322 	$(LOCAL_PATH)/third_party/libpng \
    323 	$(LOCAL_PATH)/third_party/zlib \
    324 	$(LOCAL_PATH)/third_party/libwebp \
    325 	$(LOCAL_PATH)/third_party/ots/include \
    326 	$(LOCAL_PATH)/third_party/qcms/src \
    327 	$(LOCAL_PATH)/third_party/iccjpeg \
    328 	$(LOCAL_PATH)/third_party/libjpeg_turbo \
    329 	$(gyp_shared_intermediate_dir)/ui/gl \
    330 	$(LOCAL_PATH)/third_party/mesa/src/include \
    331 	$(gyp_shared_intermediate_dir)/content \
    332 	$(LOCAL_PATH)/third_party/libyuv/include \
    333 	$(LOCAL_PATH)/third_party/libyuv \
    334 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    335 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    336 	$(LOCAL_PATH)/third_party/libjingle/source \
    337 	$(LOCAL_PATH)/testing/gtest/include \
    338 	$(LOCAL_PATH)/third_party \
    339 	$(LOCAL_PATH)/third_party/expat/files/lib \
    340 	$(PWD)/frameworks/wilhelm/include \
    341 	$(PWD)/bionic \
    342 	$(PWD)/external/stlport/stlport
    343 
    344 
    345 # Flags passed to only C++ (and not C) files.
    346 LOCAL_CPPFLAGS_Debug := \
    347 	-fno-exceptions \
    348 	-fno-rtti \
    349 	-fno-threadsafe-statics \
    350 	-fvisibility-inlines-hidden \
    351 	-Wsign-compare \
    352 	-Wno-uninitialized \
    353 	-std=gnu++11 \
    354 	-Wno-narrowing \
    355 	-Wno-literal-suffix \
    356 	-Wno-non-virtual-dtor \
    357 	-Wno-sign-promo
    358 
    359 
    360 # Flags passed to both C and C++ files.
    361 MY_CFLAGS_Release := \
    362 	-fstack-protector \
    363 	--param=ssp-buffer-size=4 \
    364 	 \
    365 	-fno-strict-aliasing \
    366 	-Wall \
    367 	-Wno-unused-parameter \
    368 	-Wno-missing-field-initializers \
    369 	-fvisibility=hidden \
    370 	-pipe \
    371 	-fPIC \
    372 	-Wno-unused-local-typedefs \
    373 	-ffunction-sections \
    374 	-funwind-tables \
    375 	-g \
    376 	-fstack-protector \
    377 	-fno-short-enums \
    378 	-finline-limit=64 \
    379 	-Wa,--noexecstack \
    380 	-U_FORTIFY_SOURCE \
    381 	-Wno-extra \
    382 	-Wno-ignored-qualifiers \
    383 	-Wno-type-limits \
    384 	-Wno-unused-but-set-variable \
    385 	-Os \
    386 	-fno-ident \
    387 	-fdata-sections \
    388 	-ffunction-sections \
    389 	-fomit-frame-pointer \
    390 	-funwind-tables
    391 
    392 MY_DEFS_Release := \
    393 	'-DCONTENT_IMPLEMENTATION' \
    394 	'-DV8_DEPRECATION_WARNINGS' \
    395 	'-D_FILE_OFFSET_BITS=64' \
    396 	'-DNO_TCMALLOC' \
    397 	'-DDISABLE_NACL' \
    398 	'-DCHROMIUM_BUILD' \
    399 	'-DUSE_LIBJPEG_TURBO=1' \
    400 	'-DENABLE_WEBRTC=1' \
    401 	'-DUSE_PROPRIETARY_CODECS' \
    402 	'-DENABLE_BROWSER_CDMS' \
    403 	'-DENABLE_CONFIGURATION_POLICY' \
    404 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    405 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    406 	'-DENABLE_EGLIMAGE=1' \
    407 	'-DCLD_VERSION=1' \
    408 	'-DENABLE_PRINTING=1' \
    409 	'-DENABLE_MANAGED_USERS=1' \
    410 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    411 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    412 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    413 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    414 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    415 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    416 	'-DVIDEO_HOLE=1' \
    417 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    418 	'-DMOJO_USE_SYSTEM_IMPL' \
    419 	'-DPOSIX_AVOID_MMAP' \
    420 	'-DSK_ENABLE_INST_COUNT=0' \
    421 	'-DSK_SUPPORT_GPU=1' \
    422 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    423 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    424 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    425 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    426 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    427 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    428 	'-DSK_BUILD_FOR_ANDROID' \
    429 	'-DSK_USE_POSIX_THREADS' \
    430 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    431 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    432 	'-DU_USING_ICU_NAMESPACE=0' \
    433 	'-DU_ENABLE_DYLOAD=0' \
    434 	'-DMEDIA_DISABLE_LIBVPX' \
    435 	'-DCHROME_PNG_WRITE_SUPPORT' \
    436 	'-DPNG_USER_CONFIG' \
    437 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    438 	'-DMESA_EGL_NO_X11_HEADERS' \
    439 	'-DFEATURE_ENABLE_SSL' \
    440 	'-DFEATURE_ENABLE_VOICEMAIL' \
    441 	'-DEXPAT_RELATIVE_PATH' \
    442 	'-DGTEST_RELATIVE_PATH' \
    443 	'-DNO_MAIN_THREAD_WRAPPING' \
    444 	'-DNO_SOUND_SYSTEM' \
    445 	'-DANDROID' \
    446 	'-DPOSIX' \
    447 	'-DWEBRTC_POSIX' \
    448 	'-DXML_STATIC' \
    449 	'-DUSE_OPENSSL=1' \
    450 	'-DUSE_OPENSSL_CERTS=1' \
    451 	'-D__STDC_CONSTANT_MACROS' \
    452 	'-D__STDC_FORMAT_MACROS' \
    453 	'-D__GNU_SOURCE=1' \
    454 	'-DUSE_STLPORT=1' \
    455 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    456 	'-DCHROME_BUILD_ID=""' \
    457 	'-DNDEBUG' \
    458 	'-DNVALGRIND' \
    459 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    460 	'-D_FORTIFY_SOURCE=2'
    461 
    462 
    463 # Include paths placed before CFLAGS/CPPFLAGS
    464 LOCAL_C_INCLUDES_Release := \
    465 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    466 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    467 	$(gyp_shared_intermediate_dir) \
    468 	$(LOCAL_PATH) \
    469 	$(LOCAL_PATH)/third_party/khronos \
    470 	$(LOCAL_PATH)/gpu \
    471 	$(LOCAL_PATH)/skia/config \
    472 	$(LOCAL_PATH)/third_party/WebKit/Source \
    473 	$(LOCAL_PATH)/third_party/skia/src/core \
    474 	$(LOCAL_PATH)/third_party/skia/include/core \
    475 	$(LOCAL_PATH)/third_party/skia/include/effects \
    476 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    477 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    478 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    479 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    480 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    481 	$(LOCAL_PATH)/third_party/skia/include/ports \
    482 	$(LOCAL_PATH)/third_party/skia/include/utils \
    483 	$(LOCAL_PATH)/skia/ext \
    484 	$(LOCAL_PATH)/third_party/WebKit \
    485 	$(PWD)/external/icu/icu4c/source/common \
    486 	$(PWD)/external/icu/icu4c/source/i18n \
    487 	$(LOCAL_PATH)/ipc \
    488 	$(LOCAL_PATH)/third_party/WebKit \
    489 	$(LOCAL_PATH)/third_party/npapi \
    490 	$(LOCAL_PATH)/third_party/npapi/bindings \
    491 	$(LOCAL_PATH)/v8/include \
    492 	$(LOCAL_PATH)/third_party/libpng \
    493 	$(LOCAL_PATH)/third_party/zlib \
    494 	$(LOCAL_PATH)/third_party/libwebp \
    495 	$(LOCAL_PATH)/third_party/ots/include \
    496 	$(LOCAL_PATH)/third_party/qcms/src \
    497 	$(LOCAL_PATH)/third_party/iccjpeg \
    498 	$(LOCAL_PATH)/third_party/libjpeg_turbo \
    499 	$(gyp_shared_intermediate_dir)/ui/gl \
    500 	$(LOCAL_PATH)/third_party/mesa/src/include \
    501 	$(gyp_shared_intermediate_dir)/content \
    502 	$(LOCAL_PATH)/third_party/libyuv/include \
    503 	$(LOCAL_PATH)/third_party/libyuv \
    504 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    505 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    506 	$(LOCAL_PATH)/third_party/libjingle/source \
    507 	$(LOCAL_PATH)/testing/gtest/include \
    508 	$(LOCAL_PATH)/third_party \
    509 	$(LOCAL_PATH)/third_party/expat/files/lib \
    510 	$(PWD)/frameworks/wilhelm/include \
    511 	$(PWD)/bionic \
    512 	$(PWD)/external/stlport/stlport
    513 
    514 
    515 # Flags passed to only C++ (and not C) files.
    516 LOCAL_CPPFLAGS_Release := \
    517 	-fno-exceptions \
    518 	-fno-rtti \
    519 	-fno-threadsafe-statics \
    520 	-fvisibility-inlines-hidden \
    521 	-Wsign-compare \
    522 	-Wno-uninitialized \
    523 	-std=gnu++11 \
    524 	-Wno-narrowing \
    525 	-Wno-literal-suffix \
    526 	-Wno-non-virtual-dtor \
    527 	-Wno-sign-promo
    528 
    529 
    530 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    531 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    532 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    533 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    534 ### Rules for final target.
    535 
    536 LOCAL_SHARED_LIBRARIES := \
    537 	libstlport \
    538 	libdl
    539 
    540 # Add target alias to "gyp_all_modules" target.
    541 .PHONY: gyp_all_modules
    542 gyp_all_modules: content_content_common_gyp
    543 
    544 # Alias gyp target name.
    545 .PHONY: content_common
    546 content_common: content_content_common_gyp
    547 
    548 include $(BUILD_STATIC_LIBRARY)
    549