Home | History | Annotate | Download | only in ui
      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_ui_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,skia_skia_gyp)/skia.stamp \
     15 	$(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \
     16 	$(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \
     17 	$(call intermediates-dir-for,GYP,ui_base_strings_ui_strings_gyp)/ui_strings.stamp \
     18 	$(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp)/ui_resources.stamp \
     19 	$(call intermediates-dir-for,GYP,ui_ui_base_jni_headers_gyp)/ui_base_jni_headers.stamp
     20 
     21 GYP_GENERATED_OUTPUTS :=
     22 
     23 # Make sure our deps and generated files are built first.
     24 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     25 
     26 LOCAL_CPP_EXTENSION := .cc
     27 LOCAL_GENERATED_SOURCES :=
     28 
     29 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     30 
     31 LOCAL_SRC_FILES := \
     32 	ui/base/accelerators/accelerator.cc \
     33 	ui/base/accelerators/accelerator_manager.cc \
     34 	ui/base/android/ui_base_jni_registrar.cc \
     35 	ui/base/android/view_android.cc \
     36 	ui/base/android/window_android.cc \
     37 	ui/base/base_window.cc \
     38 	ui/base/clipboard/clipboard.cc \
     39 	ui/base/clipboard/clipboard_android.cc \
     40 	ui/base/clipboard/clipboard_constants.cc \
     41 	ui/base/clipboard/custom_data_helper.cc \
     42 	ui/base/clipboard/scoped_clipboard_writer.cc \
     43 	ui/base/device_form_factor_android.cc \
     44 	ui/base/l10n/l10n_util.cc \
     45 	ui/base/l10n/l10n_util_android.cc \
     46 	ui/base/l10n/l10n_util_plurals.cc \
     47 	ui/base/l10n/l10n_util_posix.cc \
     48 	ui/base/l10n/time_format.cc \
     49 	ui/base/layout.cc \
     50 	ui/base/models/combobox_model.cc \
     51 	ui/base/models/list_selection_model.cc \
     52 	ui/base/models/menu_model.cc \
     53 	ui/base/models/simple_menu_model.cc \
     54 	ui/base/models/table_model.cc \
     55 	ui/base/models/tree_model.cc \
     56 	ui/base/resource/data_pack.cc \
     57 	ui/base/resource/resource_bundle.cc \
     58 	ui/base/resource/resource_bundle_android.cc \
     59 	ui/base/text/bytes_formatting.cc \
     60 	ui/base/touch/touch_device_android.cc \
     61 	ui/base/touch/touch_enabled.cc \
     62 	ui/base/ui_base_exports.cc \
     63 	ui/base/ui_base_paths.cc \
     64 	ui/base/ui_base_switches.cc \
     65 	ui/base/ui_base_switches_util.cc \
     66 	ui/base/webui/jstemplate_builder.cc \
     67 	ui/base/webui/web_ui_util.cc \
     68 	ui/base/window_open_disposition.cc \
     69 	ui/base/ime/composition_text.cc \
     70 	ui/base/ime/dummy_input_method_delegate.cc \
     71 	ui/base/ime/input_method_base.cc \
     72 	ui/base/ime/input_method_initializer.cc \
     73 	ui/base/ime/mock_input_method.cc \
     74 	ui/base/ime/text_input_client.cc
     75 
     76 
     77 # Flags passed to both C and C++ files.
     78 MY_CFLAGS_Debug := \
     79 	-fstack-protector \
     80 	--param=ssp-buffer-size=4 \
     81 	 \
     82 	-fno-exceptions \
     83 	-fno-strict-aliasing \
     84 	-Wall \
     85 	-Wno-unused-parameter \
     86 	-Wno-missing-field-initializers \
     87 	-fvisibility=hidden \
     88 	-pipe \
     89 	-fPIC \
     90 	-EL \
     91 	-mhard-float \
     92 	-ffunction-sections \
     93 	-funwind-tables \
     94 	-g \
     95 	-fstack-protector \
     96 	-fno-short-enums \
     97 	-finline-limit=64 \
     98 	-Wa,--noexecstack \
     99 	-U_FORTIFY_SOURCE \
    100 	-Wno-extra \
    101 	-Wno-ignored-qualifiers \
    102 	-Wno-type-limits \
    103 	-Os \
    104 	-g \
    105 	-fomit-frame-pointer \
    106 	-fdata-sections \
    107 	-ffunction-sections
    108 
    109 MY_DEFS_Debug := \
    110 	'-DV8_DEPRECATION_WARNINGS' \
    111 	'-D_FILE_OFFSET_BITS=64' \
    112 	'-DNO_TCMALLOC' \
    113 	'-DDISABLE_NACL' \
    114 	'-DCHROMIUM_BUILD' \
    115 	'-DUSE_LIBJPEG_TURBO=1' \
    116 	'-DUSE_PROPRIETARY_CODECS' \
    117 	'-DENABLE_CONFIGURATION_POLICY' \
    118 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    119 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    120 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    121 	'-DUSE_OPENSSL=1' \
    122 	'-DENABLE_EGLIMAGE=1' \
    123 	'-DCLD_VERSION=1' \
    124 	'-DENABLE_PRINTING=1' \
    125 	'-DENABLE_MANAGED_USERS=1' \
    126 	'-DUI_IMPLEMENTATION' \
    127 	'-DPOSIX_AVOID_MMAP' \
    128 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    129 	'-DU_USING_ICU_NAMESPACE=0' \
    130 	'-DCHROME_PNG_WRITE_SUPPORT' \
    131 	'-DPNG_USER_CONFIG' \
    132 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    133 	'-D__STDC_CONSTANT_MACROS' \
    134 	'-D__STDC_FORMAT_MACROS' \
    135 	'-DANDROID' \
    136 	'-D__GNU_SOURCE=1' \
    137 	'-DUSE_STLPORT=1' \
    138 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    139 	'-DCHROME_BUILD_ID=""' \
    140 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    141 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    142 	'-D_DEBUG'
    143 
    144 
    145 # Include paths placed before CFLAGS/CPPFLAGS
    146 LOCAL_C_INCLUDES_Debug := \
    147 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    148 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    149 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    150 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    151 	$(gyp_shared_intermediate_dir)/ui \
    152 	$(LOCAL_PATH) \
    153 	$(LOCAL_PATH)/skia/config \
    154 	$(PWD)/external/skia/include \
    155 	$(PWD)/external/skia/include/core \
    156 	$(LOCAL_PATH)/third_party/skia/src/core \
    157 	$(LOCAL_PATH)/skia/ext \
    158 	$(PWD)/external/icu4c/common \
    159 	$(PWD)/external/icu4c/i18n \
    160 	$(LOCAL_PATH)/third_party/libpng \
    161 	$(LOCAL_PATH)/third_party/zlib \
    162 	$(gyp_shared_intermediate_dir)/ui/app_locale_settings \
    163 	$(gyp_shared_intermediate_dir)/ui/ui_strings \
    164 	$(gyp_shared_intermediate_dir)/ui/ui_resources \
    165 	$(PWD)/frameworks/wilhelm/include \
    166 	$(PWD)/bionic \
    167 	$(PWD)/external/stlport/stlport
    168 
    169 
    170 # Flags passed to only C++ (and not C) files.
    171 LOCAL_CPPFLAGS_Debug := \
    172 	-fno-rtti \
    173 	-fno-threadsafe-statics \
    174 	-fvisibility-inlines-hidden \
    175 	-Wsign-compare \
    176 	-Wno-uninitialized \
    177 	-Wno-error=c++0x-compat \
    178 	-Wno-non-virtual-dtor \
    179 	-Wno-sign-promo
    180 
    181 
    182 # Flags passed to both C and C++ files.
    183 MY_CFLAGS_Release := \
    184 	-fstack-protector \
    185 	--param=ssp-buffer-size=4 \
    186 	 \
    187 	-fno-exceptions \
    188 	-fno-strict-aliasing \
    189 	-Wall \
    190 	-Wno-unused-parameter \
    191 	-Wno-missing-field-initializers \
    192 	-fvisibility=hidden \
    193 	-pipe \
    194 	-fPIC \
    195 	-EL \
    196 	-mhard-float \
    197 	-ffunction-sections \
    198 	-funwind-tables \
    199 	-g \
    200 	-fstack-protector \
    201 	-fno-short-enums \
    202 	-finline-limit=64 \
    203 	-Wa,--noexecstack \
    204 	-U_FORTIFY_SOURCE \
    205 	-Wno-extra \
    206 	-Wno-ignored-qualifiers \
    207 	-Wno-type-limits \
    208 	-Os \
    209 	-fno-ident \
    210 	-fdata-sections \
    211 	-ffunction-sections \
    212 	-fomit-frame-pointer
    213 
    214 MY_DEFS_Release := \
    215 	'-DV8_DEPRECATION_WARNINGS' \
    216 	'-D_FILE_OFFSET_BITS=64' \
    217 	'-DNO_TCMALLOC' \
    218 	'-DDISABLE_NACL' \
    219 	'-DCHROMIUM_BUILD' \
    220 	'-DUSE_LIBJPEG_TURBO=1' \
    221 	'-DUSE_PROPRIETARY_CODECS' \
    222 	'-DENABLE_CONFIGURATION_POLICY' \
    223 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    224 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    225 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    226 	'-DUSE_OPENSSL=1' \
    227 	'-DENABLE_EGLIMAGE=1' \
    228 	'-DCLD_VERSION=1' \
    229 	'-DENABLE_PRINTING=1' \
    230 	'-DENABLE_MANAGED_USERS=1' \
    231 	'-DUI_IMPLEMENTATION' \
    232 	'-DPOSIX_AVOID_MMAP' \
    233 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    234 	'-DU_USING_ICU_NAMESPACE=0' \
    235 	'-DCHROME_PNG_WRITE_SUPPORT' \
    236 	'-DPNG_USER_CONFIG' \
    237 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    238 	'-D__STDC_CONSTANT_MACROS' \
    239 	'-D__STDC_FORMAT_MACROS' \
    240 	'-DANDROID' \
    241 	'-D__GNU_SOURCE=1' \
    242 	'-DUSE_STLPORT=1' \
    243 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    244 	'-DCHROME_BUILD_ID=""' \
    245 	'-DNDEBUG' \
    246 	'-DNVALGRIND' \
    247 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    248 	'-D_FORTIFY_SOURCE=2'
    249 
    250 
    251 # Include paths placed before CFLAGS/CPPFLAGS
    252 LOCAL_C_INCLUDES_Release := \
    253 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    254 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    255 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    256 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    257 	$(gyp_shared_intermediate_dir)/ui \
    258 	$(LOCAL_PATH) \
    259 	$(LOCAL_PATH)/skia/config \
    260 	$(PWD)/external/skia/include \
    261 	$(PWD)/external/skia/include/core \
    262 	$(LOCAL_PATH)/third_party/skia/src/core \
    263 	$(LOCAL_PATH)/skia/ext \
    264 	$(PWD)/external/icu4c/common \
    265 	$(PWD)/external/icu4c/i18n \
    266 	$(LOCAL_PATH)/third_party/libpng \
    267 	$(LOCAL_PATH)/third_party/zlib \
    268 	$(gyp_shared_intermediate_dir)/ui/app_locale_settings \
    269 	$(gyp_shared_intermediate_dir)/ui/ui_strings \
    270 	$(gyp_shared_intermediate_dir)/ui/ui_resources \
    271 	$(PWD)/frameworks/wilhelm/include \
    272 	$(PWD)/bionic \
    273 	$(PWD)/external/stlport/stlport
    274 
    275 
    276 # Flags passed to only C++ (and not C) files.
    277 LOCAL_CPPFLAGS_Release := \
    278 	-fno-rtti \
    279 	-fno-threadsafe-statics \
    280 	-fvisibility-inlines-hidden \
    281 	-Wsign-compare \
    282 	-Wno-uninitialized \
    283 	-Wno-error=c++0x-compat \
    284 	-Wno-non-virtual-dtor \
    285 	-Wno-sign-promo
    286 
    287 
    288 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    289 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    290 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    291 ### Rules for final target.
    292 
    293 LOCAL_LDFLAGS_Debug := \
    294 	-Wl,-z,now \
    295 	-Wl,-z,relro \
    296 	-Wl,-z,noexecstack \
    297 	-fPIC \
    298 	-EL \
    299 	-Wl,--no-keep-memory \
    300 	-nostdlib \
    301 	-Wl,--no-undefined \
    302 	-Wl,--exclude-libs=ALL \
    303 	-Wl,--fatal-warnings \
    304 	-Wl,--gc-sections \
    305 	-Wl,--warn-shared-textrel \
    306 	-Wl,-O1 \
    307 	-Wl,--as-needed
    308 
    309 
    310 LOCAL_LDFLAGS_Release := \
    311 	-Wl,-z,now \
    312 	-Wl,-z,relro \
    313 	-Wl,-z,noexecstack \
    314 	-fPIC \
    315 	-EL \
    316 	-Wl,--no-keep-memory \
    317 	-nostdlib \
    318 	-Wl,--no-undefined \
    319 	-Wl,--exclude-libs=ALL \
    320 	-Wl,-O1 \
    321 	-Wl,--as-needed \
    322 	-Wl,--gc-sections \
    323 	-Wl,--fatal-warnings \
    324 	-Wl,--warn-shared-textrel
    325 
    326 
    327 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    328 
    329 LOCAL_STATIC_LIBRARIES :=
    330 
    331 # Enable grouping to fix circular references
    332 LOCAL_GROUP_STATIC_LIBRARIES := true
    333 
    334 LOCAL_SHARED_LIBRARIES := \
    335 	libskia \
    336 	libstlport \
    337 	libdl
    338 
    339 # Add target alias to "gyp_all_modules" target.
    340 .PHONY: gyp_all_modules
    341 gyp_all_modules: ui_ui_gyp
    342 
    343 # Alias gyp target name.
    344 .PHONY: ui
    345 ui: ui_ui_gyp
    346 
    347 include $(BUILD_STATIC_LIBRARY)
    348