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