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_auto_login_parser_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 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	components/auto_login_parser/auto_login_parser.cc
     27 
     28 
     29 # Flags passed to both C and C++ files.
     30 MY_CFLAGS_Debug := \
     31 	-fstack-protector \
     32 	--param=ssp-buffer-size=4 \
     33 	 \
     34 	-fno-exceptions \
     35 	-fno-strict-aliasing \
     36 	-Wall \
     37 	-Wno-unused-parameter \
     38 	-Wno-missing-field-initializers \
     39 	-fvisibility=hidden \
     40 	-pipe \
     41 	-fPIC \
     42 	-EL \
     43 	-mhard-float \
     44 	-ffunction-sections \
     45 	-funwind-tables \
     46 	-g \
     47 	-fstack-protector \
     48 	-fno-short-enums \
     49 	-finline-limit=64 \
     50 	-Wa,--noexecstack \
     51 	-U_FORTIFY_SOURCE \
     52 	-Wno-extra \
     53 	-Wno-ignored-qualifiers \
     54 	-Wno-type-limits \
     55 	-Os \
     56 	-g \
     57 	-fomit-frame-pointer \
     58 	-fdata-sections \
     59 	-ffunction-sections
     60 
     61 MY_DEFS_Debug := \
     62 	'-DANGLE_DX11' \
     63 	'-D_FILE_OFFSET_BITS=64' \
     64 	'-DNO_TCMALLOC' \
     65 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     66 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     67 	'-DDISABLE_NACL' \
     68 	'-DCHROMIUM_BUILD' \
     69 	'-DUSE_LIBJPEG_TURBO=1' \
     70 	'-DUSE_PROPRIETARY_CODECS' \
     71 	'-DENABLE_CONFIGURATION_POLICY' \
     72 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
     73 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
     74 	'-DENABLE_GPU=1' \
     75 	'-DUSE_OPENSSL=1' \
     76 	'-DENABLE_EGLIMAGE=1' \
     77 	'-DENABLE_PRINTING=1' \
     78 	'-DPOSIX_AVOID_MMAP' \
     79 	'-D__STDC_CONSTANT_MACROS' \
     80 	'-D__STDC_FORMAT_MACROS' \
     81 	'-DANDROID' \
     82 	'-D__GNU_SOURCE=1' \
     83 	'-DUSE_STLPORT=1' \
     84 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     85 	'-DCHROME_BUILD_ID=""' \
     86 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     87 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     88 	'-D_DEBUG'
     89 
     90 
     91 # Include paths placed before CFLAGS/CPPFLAGS
     92 LOCAL_C_INCLUDES_Debug := \
     93 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
     94 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
     95 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
     96 	$(LOCAL_PATH) \
     97 	$(PWD)/frameworks/wilhelm/include \
     98 	$(PWD)/bionic \
     99 	$(PWD)/external/stlport/stlport
    100 
    101 
    102 # Flags passed to only C++ (and not C) files.
    103 LOCAL_CPPFLAGS_Debug := \
    104 	-fno-rtti \
    105 	-fno-threadsafe-statics \
    106 	-fvisibility-inlines-hidden \
    107 	-Wsign-compare \
    108 	-Wno-uninitialized \
    109 	-Wno-error=c++0x-compat \
    110 	-Wno-non-virtual-dtor \
    111 	-Wno-sign-promo
    112 
    113 
    114 # Flags passed to both C and C++ files.
    115 MY_CFLAGS_Release := \
    116 	-fstack-protector \
    117 	--param=ssp-buffer-size=4 \
    118 	 \
    119 	-fno-exceptions \
    120 	-fno-strict-aliasing \
    121 	-Wall \
    122 	-Wno-unused-parameter \
    123 	-Wno-missing-field-initializers \
    124 	-fvisibility=hidden \
    125 	-pipe \
    126 	-fPIC \
    127 	-EL \
    128 	-mhard-float \
    129 	-ffunction-sections \
    130 	-funwind-tables \
    131 	-g \
    132 	-fstack-protector \
    133 	-fno-short-enums \
    134 	-finline-limit=64 \
    135 	-Wa,--noexecstack \
    136 	-U_FORTIFY_SOURCE \
    137 	-Wno-extra \
    138 	-Wno-ignored-qualifiers \
    139 	-Wno-type-limits \
    140 	-Os \
    141 	-fno-ident \
    142 	-fdata-sections \
    143 	-ffunction-sections \
    144 	-fomit-frame-pointer
    145 
    146 MY_DEFS_Release := \
    147 	'-DANGLE_DX11' \
    148 	'-D_FILE_OFFSET_BITS=64' \
    149 	'-DNO_TCMALLOC' \
    150 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    151 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    152 	'-DDISABLE_NACL' \
    153 	'-DCHROMIUM_BUILD' \
    154 	'-DUSE_LIBJPEG_TURBO=1' \
    155 	'-DUSE_PROPRIETARY_CODECS' \
    156 	'-DENABLE_CONFIGURATION_POLICY' \
    157 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    158 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    159 	'-DENABLE_GPU=1' \
    160 	'-DUSE_OPENSSL=1' \
    161 	'-DENABLE_EGLIMAGE=1' \
    162 	'-DENABLE_PRINTING=1' \
    163 	'-DPOSIX_AVOID_MMAP' \
    164 	'-D__STDC_CONSTANT_MACROS' \
    165 	'-D__STDC_FORMAT_MACROS' \
    166 	'-DANDROID' \
    167 	'-D__GNU_SOURCE=1' \
    168 	'-DUSE_STLPORT=1' \
    169 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    170 	'-DCHROME_BUILD_ID=""' \
    171 	'-DNDEBUG' \
    172 	'-DNVALGRIND' \
    173 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    174 	'-D_FORTIFY_SOURCE=2'
    175 
    176 
    177 # Include paths placed before CFLAGS/CPPFLAGS
    178 LOCAL_C_INCLUDES_Release := \
    179 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    180 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    181 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    182 	$(LOCAL_PATH) \
    183 	$(PWD)/frameworks/wilhelm/include \
    184 	$(PWD)/bionic \
    185 	$(PWD)/external/stlport/stlport
    186 
    187 
    188 # Flags passed to only C++ (and not C) files.
    189 LOCAL_CPPFLAGS_Release := \
    190 	-fno-rtti \
    191 	-fno-threadsafe-statics \
    192 	-fvisibility-inlines-hidden \
    193 	-Wsign-compare \
    194 	-Wno-uninitialized \
    195 	-Wno-error=c++0x-compat \
    196 	-Wno-non-virtual-dtor \
    197 	-Wno-sign-promo
    198 
    199 
    200 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    201 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    202 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    203 ### Rules for final target.
    204 
    205 LOCAL_LDFLAGS_Debug := \
    206 	-Wl,-z,now \
    207 	-Wl,-z,relro \
    208 	-Wl,-z,noexecstack \
    209 	-fPIC \
    210 	-EL \
    211 	-Wl,--no-keep-memory \
    212 	-nostdlib \
    213 	-Wl,--no-undefined \
    214 	-Wl,--exclude-libs=ALL \
    215 	-Wl,--fatal-warnings \
    216 	-Wl,--gc-sections \
    217 	-Wl,--warn-shared-textrel \
    218 	-Wl,-O1 \
    219 	-Wl,--as-needed
    220 
    221 
    222 LOCAL_LDFLAGS_Release := \
    223 	-Wl,-z,now \
    224 	-Wl,-z,relro \
    225 	-Wl,-z,noexecstack \
    226 	-fPIC \
    227 	-EL \
    228 	-Wl,--no-keep-memory \
    229 	-nostdlib \
    230 	-Wl,--no-undefined \
    231 	-Wl,--exclude-libs=ALL \
    232 	-Wl,-O1 \
    233 	-Wl,--as-needed \
    234 	-Wl,--gc-sections \
    235 	-Wl,--fatal-warnings \
    236 	-Wl,--warn-shared-textrel
    237 
    238 
    239 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    240 
    241 LOCAL_STATIC_LIBRARIES :=
    242 
    243 # Enable grouping to fix circular references
    244 LOCAL_GROUP_STATIC_LIBRARIES := true
    245 
    246 LOCAL_SHARED_LIBRARIES := \
    247 	libstlport \
    248 	libdl
    249 
    250 # Add target alias to "gyp_all_modules" target.
    251 .PHONY: gyp_all_modules
    252 gyp_all_modules: components_auto_login_parser_gyp
    253 
    254 # Alias gyp target name.
    255 .PHONY: auto_login_parser
    256 auto_login_parser: components_auto_login_parser_gyp
    257 
    258 include $(BUILD_STATIC_LIBRARY)
    259