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