1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := ui_base_ui_base_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 18 $(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp,,,$(GYP_VAR_PREFIX))/ui_resources.stamp \ 19 $(call intermediates-dir-for,GYP,ui_strings_ui_strings_gyp,,,$(GYP_VAR_PREFIX))/ui_strings.stamp \ 20 $(call intermediates-dir-for,GYP,ui_base_ui_base_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/ui_base_jni_headers.stamp 21 22GYP_GENERATED_OUTPUTS := 23 24# Make sure our deps and generated files are built first. 25LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 26 27LOCAL_CPP_EXTENSION := .cc 28LOCAL_GENERATED_SOURCES := 29 30GYP_COPIED_SOURCE_ORIGIN_DIRS := 31 32LOCAL_SRC_FILES := \ 33 ui/base/accelerators/accelerator.cc \ 34 ui/base/accelerators/accelerator_manager.cc \ 35 ui/base/android/ui_base_jni_registrar.cc \ 36 ui/base/android/view_android.cc \ 37 ui/base/android/window_android.cc \ 38 ui/base/base_window.cc \ 39 ui/base/clipboard/clipboard.cc \ 40 ui/base/clipboard/clipboard_android.cc \ 41 ui/base/clipboard/clipboard_constants.cc \ 42 ui/base/clipboard/custom_data_helper.cc \ 43 ui/base/clipboard/scoped_clipboard_writer.cc \ 44 ui/base/cursor/cursor_util.cc \ 45 ui/base/device_form_factor_android.cc \ 46 ui/base/dragdrop/file_info.cc \ 47 ui/base/ime/candidate_window.cc \ 48 ui/base/ime/composition_text.cc \ 49 ui/base/ime/dummy_input_method_delegate.cc \ 50 ui/base/ime/infolist_entry.cc \ 51 ui/base/ime/input_method_base.cc \ 52 ui/base/ime/input_method_initializer.cc \ 53 ui/base/ime/mock_input_method.cc \ 54 ui/base/ime/text_input_client.cc \ 55 ui/base/ime/text_input_focus_manager.cc \ 56 ui/base/l10n/formatter.cc \ 57 ui/base/l10n/l10n_util.cc \ 58 ui/base/l10n/l10n_util_android.cc \ 59 ui/base/l10n/l10n_util_plurals.cc \ 60 ui/base/l10n/l10n_util_posix.cc \ 61 ui/base/l10n/time_format.cc \ 62 ui/base/layout.cc \ 63 ui/base/models/combobox_model.cc \ 64 ui/base/models/list_selection_model.cc \ 65 ui/base/models/menu_model.cc \ 66 ui/base/models/simple_combobox_model.cc \ 67 ui/base/models/simple_menu_model.cc \ 68 ui/base/models/table_model.cc \ 69 ui/base/models/tree_model.cc \ 70 ui/base/page_transition_types.cc \ 71 ui/base/resource/data_pack.cc \ 72 ui/base/resource/resource_bundle.cc \ 73 ui/base/resource/resource_bundle_android.cc \ 74 ui/base/text/bytes_formatting.cc \ 75 ui/base/touch/touch_device_android.cc \ 76 ui/base/touch/touch_enabled.cc \ 77 ui/base/ui_base_exports.cc \ 78 ui/base/ui_base_paths.cc \ 79 ui/base/ui_base_switches.cc \ 80 ui/base/ui_base_switches_util.cc \ 81 ui/base/webui/jstemplate_builder.cc \ 82 ui/base/webui/web_ui_util.cc \ 83 ui/base/window_open_disposition.cc 84 85 86# Flags passed to both C and C++ files. 87MY_CFLAGS_Debug := \ 88 --param=ssp-buffer-size=4 \ 89 -Werror \ 90 -fno-strict-aliasing \ 91 -Wall \ 92 -Wno-unused-parameter \ 93 -Wno-missing-field-initializers \ 94 -fvisibility=hidden \ 95 -pipe \ 96 -fPIC \ 97 -Wno-unused-local-typedefs \ 98 -ffunction-sections \ 99 -funwind-tables \ 100 -g \ 101 -fno-short-enums \ 102 -finline-limit=64 \ 103 -Wa,--noexecstack \ 104 -U_FORTIFY_SOURCE \ 105 -Wno-extra \ 106 -Wno-ignored-qualifiers \ 107 -Wno-type-limits \ 108 -Wno-unused-but-set-variable \ 109 -Os \ 110 -g \ 111 -gdwarf-4 \ 112 -fdata-sections \ 113 -ffunction-sections \ 114 -funwind-tables 115 116MY_DEFS_Debug := \ 117 '-DV8_DEPRECATION_WARNINGS' \ 118 '-D_FILE_OFFSET_BITS=64' \ 119 '-DNO_TCMALLOC' \ 120 '-DDISABLE_NACL' \ 121 '-DCHROMIUM_BUILD' \ 122 '-DUSE_LIBJPEG_TURBO=1' \ 123 '-DENABLE_WEBRTC=1' \ 124 '-DUSE_PROPRIETARY_CODECS' \ 125 '-DENABLE_BROWSER_CDMS' \ 126 '-DENABLE_CONFIGURATION_POLICY' \ 127 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 128 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 129 '-DENABLE_EGLIMAGE=1' \ 130 '-DCLD_VERSION=1' \ 131 '-DENABLE_PRINTING=1' \ 132 '-DENABLE_MANAGED_USERS=1' \ 133 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 134 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 135 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 136 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 137 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 138 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 139 '-DVIDEO_HOLE=1' \ 140 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 141 '-DUI_BASE_IMPLEMENTATION' \ 142 '-DPOSIX_AVOID_MMAP' \ 143 '-DSK_ENABLE_INST_COUNT=0' \ 144 '-DSK_SUPPORT_GPU=1' \ 145 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 146 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 147 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 148 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 149 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 150 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 151 '-DSK_BUILD_FOR_ANDROID' \ 152 '-DSK_USE_POSIX_THREADS' \ 153 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 154 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 155 '-DU_USING_ICU_NAMESPACE=0' \ 156 '-DU_ENABLE_DYLOAD=0' \ 157 '-DUSE_OPENSSL=1' \ 158 '-DUSE_OPENSSL_CERTS=1' \ 159 '-D__STDC_CONSTANT_MACROS' \ 160 '-D__STDC_FORMAT_MACROS' \ 161 '-DANDROID' \ 162 '-D__GNU_SOURCE=1' \ 163 '-DUSE_STLPORT=1' \ 164 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 165 '-DCHROME_BUILD_ID=""' \ 166 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 167 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 168 '-D_DEBUG' 169 170 171# Include paths placed before CFLAGS/CPPFLAGS 172LOCAL_C_INCLUDES_Debug := \ 173 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 174 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 175 $(gyp_shared_intermediate_dir) \ 176 $(LOCAL_PATH) \ 177 $(LOCAL_PATH)/skia/config \ 178 $(LOCAL_PATH)/third_party/skia/src/core \ 179 $(LOCAL_PATH)/third_party/skia/include/core \ 180 $(LOCAL_PATH)/third_party/skia/include/effects \ 181 $(LOCAL_PATH)/third_party/skia/include/pdf \ 182 $(LOCAL_PATH)/third_party/skia/include/gpu \ 183 $(LOCAL_PATH)/third_party/skia/include/lazy \ 184 $(LOCAL_PATH)/third_party/skia/include/pathops \ 185 $(LOCAL_PATH)/third_party/skia/include/pipe \ 186 $(LOCAL_PATH)/third_party/skia/include/ports \ 187 $(LOCAL_PATH)/third_party/skia/include/utils \ 188 $(LOCAL_PATH)/skia/ext \ 189 $(PWD)/external/icu/icu4c/source/common \ 190 $(PWD)/external/icu/icu4c/source/i18n \ 191 $(gyp_shared_intermediate_dir)/ui/resources \ 192 $(gyp_shared_intermediate_dir)/ui \ 193 $(PWD)/frameworks/wilhelm/include \ 194 $(PWD)/bionic \ 195 $(PWD)/external/stlport/stlport 196 197 198# Flags passed to only C++ (and not C) files. 199LOCAL_CPPFLAGS_Debug := \ 200 -fno-exceptions \ 201 -fno-rtti \ 202 -fno-threadsafe-statics \ 203 -fvisibility-inlines-hidden \ 204 -Wsign-compare \ 205 -std=gnu++11 \ 206 -Wno-narrowing \ 207 -Wno-literal-suffix \ 208 -Wno-non-virtual-dtor \ 209 -Wno-sign-promo 210 211 212# Flags passed to both C and C++ files. 213MY_CFLAGS_Release := \ 214 --param=ssp-buffer-size=4 \ 215 -Werror \ 216 -fno-strict-aliasing \ 217 -Wall \ 218 -Wno-unused-parameter \ 219 -Wno-missing-field-initializers \ 220 -fvisibility=hidden \ 221 -pipe \ 222 -fPIC \ 223 -Wno-unused-local-typedefs \ 224 -ffunction-sections \ 225 -funwind-tables \ 226 -g \ 227 -fno-short-enums \ 228 -finline-limit=64 \ 229 -Wa,--noexecstack \ 230 -U_FORTIFY_SOURCE \ 231 -Wno-extra \ 232 -Wno-ignored-qualifiers \ 233 -Wno-type-limits \ 234 -Wno-unused-but-set-variable \ 235 -Os \ 236 -fno-ident \ 237 -fdata-sections \ 238 -ffunction-sections \ 239 -funwind-tables 240 241MY_DEFS_Release := \ 242 '-DV8_DEPRECATION_WARNINGS' \ 243 '-D_FILE_OFFSET_BITS=64' \ 244 '-DNO_TCMALLOC' \ 245 '-DDISABLE_NACL' \ 246 '-DCHROMIUM_BUILD' \ 247 '-DUSE_LIBJPEG_TURBO=1' \ 248 '-DENABLE_WEBRTC=1' \ 249 '-DUSE_PROPRIETARY_CODECS' \ 250 '-DENABLE_BROWSER_CDMS' \ 251 '-DENABLE_CONFIGURATION_POLICY' \ 252 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 253 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 254 '-DENABLE_EGLIMAGE=1' \ 255 '-DCLD_VERSION=1' \ 256 '-DENABLE_PRINTING=1' \ 257 '-DENABLE_MANAGED_USERS=1' \ 258 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 259 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 260 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 261 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 262 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 263 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 264 '-DVIDEO_HOLE=1' \ 265 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 266 '-DUI_BASE_IMPLEMENTATION' \ 267 '-DPOSIX_AVOID_MMAP' \ 268 '-DSK_ENABLE_INST_COUNT=0' \ 269 '-DSK_SUPPORT_GPU=1' \ 270 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 271 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 272 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 273 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 274 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 275 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 276 '-DSK_BUILD_FOR_ANDROID' \ 277 '-DSK_USE_POSIX_THREADS' \ 278 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 279 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 280 '-DU_USING_ICU_NAMESPACE=0' \ 281 '-DU_ENABLE_DYLOAD=0' \ 282 '-DUSE_OPENSSL=1' \ 283 '-DUSE_OPENSSL_CERTS=1' \ 284 '-D__STDC_CONSTANT_MACROS' \ 285 '-D__STDC_FORMAT_MACROS' \ 286 '-DANDROID' \ 287 '-D__GNU_SOURCE=1' \ 288 '-DUSE_STLPORT=1' \ 289 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 290 '-DCHROME_BUILD_ID=""' \ 291 '-DNDEBUG' \ 292 '-DNVALGRIND' \ 293 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 294 '-D_FORTIFY_SOURCE=2' 295 296 297# Include paths placed before CFLAGS/CPPFLAGS 298LOCAL_C_INCLUDES_Release := \ 299 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 300 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 301 $(gyp_shared_intermediate_dir) \ 302 $(LOCAL_PATH) \ 303 $(LOCAL_PATH)/skia/config \ 304 $(LOCAL_PATH)/third_party/skia/src/core \ 305 $(LOCAL_PATH)/third_party/skia/include/core \ 306 $(LOCAL_PATH)/third_party/skia/include/effects \ 307 $(LOCAL_PATH)/third_party/skia/include/pdf \ 308 $(LOCAL_PATH)/third_party/skia/include/gpu \ 309 $(LOCAL_PATH)/third_party/skia/include/lazy \ 310 $(LOCAL_PATH)/third_party/skia/include/pathops \ 311 $(LOCAL_PATH)/third_party/skia/include/pipe \ 312 $(LOCAL_PATH)/third_party/skia/include/ports \ 313 $(LOCAL_PATH)/third_party/skia/include/utils \ 314 $(LOCAL_PATH)/skia/ext \ 315 $(PWD)/external/icu/icu4c/source/common \ 316 $(PWD)/external/icu/icu4c/source/i18n \ 317 $(gyp_shared_intermediate_dir)/ui/resources \ 318 $(gyp_shared_intermediate_dir)/ui \ 319 $(PWD)/frameworks/wilhelm/include \ 320 $(PWD)/bionic \ 321 $(PWD)/external/stlport/stlport 322 323 324# Flags passed to only C++ (and not C) files. 325LOCAL_CPPFLAGS_Release := \ 326 -fno-exceptions \ 327 -fno-rtti \ 328 -fno-threadsafe-statics \ 329 -fvisibility-inlines-hidden \ 330 -Wsign-compare \ 331 -std=gnu++11 \ 332 -Wno-narrowing \ 333 -Wno-literal-suffix \ 334 -Wno-non-virtual-dtor \ 335 -Wno-sign-promo 336 337 338LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 339LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 340LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 341LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 342### Rules for final target. 343 344LOCAL_SHARED_LIBRARIES := \ 345 libstlport \ 346 libdl 347 348# Add target alias to "gyp_all_modules" target. 349.PHONY: gyp_all_modules 350gyp_all_modules: ui_base_ui_base_gyp 351 352# Alias gyp target name. 353.PHONY: ui_base 354ui_base: ui_base_ui_base_gyp 355 356include $(BUILD_STATIC_LIBRARY) 357