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