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