1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := ui_native_theme_native_theme_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,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 17 $(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp,,,$(GYP_VAR_PREFIX))/ui_resources.stamp 18 19GYP_GENERATED_OUTPUTS := 20 21# Make sure our deps and generated files are built first. 22LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24LOCAL_CPP_EXTENSION := .cc 25LOCAL_GENERATED_SOURCES := 26 27GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29LOCAL_SRC_FILES := \ 30 ui/native_theme/common_theme.cc \ 31 ui/native_theme/fallback_theme.cc \ 32 ui/native_theme/native_theme.cc \ 33 ui/native_theme/native_theme_android.cc \ 34 ui/native_theme/native_theme_base.cc \ 35 ui/native_theme/native_theme_observer.cc \ 36 ui/native_theme/native_theme_switches.cc 37 38 39# Flags passed to both C and C++ files. 40MY_CFLAGS_Debug := \ 41 --param=ssp-buffer-size=4 \ 42 -Werror \ 43 -fno-strict-aliasing \ 44 -Wall \ 45 -Wno-unused-parameter \ 46 -Wno-missing-field-initializers \ 47 -fvisibility=hidden \ 48 -pipe \ 49 -fPIC \ 50 -Wno-unused-local-typedefs \ 51 -msse2 \ 52 -mfpmath=sse \ 53 -mmmx \ 54 -m32 \ 55 -ffunction-sections \ 56 -funwind-tables \ 57 -g \ 58 -fno-short-enums \ 59 -finline-limit=64 \ 60 -Wa,--noexecstack \ 61 -U_FORTIFY_SOURCE \ 62 -Wno-extra \ 63 -Wno-ignored-qualifiers \ 64 -Wno-type-limits \ 65 -Wno-unused-but-set-variable \ 66 -fno-stack-protector \ 67 -Os \ 68 -g \ 69 -gdwarf-4 \ 70 -fdata-sections \ 71 -ffunction-sections \ 72 -fomit-frame-pointer \ 73 -funwind-tables 74 75MY_DEFS_Debug := \ 76 '-DV8_DEPRECATION_WARNINGS' \ 77 '-D_FILE_OFFSET_BITS=64' \ 78 '-DNO_TCMALLOC' \ 79 '-DDISABLE_NACL' \ 80 '-DCHROMIUM_BUILD' \ 81 '-DUSE_LIBJPEG_TURBO=1' \ 82 '-DENABLE_WEBRTC=1' \ 83 '-DUSE_PROPRIETARY_CODECS' \ 84 '-DENABLE_BROWSER_CDMS' \ 85 '-DENABLE_CONFIGURATION_POLICY' \ 86 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88 '-DENABLE_EGLIMAGE=1' \ 89 '-DCLD_VERSION=1' \ 90 '-DENABLE_PRINTING=1' \ 91 '-DENABLE_MANAGED_USERS=1' \ 92 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 93 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 95 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 96 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 97 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 98 '-DVIDEO_HOLE=1' \ 99 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 100 '-DNATIVE_THEME_IMPLEMENTATION' \ 101 '-DSK_ENABLE_INST_COUNT=0' \ 102 '-DSK_SUPPORT_GPU=1' \ 103 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 104 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 105 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 106 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 107 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 108 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 109 '-DSK_BUILD_FOR_ANDROID' \ 110 '-DSK_USE_POSIX_THREADS' \ 111 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 112 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 113 '-DU_USING_ICU_NAMESPACE=0' \ 114 '-DU_ENABLE_DYLOAD=0' \ 115 '-DUSE_OPENSSL=1' \ 116 '-DUSE_OPENSSL_CERTS=1' \ 117 '-D__STDC_CONSTANT_MACROS' \ 118 '-D__STDC_FORMAT_MACROS' \ 119 '-DANDROID' \ 120 '-D__GNU_SOURCE=1' \ 121 '-DUSE_STLPORT=1' \ 122 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 123 '-DCHROME_BUILD_ID=""' \ 124 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 125 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 126 '-D_DEBUG' 127 128 129# Include paths placed before CFLAGS/CPPFLAGS 130LOCAL_C_INCLUDES_Debug := \ 131 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 132 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 133 $(gyp_shared_intermediate_dir) \ 134 $(LOCAL_PATH) \ 135 $(LOCAL_PATH)/skia/config \ 136 $(LOCAL_PATH)/third_party/skia/src/core \ 137 $(LOCAL_PATH)/third_party/skia/include/core \ 138 $(LOCAL_PATH)/third_party/skia/include/effects \ 139 $(LOCAL_PATH)/third_party/skia/include/pdf \ 140 $(LOCAL_PATH)/third_party/skia/include/gpu \ 141 $(LOCAL_PATH)/third_party/skia/include/lazy \ 142 $(LOCAL_PATH)/third_party/skia/include/pathops \ 143 $(LOCAL_PATH)/third_party/skia/include/pipe \ 144 $(LOCAL_PATH)/third_party/skia/include/ports \ 145 $(LOCAL_PATH)/third_party/skia/include/utils \ 146 $(LOCAL_PATH)/skia/ext \ 147 $(PWD)/external/icu/icu4c/source/common \ 148 $(PWD)/external/icu/icu4c/source/i18n \ 149 $(gyp_shared_intermediate_dir)/ui/resources \ 150 $(PWD)/frameworks/wilhelm/include \ 151 $(PWD)/bionic \ 152 $(PWD)/external/stlport/stlport 153 154 155# Flags passed to only C++ (and not C) files. 156LOCAL_CPPFLAGS_Debug := \ 157 -fno-exceptions \ 158 -fno-rtti \ 159 -fno-threadsafe-statics \ 160 -fvisibility-inlines-hidden \ 161 -Wsign-compare \ 162 -std=gnu++11 \ 163 -Wno-narrowing \ 164 -Wno-literal-suffix \ 165 -Wno-non-virtual-dtor \ 166 -Wno-sign-promo 167 168 169# Flags passed to both C and C++ files. 170MY_CFLAGS_Release := \ 171 --param=ssp-buffer-size=4 \ 172 -Werror \ 173 -fno-strict-aliasing \ 174 -Wall \ 175 -Wno-unused-parameter \ 176 -Wno-missing-field-initializers \ 177 -fvisibility=hidden \ 178 -pipe \ 179 -fPIC \ 180 -Wno-unused-local-typedefs \ 181 -msse2 \ 182 -mfpmath=sse \ 183 -mmmx \ 184 -m32 \ 185 -ffunction-sections \ 186 -funwind-tables \ 187 -g \ 188 -fno-short-enums \ 189 -finline-limit=64 \ 190 -Wa,--noexecstack \ 191 -U_FORTIFY_SOURCE \ 192 -Wno-extra \ 193 -Wno-ignored-qualifiers \ 194 -Wno-type-limits \ 195 -Wno-unused-but-set-variable \ 196 -fno-stack-protector \ 197 -Os \ 198 -fno-ident \ 199 -fdata-sections \ 200 -ffunction-sections \ 201 -fomit-frame-pointer \ 202 -funwind-tables 203 204MY_DEFS_Release := \ 205 '-DV8_DEPRECATION_WARNINGS' \ 206 '-D_FILE_OFFSET_BITS=64' \ 207 '-DNO_TCMALLOC' \ 208 '-DDISABLE_NACL' \ 209 '-DCHROMIUM_BUILD' \ 210 '-DUSE_LIBJPEG_TURBO=1' \ 211 '-DENABLE_WEBRTC=1' \ 212 '-DUSE_PROPRIETARY_CODECS' \ 213 '-DENABLE_BROWSER_CDMS' \ 214 '-DENABLE_CONFIGURATION_POLICY' \ 215 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 216 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 217 '-DENABLE_EGLIMAGE=1' \ 218 '-DCLD_VERSION=1' \ 219 '-DENABLE_PRINTING=1' \ 220 '-DENABLE_MANAGED_USERS=1' \ 221 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 222 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 223 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 224 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 225 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 226 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 227 '-DVIDEO_HOLE=1' \ 228 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 229 '-DNATIVE_THEME_IMPLEMENTATION' \ 230 '-DSK_ENABLE_INST_COUNT=0' \ 231 '-DSK_SUPPORT_GPU=1' \ 232 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 233 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 234 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 235 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 236 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 237 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 238 '-DSK_BUILD_FOR_ANDROID' \ 239 '-DSK_USE_POSIX_THREADS' \ 240 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 241 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 242 '-DU_USING_ICU_NAMESPACE=0' \ 243 '-DU_ENABLE_DYLOAD=0' \ 244 '-DUSE_OPENSSL=1' \ 245 '-DUSE_OPENSSL_CERTS=1' \ 246 '-D__STDC_CONSTANT_MACROS' \ 247 '-D__STDC_FORMAT_MACROS' \ 248 '-DANDROID' \ 249 '-D__GNU_SOURCE=1' \ 250 '-DUSE_STLPORT=1' \ 251 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 252 '-DCHROME_BUILD_ID=""' \ 253 '-DNDEBUG' \ 254 '-DNVALGRIND' \ 255 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 256 '-D_FORTIFY_SOURCE=2' 257 258 259# Include paths placed before CFLAGS/CPPFLAGS 260LOCAL_C_INCLUDES_Release := \ 261 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 262 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 263 $(gyp_shared_intermediate_dir) \ 264 $(LOCAL_PATH) \ 265 $(LOCAL_PATH)/skia/config \ 266 $(LOCAL_PATH)/third_party/skia/src/core \ 267 $(LOCAL_PATH)/third_party/skia/include/core \ 268 $(LOCAL_PATH)/third_party/skia/include/effects \ 269 $(LOCAL_PATH)/third_party/skia/include/pdf \ 270 $(LOCAL_PATH)/third_party/skia/include/gpu \ 271 $(LOCAL_PATH)/third_party/skia/include/lazy \ 272 $(LOCAL_PATH)/third_party/skia/include/pathops \ 273 $(LOCAL_PATH)/third_party/skia/include/pipe \ 274 $(LOCAL_PATH)/third_party/skia/include/ports \ 275 $(LOCAL_PATH)/third_party/skia/include/utils \ 276 $(LOCAL_PATH)/skia/ext \ 277 $(PWD)/external/icu/icu4c/source/common \ 278 $(PWD)/external/icu/icu4c/source/i18n \ 279 $(gyp_shared_intermediate_dir)/ui/resources \ 280 $(PWD)/frameworks/wilhelm/include \ 281 $(PWD)/bionic \ 282 $(PWD)/external/stlport/stlport 283 284 285# Flags passed to only C++ (and not C) files. 286LOCAL_CPPFLAGS_Release := \ 287 -fno-exceptions \ 288 -fno-rtti \ 289 -fno-threadsafe-statics \ 290 -fvisibility-inlines-hidden \ 291 -Wsign-compare \ 292 -std=gnu++11 \ 293 -Wno-narrowing \ 294 -Wno-literal-suffix \ 295 -Wno-non-virtual-dtor \ 296 -Wno-sign-promo 297 298 299LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 300LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 301LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 302LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 303### Rules for final target. 304 305LOCAL_SHARED_LIBRARIES := \ 306 libstlport \ 307 libdl 308 309# Add target alias to "gyp_all_modules" target. 310.PHONY: gyp_all_modules 311gyp_all_modules: ui_native_theme_native_theme_gyp 312 313# Alias gyp target name. 314.PHONY: native_theme 315native_theme: ui_native_theme_native_theme_gyp 316 317include $(BUILD_STATIC_LIBRARY) 318