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