Home | History | Annotate | Download | only in events
      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 := ui_events_dom4_keycode_converter_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     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 	ui/events/keycodes/dom4/keycode_converter.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 	-Werror \
     34 	-fno-strict-aliasing \
     35 	-Wall \
     36 	-Wno-unused-parameter \
     37 	-Wno-missing-field-initializers \
     38 	-fvisibility=hidden \
     39 	-pipe \
     40 	-fPIC \
     41 	-Wno-unused-local-typedefs \
     42 	-fno-tree-sra \
     43 	-fno-caller-saves \
     44 	-Wno-psabi \
     45 	-fno-partial-inlining \
     46 	-fno-early-inlining \
     47 	-fno-tree-copy-prop \
     48 	-fno-tree-loop-optimize \
     49 	-fno-move-loop-invariants \
     50 	-ffunction-sections \
     51 	-funwind-tables \
     52 	-g \
     53 	-fstack-protector \
     54 	-fno-short-enums \
     55 	-finline-limit=64 \
     56 	-Wa,--noexecstack \
     57 	-U_FORTIFY_SOURCE \
     58 	-Wno-extra \
     59 	-Wno-ignored-qualifiers \
     60 	-Wno-type-limits \
     61 	-Wno-unused-but-set-variable \
     62 	-Os \
     63 	-g \
     64 	-gdwarf-4 \
     65 	-fdata-sections \
     66 	-ffunction-sections \
     67 	-fomit-frame-pointer \
     68 	-funwind-tables
     69 
     70 MY_DEFS_Debug := \
     71 	'-DV8_DEPRECATION_WARNINGS' \
     72 	'-D_FILE_OFFSET_BITS=64' \
     73 	'-DNO_TCMALLOC' \
     74 	'-DDISABLE_NACL' \
     75 	'-DCHROMIUM_BUILD' \
     76 	'-DUSE_LIBJPEG_TURBO=1' \
     77 	'-DENABLE_WEBRTC=1' \
     78 	'-DUSE_PROPRIETARY_CODECS' \
     79 	'-DENABLE_BROWSER_CDMS' \
     80 	'-DENABLE_CONFIGURATION_POLICY' \
     81 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     82 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     83 	'-DENABLE_EGLIMAGE=1' \
     84 	'-DCLD_VERSION=1' \
     85 	'-DENABLE_PRINTING=1' \
     86 	'-DENABLE_MANAGED_USERS=1' \
     87 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     88 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     89 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     90 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     91 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     92 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     93 	'-DVIDEO_HOLE=1' \
     94 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     95 	'-DUSE_OPENSSL=1' \
     96 	'-DUSE_OPENSSL_CERTS=1' \
     97 	'-D__STDC_CONSTANT_MACROS' \
     98 	'-D__STDC_FORMAT_MACROS' \
     99 	'-DANDROID' \
    100 	'-D__GNU_SOURCE=1' \
    101 	'-DUSE_STLPORT=1' \
    102 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    103 	'-DCHROME_BUILD_ID=""' \
    104 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    105 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    106 	'-D_DEBUG'
    107 
    108 
    109 # Include paths placed before CFLAGS/CPPFLAGS
    110 LOCAL_C_INCLUDES_Debug := \
    111 	$(gyp_shared_intermediate_dir) \
    112 	$(LOCAL_PATH) \
    113 	$(PWD)/frameworks/wilhelm/include \
    114 	$(PWD)/bionic \
    115 	$(PWD)/external/stlport/stlport
    116 
    117 
    118 # Flags passed to only C++ (and not C) files.
    119 LOCAL_CPPFLAGS_Debug := \
    120 	-fno-exceptions \
    121 	-fno-rtti \
    122 	-fno-threadsafe-statics \
    123 	-fvisibility-inlines-hidden \
    124 	-Wsign-compare \
    125 	-Wno-abi \
    126 	-std=gnu++11 \
    127 	-Wno-narrowing \
    128 	-Wno-literal-suffix \
    129 	-Wno-non-virtual-dtor \
    130 	-Wno-sign-promo
    131 
    132 
    133 # Flags passed to both C and C++ files.
    134 MY_CFLAGS_Release := \
    135 	-fstack-protector \
    136 	--param=ssp-buffer-size=4 \
    137 	-Werror \
    138 	-fno-strict-aliasing \
    139 	-Wall \
    140 	-Wno-unused-parameter \
    141 	-Wno-missing-field-initializers \
    142 	-fvisibility=hidden \
    143 	-pipe \
    144 	-fPIC \
    145 	-Wno-unused-local-typedefs \
    146 	-fno-tree-sra \
    147 	-fno-caller-saves \
    148 	-Wno-psabi \
    149 	-fno-partial-inlining \
    150 	-fno-early-inlining \
    151 	-fno-tree-copy-prop \
    152 	-fno-tree-loop-optimize \
    153 	-fno-move-loop-invariants \
    154 	-ffunction-sections \
    155 	-funwind-tables \
    156 	-g \
    157 	-fstack-protector \
    158 	-fno-short-enums \
    159 	-finline-limit=64 \
    160 	-Wa,--noexecstack \
    161 	-U_FORTIFY_SOURCE \
    162 	-Wno-extra \
    163 	-Wno-ignored-qualifiers \
    164 	-Wno-type-limits \
    165 	-Wno-unused-but-set-variable \
    166 	-Os \
    167 	-fno-ident \
    168 	-fdata-sections \
    169 	-ffunction-sections \
    170 	-fomit-frame-pointer \
    171 	-funwind-tables
    172 
    173 MY_DEFS_Release := \
    174 	'-DV8_DEPRECATION_WARNINGS' \
    175 	'-D_FILE_OFFSET_BITS=64' \
    176 	'-DNO_TCMALLOC' \
    177 	'-DDISABLE_NACL' \
    178 	'-DCHROMIUM_BUILD' \
    179 	'-DUSE_LIBJPEG_TURBO=1' \
    180 	'-DENABLE_WEBRTC=1' \
    181 	'-DUSE_PROPRIETARY_CODECS' \
    182 	'-DENABLE_BROWSER_CDMS' \
    183 	'-DENABLE_CONFIGURATION_POLICY' \
    184 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    185 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    186 	'-DENABLE_EGLIMAGE=1' \
    187 	'-DCLD_VERSION=1' \
    188 	'-DENABLE_PRINTING=1' \
    189 	'-DENABLE_MANAGED_USERS=1' \
    190 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    191 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    192 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    193 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    194 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    195 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    196 	'-DVIDEO_HOLE=1' \
    197 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    198 	'-DUSE_OPENSSL=1' \
    199 	'-DUSE_OPENSSL_CERTS=1' \
    200 	'-D__STDC_CONSTANT_MACROS' \
    201 	'-D__STDC_FORMAT_MACROS' \
    202 	'-DANDROID' \
    203 	'-D__GNU_SOURCE=1' \
    204 	'-DUSE_STLPORT=1' \
    205 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    206 	'-DCHROME_BUILD_ID=""' \
    207 	'-DNDEBUG' \
    208 	'-DNVALGRIND' \
    209 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    210 	'-D_FORTIFY_SOURCE=2'
    211 
    212 
    213 # Include paths placed before CFLAGS/CPPFLAGS
    214 LOCAL_C_INCLUDES_Release := \
    215 	$(gyp_shared_intermediate_dir) \
    216 	$(LOCAL_PATH) \
    217 	$(PWD)/frameworks/wilhelm/include \
    218 	$(PWD)/bionic \
    219 	$(PWD)/external/stlport/stlport
    220 
    221 
    222 # Flags passed to only C++ (and not C) files.
    223 LOCAL_CPPFLAGS_Release := \
    224 	-fno-exceptions \
    225 	-fno-rtti \
    226 	-fno-threadsafe-statics \
    227 	-fvisibility-inlines-hidden \
    228 	-Wsign-compare \
    229 	-Wno-abi \
    230 	-std=gnu++11 \
    231 	-Wno-narrowing \
    232 	-Wno-literal-suffix \
    233 	-Wno-non-virtual-dtor \
    234 	-Wno-sign-promo
    235 
    236 
    237 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    238 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    239 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    240 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    241 ### Rules for final target.
    242 
    243 LOCAL_SHARED_LIBRARIES := \
    244 	libstlport \
    245 	libdl
    246 
    247 # Add target alias to "gyp_all_modules" target.
    248 .PHONY: gyp_all_modules
    249 gyp_all_modules: ui_events_dom4_keycode_converter_gyp
    250 
    251 # Alias gyp target name.
    252 .PHONY: dom4_keycode_converter
    253 dom4_keycode_converter: ui_events_dom4_keycode_converter_gyp
    254 
    255 include $(BUILD_STATIC_LIBRARY)
    256