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_autofill_content_common_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_minimal_gyp)/blink_minimal.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/autofill/content/common/autofill_message_generator.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 	'-D__STDC_CONSTANT_MACROS' \
     83 	'-D__STDC_FORMAT_MACROS' \
     84 	'-DANDROID' \
     85 	'-D__GNU_SOURCE=1' \
     86 	'-DUSE_STLPORT=1' \
     87 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     88 	'-DCHROME_BUILD_ID=""' \
     89 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     90 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     91 	'-D_DEBUG'
     92 
     93 
     94 # Include paths placed before CFLAGS/CPPFLAGS
     95 LOCAL_C_INCLUDES_Debug := \
     96 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
     97 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
     98 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
     99 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    100 	$(LOCAL_PATH) \
    101 	$(LOCAL_PATH)/skia/config \
    102 	$(LOCAL_PATH)/third_party/khronos \
    103 	$(LOCAL_PATH)/gpu \
    104 	$(LOCAL_PATH)/third_party/WebKit/Source \
    105 	$(PWD)/external/skia/include \
    106 	$(PWD)/external/skia/include/core \
    107 	$(LOCAL_PATH)/third_party/skia/src/core \
    108 	$(LOCAL_PATH)/skia/ext \
    109 	$(PWD)/external/icu4c/common \
    110 	$(PWD)/external/icu4c/i18n \
    111 	$(PWD)/frameworks/wilhelm/include \
    112 	$(PWD)/bionic \
    113 	$(PWD)/external/stlport/stlport
    114 
    115 
    116 # Flags passed to only C++ (and not C) files.
    117 LOCAL_CPPFLAGS_Debug := \
    118 	-fno-rtti \
    119 	-fno-threadsafe-statics \
    120 	-fvisibility-inlines-hidden \
    121 	-Wsign-compare \
    122 	-Wno-abi \
    123 	-Wno-error=c++0x-compat \
    124 	-Wno-non-virtual-dtor \
    125 	-Wno-sign-promo
    126 
    127 
    128 # Flags passed to both C and C++ files.
    129 MY_CFLAGS_Release := \
    130 	-fstack-protector \
    131 	--param=ssp-buffer-size=4 \
    132 	-Werror \
    133 	-fno-exceptions \
    134 	-fno-strict-aliasing \
    135 	-Wall \
    136 	-Wno-unused-parameter \
    137 	-Wno-missing-field-initializers \
    138 	-fvisibility=hidden \
    139 	-pipe \
    140 	-fPIC \
    141 	-fno-tree-sra \
    142 	-fuse-ld=gold \
    143 	-Wno-psabi \
    144 	-ffunction-sections \
    145 	-funwind-tables \
    146 	-g \
    147 	-fstack-protector \
    148 	-fno-short-enums \
    149 	-finline-limit=64 \
    150 	-Wa,--noexecstack \
    151 	-U_FORTIFY_SOURCE \
    152 	-Wno-extra \
    153 	-Wno-ignored-qualifiers \
    154 	-Wno-type-limits \
    155 	-Os \
    156 	-fno-ident \
    157 	-fdata-sections \
    158 	-ffunction-sections \
    159 	-fomit-frame-pointer
    160 
    161 MY_DEFS_Release := \
    162 	'-DV8_DEPRECATION_WARNINGS' \
    163 	'-D_FILE_OFFSET_BITS=64' \
    164 	'-DNO_TCMALLOC' \
    165 	'-DDISABLE_NACL' \
    166 	'-DCHROMIUM_BUILD' \
    167 	'-DUSE_LIBJPEG_TURBO=1' \
    168 	'-DUSE_PROPRIETARY_CODECS' \
    169 	'-DENABLE_CONFIGURATION_POLICY' \
    170 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    171 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    172 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    173 	'-DUSE_OPENSSL=1' \
    174 	'-DENABLE_EGLIMAGE=1' \
    175 	'-DCLD_VERSION=1' \
    176 	'-DENABLE_PRINTING=1' \
    177 	'-DENABLE_MANAGED_USERS=1' \
    178 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    179 	'-DU_USING_ICU_NAMESPACE=0' \
    180 	'-D__STDC_CONSTANT_MACROS' \
    181 	'-D__STDC_FORMAT_MACROS' \
    182 	'-DANDROID' \
    183 	'-D__GNU_SOURCE=1' \
    184 	'-DUSE_STLPORT=1' \
    185 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    186 	'-DCHROME_BUILD_ID=""' \
    187 	'-DNDEBUG' \
    188 	'-DNVALGRIND' \
    189 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    190 	'-D_FORTIFY_SOURCE=2'
    191 
    192 
    193 # Include paths placed before CFLAGS/CPPFLAGS
    194 LOCAL_C_INCLUDES_Release := \
    195 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    196 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    197 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    198 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    199 	$(LOCAL_PATH) \
    200 	$(LOCAL_PATH)/skia/config \
    201 	$(LOCAL_PATH)/third_party/khronos \
    202 	$(LOCAL_PATH)/gpu \
    203 	$(LOCAL_PATH)/third_party/WebKit/Source \
    204 	$(PWD)/external/skia/include \
    205 	$(PWD)/external/skia/include/core \
    206 	$(LOCAL_PATH)/third_party/skia/src/core \
    207 	$(LOCAL_PATH)/skia/ext \
    208 	$(PWD)/external/icu4c/common \
    209 	$(PWD)/external/icu4c/i18n \
    210 	$(PWD)/frameworks/wilhelm/include \
    211 	$(PWD)/bionic \
    212 	$(PWD)/external/stlport/stlport
    213 
    214 
    215 # Flags passed to only C++ (and not C) files.
    216 LOCAL_CPPFLAGS_Release := \
    217 	-fno-rtti \
    218 	-fno-threadsafe-statics \
    219 	-fvisibility-inlines-hidden \
    220 	-Wsign-compare \
    221 	-Wno-abi \
    222 	-Wno-error=c++0x-compat \
    223 	-Wno-non-virtual-dtor \
    224 	-Wno-sign-promo
    225 
    226 
    227 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    228 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    229 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    230 ### Rules for final target.
    231 
    232 LOCAL_LDFLAGS_Debug := \
    233 	-Wl,-z,now \
    234 	-Wl,-z,relro \
    235 	-Wl,-z,noexecstack \
    236 	-fPIC \
    237 	-Wl,-z,relro \
    238 	-Wl,-z,now \
    239 	-fuse-ld=gold \
    240 	-nostdlib \
    241 	-Wl,--no-undefined \
    242 	-Wl,--exclude-libs=ALL \
    243 	-Wl,--icf=safe \
    244 	-Wl,--fatal-warnings \
    245 	-Wl,--gc-sections \
    246 	-Wl,--warn-shared-textrel \
    247 	-Wl,-O1 \
    248 	-Wl,--as-needed
    249 
    250 
    251 LOCAL_LDFLAGS_Release := \
    252 	-Wl,-z,now \
    253 	-Wl,-z,relro \
    254 	-Wl,-z,noexecstack \
    255 	-fPIC \
    256 	-Wl,-z,relro \
    257 	-Wl,-z,now \
    258 	-fuse-ld=gold \
    259 	-nostdlib \
    260 	-Wl,--no-undefined \
    261 	-Wl,--exclude-libs=ALL \
    262 	-Wl,--icf=safe \
    263 	-Wl,-O1 \
    264 	-Wl,--as-needed \
    265 	-Wl,--gc-sections \
    266 	-Wl,--fatal-warnings \
    267 	-Wl,--warn-shared-textrel
    268 
    269 
    270 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    271 
    272 LOCAL_STATIC_LIBRARIES :=
    273 
    274 # Enable grouping to fix circular references
    275 LOCAL_GROUP_STATIC_LIBRARIES := true
    276 
    277 LOCAL_SHARED_LIBRARIES := \
    278 	libskia \
    279 	libstlport \
    280 	libdl
    281 
    282 # Add target alias to "gyp_all_modules" target.
    283 .PHONY: gyp_all_modules
    284 gyp_all_modules: components_autofill_content_common_gyp
    285 
    286 # Alias gyp target name.
    287 .PHONY: autofill_content_common
    288 autofill_content_common: components_autofill_content_common_gyp
    289 
    290 include $(BUILD_STATIC_LIBRARY)
    291