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