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_navigation_interception_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,components_navigation_interception_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/navigation_interception_jni_headers.stamp 18 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_GENERATED_SOURCES := 26 27 GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29 LOCAL_SRC_FILES := \ 30 components/navigation_interception/intercept_navigation_resource_throttle.cc \ 31 components/navigation_interception/navigation_params.cc \ 32 components/navigation_interception/component_jni_registrar.cc \ 33 components/navigation_interception/intercept_navigation_delegate.cc \ 34 components/navigation_interception/navigation_params_android.cc 35 36 37 # Flags passed to both C and C++ files. 38 MY_CFLAGS_Debug := \ 39 --param=ssp-buffer-size=4 \ 40 -Werror \ 41 -fno-exceptions \ 42 -fno-strict-aliasing \ 43 -Wall \ 44 -Wno-unused-parameter \ 45 -Wno-missing-field-initializers \ 46 -fvisibility=hidden \ 47 -pipe \ 48 -fPIC \ 49 -Wno-unused-local-typedefs \ 50 -ffunction-sections \ 51 -funwind-tables \ 52 -g \ 53 -fno-short-enums \ 54 -finline-limit=64 \ 55 -Wa,--noexecstack \ 56 -U_FORTIFY_SOURCE \ 57 -Wno-extra \ 58 -Wno-ignored-qualifiers \ 59 -Wno-type-limits \ 60 -Wno-unused-but-set-variable \ 61 -Os \ 62 -g \ 63 -fdata-sections \ 64 -ffunction-sections \ 65 -funwind-tables 66 67 MY_DEFS_Debug := \ 68 '-DV8_DEPRECATION_WARNINGS' \ 69 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 70 '-D_FILE_OFFSET_BITS=64' \ 71 '-DNO_TCMALLOC' \ 72 '-DDISABLE_NACL' \ 73 '-DCHROMIUM_BUILD' \ 74 '-DUSE_LIBJPEG_TURBO=1' \ 75 '-DENABLE_WEBRTC=1' \ 76 '-DUSE_PROPRIETARY_CODECS' \ 77 '-DENABLE_BROWSER_CDMS' \ 78 '-DENABLE_CONFIGURATION_POLICY' \ 79 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 80 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 81 '-DENABLE_EGLIMAGE=1' \ 82 '-DCLD_VERSION=1' \ 83 '-DENABLE_PRINTING=1' \ 84 '-DENABLE_MANAGED_USERS=1' \ 85 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 86 '-DDATA_REDUCTION_DEV_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 '-DMOJO_USE_SYSTEM_IMPL' \ 92 '-DSK_ENABLE_INST_COUNT=0' \ 93 '-DSK_SUPPORT_GPU=1' \ 94 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 95 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 96 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 97 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 98 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 99 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 100 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 101 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 102 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 103 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 104 '-DSK_IGNORE_ETC1_SUPPORT' \ 105 '-DSK_IGNORE_GPU_DITHER' \ 106 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 107 '-DSK_BUILD_FOR_ANDROID' \ 108 '-DSK_USE_POSIX_THREADS' \ 109 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 110 '-DPOSIX_AVOID_MMAP' \ 111 '-DUSE_OPENSSL=1' \ 112 '-DUSE_OPENSSL_CERTS=1' \ 113 '-D__STDC_CONSTANT_MACROS' \ 114 '-D__STDC_FORMAT_MACROS' \ 115 '-DANDROID' \ 116 '-D__GNU_SOURCE=1' \ 117 '-DUSE_STLPORT=1' \ 118 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 119 '-DCHROME_BUILD_ID=""' \ 120 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 121 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 122 '-D_DEBUG' 123 124 125 # Include paths placed before CFLAGS/CPPFLAGS 126 LOCAL_C_INCLUDES_Debug := \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH) \ 132 $(LOCAL_PATH)/skia/config \ 133 $(LOCAL_PATH)/third_party/khronos \ 134 $(LOCAL_PATH)/gpu \ 135 $(LOCAL_PATH)/third_party/WebKit/Source \ 136 $(LOCAL_PATH)/third_party/WebKit \ 137 $(LOCAL_PATH)/third_party/skia/src/core \ 138 $(LOCAL_PATH)/third_party/skia/include/core \ 139 $(LOCAL_PATH)/third_party/skia/include/effects \ 140 $(LOCAL_PATH)/third_party/skia/include/pdf \ 141 $(LOCAL_PATH)/third_party/skia/include/gpu \ 142 $(LOCAL_PATH)/third_party/skia/include/lazy \ 143 $(LOCAL_PATH)/third_party/skia/include/pathops \ 144 $(LOCAL_PATH)/third_party/skia/include/pipe \ 145 $(LOCAL_PATH)/third_party/skia/include/ports \ 146 $(LOCAL_PATH)/third_party/skia/include/utils \ 147 $(LOCAL_PATH)/skia/ext \ 148 $(gyp_shared_intermediate_dir)/navigation_interception \ 149 $(PWD)/frameworks/wilhelm/include \ 150 $(PWD)/bionic \ 151 $(PWD)/external/stlport/stlport 152 153 154 # Flags passed to only C++ (and not C) files. 155 LOCAL_CPPFLAGS_Debug := \ 156 -fno-rtti \ 157 -fno-threadsafe-statics \ 158 -fvisibility-inlines-hidden \ 159 -Wsign-compare \ 160 -Wno-non-virtual-dtor \ 161 -Wno-sign-promo 162 163 164 LOCAL_FDO_SUPPORT_Debug := false 165 166 # Flags passed to both C and C++ files. 167 MY_CFLAGS_Release := \ 168 --param=ssp-buffer-size=4 \ 169 -Werror \ 170 -fno-exceptions \ 171 -fno-strict-aliasing \ 172 -Wall \ 173 -Wno-unused-parameter \ 174 -Wno-missing-field-initializers \ 175 -fvisibility=hidden \ 176 -pipe \ 177 -fPIC \ 178 -Wno-unused-local-typedefs \ 179 -ffunction-sections \ 180 -funwind-tables \ 181 -g \ 182 -fno-short-enums \ 183 -finline-limit=64 \ 184 -Wa,--noexecstack \ 185 -U_FORTIFY_SOURCE \ 186 -Wno-extra \ 187 -Wno-ignored-qualifiers \ 188 -Wno-type-limits \ 189 -Wno-unused-but-set-variable \ 190 -Os \ 191 -fno-ident \ 192 -fdata-sections \ 193 -ffunction-sections \ 194 -funwind-tables 195 196 MY_DEFS_Release := \ 197 '-DV8_DEPRECATION_WARNINGS' \ 198 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 199 '-D_FILE_OFFSET_BITS=64' \ 200 '-DNO_TCMALLOC' \ 201 '-DDISABLE_NACL' \ 202 '-DCHROMIUM_BUILD' \ 203 '-DUSE_LIBJPEG_TURBO=1' \ 204 '-DENABLE_WEBRTC=1' \ 205 '-DUSE_PROPRIETARY_CODECS' \ 206 '-DENABLE_BROWSER_CDMS' \ 207 '-DENABLE_CONFIGURATION_POLICY' \ 208 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 209 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 210 '-DENABLE_EGLIMAGE=1' \ 211 '-DCLD_VERSION=1' \ 212 '-DENABLE_PRINTING=1' \ 213 '-DENABLE_MANAGED_USERS=1' \ 214 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 215 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 216 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 217 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 218 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 219 '-DVIDEO_HOLE=1' \ 220 '-DMOJO_USE_SYSTEM_IMPL' \ 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_GETTOPDEVICE' \ 229 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 230 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 231 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 232 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 233 '-DSK_IGNORE_ETC1_SUPPORT' \ 234 '-DSK_IGNORE_GPU_DITHER' \ 235 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 236 '-DSK_BUILD_FOR_ANDROID' \ 237 '-DSK_USE_POSIX_THREADS' \ 238 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 239 '-DPOSIX_AVOID_MMAP' \ 240 '-DUSE_OPENSSL=1' \ 241 '-DUSE_OPENSSL_CERTS=1' \ 242 '-D__STDC_CONSTANT_MACROS' \ 243 '-D__STDC_FORMAT_MACROS' \ 244 '-DANDROID' \ 245 '-D__GNU_SOURCE=1' \ 246 '-DUSE_STLPORT=1' \ 247 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 248 '-DCHROME_BUILD_ID=""' \ 249 '-DNDEBUG' \ 250 '-DNVALGRIND' \ 251 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 252 '-D_FORTIFY_SOURCE=2' 253 254 255 # Include paths placed before CFLAGS/CPPFLAGS 256 LOCAL_C_INCLUDES_Release := \ 257 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 258 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 259 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 260 $(gyp_shared_intermediate_dir) \ 261 $(LOCAL_PATH) \ 262 $(LOCAL_PATH)/skia/config \ 263 $(LOCAL_PATH)/third_party/khronos \ 264 $(LOCAL_PATH)/gpu \ 265 $(LOCAL_PATH)/third_party/WebKit/Source \ 266 $(LOCAL_PATH)/third_party/WebKit \ 267 $(LOCAL_PATH)/third_party/skia/src/core \ 268 $(LOCAL_PATH)/third_party/skia/include/core \ 269 $(LOCAL_PATH)/third_party/skia/include/effects \ 270 $(LOCAL_PATH)/third_party/skia/include/pdf \ 271 $(LOCAL_PATH)/third_party/skia/include/gpu \ 272 $(LOCAL_PATH)/third_party/skia/include/lazy \ 273 $(LOCAL_PATH)/third_party/skia/include/pathops \ 274 $(LOCAL_PATH)/third_party/skia/include/pipe \ 275 $(LOCAL_PATH)/third_party/skia/include/ports \ 276 $(LOCAL_PATH)/third_party/skia/include/utils \ 277 $(LOCAL_PATH)/skia/ext \ 278 $(gyp_shared_intermediate_dir)/navigation_interception \ 279 $(PWD)/frameworks/wilhelm/include \ 280 $(PWD)/bionic \ 281 $(PWD)/external/stlport/stlport 282 283 284 # Flags passed to only C++ (and not C) files. 285 LOCAL_CPPFLAGS_Release := \ 286 -fno-rtti \ 287 -fno-threadsafe-statics \ 288 -fvisibility-inlines-hidden \ 289 -Wsign-compare \ 290 -Wno-non-virtual-dtor \ 291 -Wno-sign-promo 292 293 294 LOCAL_FDO_SUPPORT_Release := false 295 296 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 297 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 298 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 299 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 300 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 301 ### Rules for final target. 302 303 LOCAL_LDFLAGS_Debug := \ 304 -Wl,-z,now \ 305 -Wl,-z,relro \ 306 -Wl,--fatal-warnings \ 307 -Wl,-z,noexecstack \ 308 -fPIC \ 309 -nostdlib \ 310 -Wl,--no-undefined \ 311 -Wl,--exclude-libs=ALL \ 312 -Wl,--warn-shared-textrel \ 313 -Wl,-O1 \ 314 -Wl,--as-needed 315 316 317 LOCAL_LDFLAGS_Release := \ 318 -Wl,-z,now \ 319 -Wl,-z,relro \ 320 -Wl,--fatal-warnings \ 321 -Wl,-z,noexecstack \ 322 -fPIC \ 323 -nostdlib \ 324 -Wl,--no-undefined \ 325 -Wl,--exclude-libs=ALL \ 326 -Wl,-O1 \ 327 -Wl,--as-needed \ 328 -Wl,--gc-sections \ 329 -Wl,--warn-shared-textrel 330 331 332 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 333 334 LOCAL_STATIC_LIBRARIES := \ 335 ui_accessibility_ax_gen_gyp \ 336 skia_skia_library_gyp 337 338 # Enable grouping to fix circular references 339 LOCAL_GROUP_STATIC_LIBRARIES := true 340 341 LOCAL_SHARED_LIBRARIES := \ 342 libstlport \ 343 libdl 344 345 # Add target alias to "gyp_all_modules" target. 346 .PHONY: gyp_all_modules 347 gyp_all_modules: components_navigation_interception_gyp 348 349 # Alias gyp target name. 350 .PHONY: navigation_interception 351 navigation_interception: components_navigation_interception_gyp 352 353 include $(BUILD_STATIC_LIBRARY) 354