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_child_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 gyp_intermediate_dir := $(call local-intermediates-dir)
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES := \
     14 	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
     15 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \
     16 	$(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \
     17 	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \
     18 	$(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp \
     19 	$(call intermediates-dir-for,STATIC_LIBRARIES,webkit_support_glue_child_gyp)/webkit_support_glue_child_gyp.a
     20 
     21 GYP_GENERATED_OUTPUTS :=
     22 
     23 # Make sure our deps and generated files are built first.
     24 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     25 
     26 LOCAL_CPP_EXTENSION := .cc
     27 LOCAL_GENERATED_SOURCES :=
     28 
     29 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     30 
     31 LOCAL_SRC_FILES := \
     32 	content/child/android/child_jni_registrar.cc \
     33 	content/child/appcache/appcache_backend_proxy.cc \
     34 	content/child/appcache/appcache_dispatcher.cc \
     35 	content/child/appcache/appcache_frontend_impl.cc \
     36 	content/child/appcache/web_application_cache_host_impl.cc \
     37 	content/child/child_histogram_message_filter.cc \
     38 	content/child/child_process.cc \
     39 	content/child/child_resource_message_filter.cc \
     40 	content/child/child_thread.cc \
     41 	content/child/database_util.cc \
     42 	content/child/db_message_filter.cc \
     43 	content/child/fileapi/file_system_dispatcher.cc \
     44 	content/child/fileapi/webfilesystem_callback_adapters.cc \
     45 	content/child/fileapi/webfilesystem_impl.cc \
     46 	content/child/fileapi/webfilewriter_impl.cc \
     47 	content/child/image_decoder.cc \
     48 	content/child/indexed_db/indexed_db_dispatcher.cc \
     49 	content/child/indexed_db/indexed_db_key_builders.cc \
     50 	content/child/indexed_db/indexed_db_message_filter.cc \
     51 	content/child/indexed_db/proxy_webidbcursor_impl.cc \
     52 	content/child/indexed_db/proxy_webidbdatabase_impl.cc \
     53 	content/child/indexed_db/proxy_webidbfactory_impl.cc \
     54 	content/child/npapi/np_channel_base.cc \
     55 	content/child/npapi/npobject_proxy.cc \
     56 	content/child/npapi/npobject_stub.cc \
     57 	content/child/npapi/npobject_util.cc \
     58 	content/child/npapi/npruntime_util.cc \
     59 	content/child/plugin_message_generator.cc \
     60 	content/child/plugin_param_traits.cc \
     61 	content/child/power_monitor_broadcast_source.cc \
     62 	content/child/quota_dispatcher.cc \
     63 	content/child/quota_message_filter.cc \
     64 	content/child/request_extra_data.cc \
     65 	content/child/resource_dispatcher.cc \
     66 	content/child/runtime_features.cc \
     67 	content/child/socket_stream_dispatcher.cc \
     68 	content/child/thread_safe_sender.cc \
     69 	content/child/web_database_observer_impl.cc \
     70 	content/child/webblobregistry_impl.cc \
     71 	content/child/webkitplatformsupport_impl.cc \
     72 	content/child/webmessageportchannel_impl.cc
     73 
     74 
     75 # Flags passed to both C and C++ files.
     76 MY_CFLAGS_Debug := \
     77 	--param=ssp-buffer-size=4 \
     78 	-Werror \
     79 	-fno-exceptions \
     80 	-fno-strict-aliasing \
     81 	-Wall \
     82 	-Wno-unused-parameter \
     83 	-Wno-missing-field-initializers \
     84 	-fvisibility=hidden \
     85 	-pipe \
     86 	-fPIC \
     87 	-m32 \
     88 	-mmmx \
     89 	-march=pentium4 \
     90 	-msse2 \
     91 	-mfpmath=sse \
     92 	-fuse-ld=gold \
     93 	-ffunction-sections \
     94 	-funwind-tables \
     95 	-g \
     96 	-fno-short-enums \
     97 	-finline-limit=64 \
     98 	-Wa,--noexecstack \
     99 	-U_FORTIFY_SOURCE \
    100 	-Wno-extra \
    101 	-Wno-ignored-qualifiers \
    102 	-Wno-type-limits \
    103 	-fno-stack-protector \
    104 	-Os \
    105 	-g \
    106 	-fomit-frame-pointer \
    107 	-fdata-sections \
    108 	-ffunction-sections
    109 
    110 MY_DEFS_Debug := \
    111 	'-DCONTENT_IMPLEMENTATION' \
    112 	'-DANGLE_DX11' \
    113 	'-D_FILE_OFFSET_BITS=64' \
    114 	'-DNO_TCMALLOC' \
    115 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    116 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    117 	'-DDISABLE_NACL' \
    118 	'-DCHROMIUM_BUILD' \
    119 	'-DUSE_LIBJPEG_TURBO=1' \
    120 	'-DUSE_PROPRIETARY_CODECS' \
    121 	'-DENABLE_CONFIGURATION_POLICY' \
    122 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    123 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    124 	'-DENABLE_GPU=1' \
    125 	'-DUSE_OPENSSL=1' \
    126 	'-DENABLE_EGLIMAGE=1' \
    127 	'-DENABLE_PRINTING=1' \
    128 	'-DU_USING_ICU_NAMESPACE=0' \
    129 	'-D__STDC_CONSTANT_MACROS' \
    130 	'-D__STDC_FORMAT_MACROS' \
    131 	'-DANDROID' \
    132 	'-D__GNU_SOURCE=1' \
    133 	'-DUSE_STLPORT=1' \
    134 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    135 	'-DCHROME_BUILD_ID=""' \
    136 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    137 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    138 	'-D_DEBUG'
    139 
    140 
    141 # Include paths placed before CFLAGS/CPPFLAGS
    142 LOCAL_C_INCLUDES_Debug := \
    143 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    144 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    145 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    146 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    147 	$(LOCAL_PATH) \
    148 	$(LOCAL_PATH)/third_party/khronos \
    149 	$(LOCAL_PATH)/gpu \
    150 	$(LOCAL_PATH)/third_party/skia/src/core \
    151 	$(LOCAL_PATH)/skia/ext \
    152 	$(PWD)/external/icu4c/common \
    153 	$(PWD)/external/icu4c/i18n \
    154 	$(gyp_shared_intermediate_dir)/content \
    155 	$(LOCAL_PATH)/third_party/WebKit \
    156 	$(LOCAL_PATH)/v8/include \
    157 	$(LOCAL_PATH)/third_party/npapi \
    158 	$(LOCAL_PATH)/third_party/npapi/bindings \
    159 	$(PWD)/frameworks/wilhelm/include \
    160 	$(PWD)/bionic \
    161 	$(PWD)/external/stlport/stlport
    162 
    163 
    164 # Flags passed to only C++ (and not C) files.
    165 LOCAL_CPPFLAGS_Debug := \
    166 	-fno-rtti \
    167 	-fno-threadsafe-statics \
    168 	-fvisibility-inlines-hidden \
    169 	-Wsign-compare \
    170 	-Wno-error=c++0x-compat \
    171 	-Wno-non-virtual-dtor \
    172 	-Wno-sign-promo
    173 
    174 
    175 # Flags passed to both C and C++ files.
    176 MY_CFLAGS_Release := \
    177 	--param=ssp-buffer-size=4 \
    178 	-Werror \
    179 	-fno-exceptions \
    180 	-fno-strict-aliasing \
    181 	-Wall \
    182 	-Wno-unused-parameter \
    183 	-Wno-missing-field-initializers \
    184 	-fvisibility=hidden \
    185 	-pipe \
    186 	-fPIC \
    187 	-m32 \
    188 	-mmmx \
    189 	-march=pentium4 \
    190 	-msse2 \
    191 	-mfpmath=sse \
    192 	-fuse-ld=gold \
    193 	-ffunction-sections \
    194 	-funwind-tables \
    195 	-g \
    196 	-fno-short-enums \
    197 	-finline-limit=64 \
    198 	-Wa,--noexecstack \
    199 	-U_FORTIFY_SOURCE \
    200 	-Wno-extra \
    201 	-Wno-ignored-qualifiers \
    202 	-Wno-type-limits \
    203 	-fno-stack-protector \
    204 	-Os \
    205 	-fno-ident \
    206 	-fdata-sections \
    207 	-ffunction-sections \
    208 	-fomit-frame-pointer \
    209 	-fno-unwind-tables \
    210 	-fno-asynchronous-unwind-tables
    211 
    212 MY_DEFS_Release := \
    213 	'-DCONTENT_IMPLEMENTATION' \
    214 	'-DANGLE_DX11' \
    215 	'-D_FILE_OFFSET_BITS=64' \
    216 	'-DNO_TCMALLOC' \
    217 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    218 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    219 	'-DDISABLE_NACL' \
    220 	'-DCHROMIUM_BUILD' \
    221 	'-DUSE_LIBJPEG_TURBO=1' \
    222 	'-DUSE_PROPRIETARY_CODECS' \
    223 	'-DENABLE_CONFIGURATION_POLICY' \
    224 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    225 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    226 	'-DENABLE_GPU=1' \
    227 	'-DUSE_OPENSSL=1' \
    228 	'-DENABLE_EGLIMAGE=1' \
    229 	'-DENABLE_PRINTING=1' \
    230 	'-DU_USING_ICU_NAMESPACE=0' \
    231 	'-D__STDC_CONSTANT_MACROS' \
    232 	'-D__STDC_FORMAT_MACROS' \
    233 	'-DANDROID' \
    234 	'-D__GNU_SOURCE=1' \
    235 	'-DUSE_STLPORT=1' \
    236 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    237 	'-DCHROME_BUILD_ID=""' \
    238 	'-DNDEBUG' \
    239 	'-DNVALGRIND' \
    240 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    241 	'-D_FORTIFY_SOURCE=2'
    242 
    243 
    244 # Include paths placed before CFLAGS/CPPFLAGS
    245 LOCAL_C_INCLUDES_Release := \
    246 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    247 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    248 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    249 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    250 	$(LOCAL_PATH) \
    251 	$(LOCAL_PATH)/third_party/khronos \
    252 	$(LOCAL_PATH)/gpu \
    253 	$(LOCAL_PATH)/third_party/skia/src/core \
    254 	$(LOCAL_PATH)/skia/ext \
    255 	$(PWD)/external/icu4c/common \
    256 	$(PWD)/external/icu4c/i18n \
    257 	$(gyp_shared_intermediate_dir)/content \
    258 	$(LOCAL_PATH)/third_party/WebKit \
    259 	$(LOCAL_PATH)/v8/include \
    260 	$(LOCAL_PATH)/third_party/npapi \
    261 	$(LOCAL_PATH)/third_party/npapi/bindings \
    262 	$(PWD)/frameworks/wilhelm/include \
    263 	$(PWD)/bionic \
    264 	$(PWD)/external/stlport/stlport
    265 
    266 
    267 # Flags passed to only C++ (and not C) files.
    268 LOCAL_CPPFLAGS_Release := \
    269 	-fno-rtti \
    270 	-fno-threadsafe-statics \
    271 	-fvisibility-inlines-hidden \
    272 	-Wsign-compare \
    273 	-Wno-error=c++0x-compat \
    274 	-Wno-non-virtual-dtor \
    275 	-Wno-sign-promo
    276 
    277 
    278 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    279 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    280 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    281 ### Rules for final target.
    282 
    283 LOCAL_LDFLAGS_Debug := \
    284 	-Wl,-z,now \
    285 	-Wl,-z,relro \
    286 	-Wl,-z,noexecstack \
    287 	-fPIC \
    288 	-m32 \
    289 	-fuse-ld=gold \
    290 	-nostdlib \
    291 	-Wl,--no-undefined \
    292 	-Wl,--exclude-libs=ALL \
    293 	-Wl,--fatal-warnings \
    294 	-Wl,--gc-sections \
    295 	-Wl,--warn-shared-textrel \
    296 	-Wl,-O1 \
    297 	-Wl,--as-needed
    298 
    299 
    300 LOCAL_LDFLAGS_Release := \
    301 	-Wl,-z,now \
    302 	-Wl,-z,relro \
    303 	-Wl,-z,noexecstack \
    304 	-fPIC \
    305 	-m32 \
    306 	-fuse-ld=gold \
    307 	-nostdlib \
    308 	-Wl,--no-undefined \
    309 	-Wl,--exclude-libs=ALL \
    310 	-Wl,-O1 \
    311 	-Wl,--as-needed \
    312 	-Wl,--gc-sections \
    313 	-Wl,--fatal-warnings \
    314 	-Wl,--warn-shared-textrel
    315 
    316 
    317 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    318 
    319 LOCAL_STATIC_LIBRARIES := \
    320 	cpufeatures \
    321 	ui_ui_gyp \
    322 	webkit_support_glue_child_gyp
    323 
    324 # Enable grouping to fix circular references
    325 LOCAL_GROUP_STATIC_LIBRARIES := true
    326 
    327 LOCAL_SHARED_LIBRARIES := \
    328 	libskia \
    329 	libstlport \
    330 	libdl
    331 
    332 # Add target alias to "gyp_all_modules" target.
    333 .PHONY: gyp_all_modules
    334 gyp_all_modules: content_content_child_gyp
    335 
    336 # Alias gyp target name.
    337 .PHONY: content_child
    338 content_child: content_content_child_gyp
    339 
    340 include $(BUILD_STATIC_LIBRARY)
    341