Home | History | Annotate | Download | only in child
      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 := webkit_child_webkit_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,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \
     16 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \
     17 	$(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp)/v8.stamp \
     18 	$(call intermediates-dir-for,GYP,webkit_child_overscroller_jni_headers_gyp)/overscroller_jni_headers.stamp
     19 
     20 GYP_GENERATED_OUTPUTS :=
     21 
     22 # Make sure our deps and generated files are built first.
     23 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     24 
     25 LOCAL_CPP_EXTENSION := .cc
     26 LOCAL_GENERATED_SOURCES :=
     27 
     28 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     29 
     30 LOCAL_SRC_FILES := \
     31 	webkit/child/fling_animator_impl_android.cc \
     32 	webkit/child/fling_curve_configuration.cc \
     33 	webkit/child/ftp_directory_listing_response_delegate.cc \
     34 	webkit/child/multipart_response_delegate.cc \
     35 	webkit/child/resource_loader_bridge.cc \
     36 	webkit/child/touch_fling_gesture_curve.cc \
     37 	webkit/child/web_discardable_memory_impl.cc \
     38 	webkit/child/webfallbackthemeengine_impl.cc \
     39 	webkit/child/webkit_child_helpers.cc \
     40 	webkit/child/webkitplatformsupport_child_impl.cc \
     41 	webkit/child/webkitplatformsupport_impl.cc \
     42 	webkit/child/websocketstreamhandle_impl.cc \
     43 	webkit/child/webthemeengine_impl_android.cc \
     44 	webkit/child/webthread_impl.cc \
     45 	webkit/child/weburlloader_impl.cc \
     46 	webkit/child/weburlrequest_extradata_impl.cc \
     47 	webkit/child/weburlresponse_extradata_impl.cc \
     48 	webkit/child/worker_task_runner.cc
     49 
     50 
     51 # Flags passed to both C and C++ files.
     52 MY_CFLAGS_Debug := \
     53 	-fstack-protector \
     54 	--param=ssp-buffer-size=4 \
     55 	 \
     56 	-fno-exceptions \
     57 	-fno-strict-aliasing \
     58 	-Wall \
     59 	-Wno-unused-parameter \
     60 	-Wno-missing-field-initializers \
     61 	-fvisibility=hidden \
     62 	-pipe \
     63 	-fPIC \
     64 	-EL \
     65 	-mhard-float \
     66 	-ffunction-sections \
     67 	-funwind-tables \
     68 	-g \
     69 	-fstack-protector \
     70 	-fno-short-enums \
     71 	-finline-limit=64 \
     72 	-Wa,--noexecstack \
     73 	-U_FORTIFY_SOURCE \
     74 	-Wno-extra \
     75 	-Wno-ignored-qualifiers \
     76 	-Wno-type-limits \
     77 	-Os \
     78 	-g \
     79 	-fomit-frame-pointer \
     80 	-fdata-sections \
     81 	-ffunction-sections
     82 
     83 MY_DEFS_Debug := \
     84 	'-DV8_DEPRECATION_WARNINGS' \
     85 	'-D_FILE_OFFSET_BITS=64' \
     86 	'-DNO_TCMALLOC' \
     87 	'-DDISABLE_NACL' \
     88 	'-DCHROMIUM_BUILD' \
     89 	'-DUSE_LIBJPEG_TURBO=1' \
     90 	'-DUSE_PROPRIETARY_CODECS' \
     91 	'-DENABLE_CONFIGURATION_POLICY' \
     92 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     93 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     94 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     95 	'-DUSE_OPENSSL=1' \
     96 	'-DENABLE_EGLIMAGE=1' \
     97 	'-DCLD_VERSION=1' \
     98 	'-DENABLE_PRINTING=1' \
     99 	'-DENABLE_MANAGED_USERS=1' \
    100 	'-DWEBKIT_CHILD_IMPLEMENTATION' \
    101 	'-DPOSIX_AVOID_MMAP' \
    102 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    103 	'-DU_USING_ICU_NAMESPACE=0' \
    104 	'-DCHROME_PNG_WRITE_SUPPORT' \
    105 	'-DPNG_USER_CONFIG' \
    106 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    107 	'-DUSE_SYSTEM_LIBJPEG' \
    108 	'-D__STDC_CONSTANT_MACROS' \
    109 	'-D__STDC_FORMAT_MACROS' \
    110 	'-DANDROID' \
    111 	'-D__GNU_SOURCE=1' \
    112 	'-DUSE_STLPORT=1' \
    113 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    114 	'-DCHROME_BUILD_ID=""' \
    115 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    116 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    117 	'-D_DEBUG'
    118 
    119 
    120 # Include paths placed before CFLAGS/CPPFLAGS
    121 LOCAL_C_INCLUDES_Debug := \
    122 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    123 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    124 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    125 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    126 	$(gyp_shared_intermediate_dir)/webkit \
    127 	$(LOCAL_PATH) \
    128 	$(LOCAL_PATH)/skia/config \
    129 	$(LOCAL_PATH)/third_party/WebKit/Source \
    130 	$(LOCAL_PATH)/third_party/khronos \
    131 	$(LOCAL_PATH)/gpu \
    132 	$(PWD)/external/skia/include \
    133 	$(PWD)/external/skia/include/core \
    134 	$(LOCAL_PATH)/third_party/skia/src/core \
    135 	$(LOCAL_PATH)/skia/ext \
    136 	$(LOCAL_PATH)/third_party/WebKit \
    137 	$(PWD)/external/icu4c/common \
    138 	$(PWD)/external/icu4c/i18n \
    139 	$(LOCAL_PATH)/third_party/npapi \
    140 	$(LOCAL_PATH)/third_party/npapi/bindings \
    141 	$(LOCAL_PATH)/third_party/libpng \
    142 	$(LOCAL_PATH)/third_party/zlib \
    143 	$(LOCAL_PATH)/third_party/libwebp \
    144 	$(LOCAL_PATH)/third_party/ots/include \
    145 	$(LOCAL_PATH)/third_party/qcms/src \
    146 	$(LOCAL_PATH)/third_party/iccjpeg \
    147 	$(PWD)/external/jpeg \
    148 	$(LOCAL_PATH)/v8/include \
    149 	$(PWD)/frameworks/wilhelm/include \
    150 	$(PWD)/bionic \
    151 	$(PWD)/external/stlport/stlport
    152 
    153 
    154 # Flags passed to only C++ (and not C) files.
    155 LOCAL_CPPFLAGS_Debug := \
    156 	-fno-rtti \
    157 	-fno-threadsafe-statics \
    158 	-fvisibility-inlines-hidden \
    159 	-Wsign-compare \
    160 	-Wno-uninitialized \
    161 	-Wno-error=c++0x-compat \
    162 	-Wno-non-virtual-dtor \
    163 	-Wno-sign-promo
    164 
    165 
    166 # Flags passed to both C and C++ files.
    167 MY_CFLAGS_Release := \
    168 	-fstack-protector \
    169 	--param=ssp-buffer-size=4 \
    170 	 \
    171 	-fno-exceptions \
    172 	-fno-strict-aliasing \
    173 	-Wall \
    174 	-Wno-unused-parameter \
    175 	-Wno-missing-field-initializers \
    176 	-fvisibility=hidden \
    177 	-pipe \
    178 	-fPIC \
    179 	-EL \
    180 	-mhard-float \
    181 	-ffunction-sections \
    182 	-funwind-tables \
    183 	-g \
    184 	-fstack-protector \
    185 	-fno-short-enums \
    186 	-finline-limit=64 \
    187 	-Wa,--noexecstack \
    188 	-U_FORTIFY_SOURCE \
    189 	-Wno-extra \
    190 	-Wno-ignored-qualifiers \
    191 	-Wno-type-limits \
    192 	-Os \
    193 	-fno-ident \
    194 	-fdata-sections \
    195 	-ffunction-sections \
    196 	-fomit-frame-pointer
    197 
    198 MY_DEFS_Release := \
    199 	'-DV8_DEPRECATION_WARNINGS' \
    200 	'-D_FILE_OFFSET_BITS=64' \
    201 	'-DNO_TCMALLOC' \
    202 	'-DDISABLE_NACL' \
    203 	'-DCHROMIUM_BUILD' \
    204 	'-DUSE_LIBJPEG_TURBO=1' \
    205 	'-DUSE_PROPRIETARY_CODECS' \
    206 	'-DENABLE_CONFIGURATION_POLICY' \
    207 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    208 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    209 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    210 	'-DUSE_OPENSSL=1' \
    211 	'-DENABLE_EGLIMAGE=1' \
    212 	'-DCLD_VERSION=1' \
    213 	'-DENABLE_PRINTING=1' \
    214 	'-DENABLE_MANAGED_USERS=1' \
    215 	'-DWEBKIT_CHILD_IMPLEMENTATION' \
    216 	'-DPOSIX_AVOID_MMAP' \
    217 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    218 	'-DU_USING_ICU_NAMESPACE=0' \
    219 	'-DCHROME_PNG_WRITE_SUPPORT' \
    220 	'-DPNG_USER_CONFIG' \
    221 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    222 	'-DUSE_SYSTEM_LIBJPEG' \
    223 	'-D__STDC_CONSTANT_MACROS' \
    224 	'-D__STDC_FORMAT_MACROS' \
    225 	'-DANDROID' \
    226 	'-D__GNU_SOURCE=1' \
    227 	'-DUSE_STLPORT=1' \
    228 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    229 	'-DCHROME_BUILD_ID=""' \
    230 	'-DNDEBUG' \
    231 	'-DNVALGRIND' \
    232 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    233 	'-D_FORTIFY_SOURCE=2'
    234 
    235 
    236 # Include paths placed before CFLAGS/CPPFLAGS
    237 LOCAL_C_INCLUDES_Release := \
    238 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    239 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    240 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    241 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    242 	$(gyp_shared_intermediate_dir)/webkit \
    243 	$(LOCAL_PATH) \
    244 	$(LOCAL_PATH)/skia/config \
    245 	$(LOCAL_PATH)/third_party/WebKit/Source \
    246 	$(LOCAL_PATH)/third_party/khronos \
    247 	$(LOCAL_PATH)/gpu \
    248 	$(PWD)/external/skia/include \
    249 	$(PWD)/external/skia/include/core \
    250 	$(LOCAL_PATH)/third_party/skia/src/core \
    251 	$(LOCAL_PATH)/skia/ext \
    252 	$(LOCAL_PATH)/third_party/WebKit \
    253 	$(PWD)/external/icu4c/common \
    254 	$(PWD)/external/icu4c/i18n \
    255 	$(LOCAL_PATH)/third_party/npapi \
    256 	$(LOCAL_PATH)/third_party/npapi/bindings \
    257 	$(LOCAL_PATH)/third_party/libpng \
    258 	$(LOCAL_PATH)/third_party/zlib \
    259 	$(LOCAL_PATH)/third_party/libwebp \
    260 	$(LOCAL_PATH)/third_party/ots/include \
    261 	$(LOCAL_PATH)/third_party/qcms/src \
    262 	$(LOCAL_PATH)/third_party/iccjpeg \
    263 	$(PWD)/external/jpeg \
    264 	$(LOCAL_PATH)/v8/include \
    265 	$(PWD)/frameworks/wilhelm/include \
    266 	$(PWD)/bionic \
    267 	$(PWD)/external/stlport/stlport
    268 
    269 
    270 # Flags passed to only C++ (and not C) files.
    271 LOCAL_CPPFLAGS_Release := \
    272 	-fno-rtti \
    273 	-fno-threadsafe-statics \
    274 	-fvisibility-inlines-hidden \
    275 	-Wsign-compare \
    276 	-Wno-uninitialized \
    277 	-Wno-error=c++0x-compat \
    278 	-Wno-non-virtual-dtor \
    279 	-Wno-sign-promo
    280 
    281 
    282 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    283 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    284 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    285 ### Rules for final target.
    286 
    287 LOCAL_LDFLAGS_Debug := \
    288 	-Wl,-z,now \
    289 	-Wl,-z,relro \
    290 	-Wl,-z,noexecstack \
    291 	-fPIC \
    292 	-EL \
    293 	-Wl,--no-keep-memory \
    294 	-nostdlib \
    295 	-Wl,--no-undefined \
    296 	-Wl,--exclude-libs=ALL \
    297 	-Wl,--fatal-warnings \
    298 	-Wl,--gc-sections \
    299 	-Wl,--warn-shared-textrel \
    300 	-Wl,-O1 \
    301 	-Wl,--as-needed
    302 
    303 
    304 LOCAL_LDFLAGS_Release := \
    305 	-Wl,-z,now \
    306 	-Wl,-z,relro \
    307 	-Wl,-z,noexecstack \
    308 	-fPIC \
    309 	-EL \
    310 	-Wl,--no-keep-memory \
    311 	-nostdlib \
    312 	-Wl,--no-undefined \
    313 	-Wl,--exclude-libs=ALL \
    314 	-Wl,-O1 \
    315 	-Wl,--as-needed \
    316 	-Wl,--gc-sections \
    317 	-Wl,--fatal-warnings \
    318 	-Wl,--warn-shared-textrel
    319 
    320 
    321 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    322 
    323 LOCAL_STATIC_LIBRARIES := \
    324 	ui_ui_gyp
    325 
    326 # Enable grouping to fix circular references
    327 LOCAL_GROUP_STATIC_LIBRARIES := true
    328 
    329 LOCAL_SHARED_LIBRARIES := \
    330 	libskia \
    331 	libstlport \
    332 	libdl
    333 
    334 # Add target alias to "gyp_all_modules" target.
    335 .PHONY: gyp_all_modules
    336 gyp_all_modules: webkit_child_webkit_child_gyp
    337 
    338 # Alias gyp target name.
    339 .PHONY: webkit_child
    340 webkit_child: webkit_child_webkit_child_gyp
    341 
    342 include $(BUILD_STATIC_LIBRARY)
    343