1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := components_navigation_interception_jni_headers_gyp 7LOCAL_MODULE_STEM := navigation_interception_jni_headers 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TAGS := optional 10LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 11gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 13 14# Make sure our deps are built first. 15GYP_TARGET_DEPENDENCIES := \ 16 $(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp 17 18 19### Generated for rule "components_components_gyp_navigation_interception_jni_headers_target_generate_jni_headers": 20# "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/navigation_interception/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java', 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/navigation_interception/jni', '--includes', 'base/android/jni_generator/jni_generator_helper.h', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long', '--native_exports'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 21$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_local_path := $(LOCAL_PATH) 22$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 23$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 24$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 25$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 26$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 27 mkdir -p $(gyp_shared_intermediate_dir)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 28 29 30$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_local_path := $(LOCAL_PATH) 31$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 32$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 33$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 34$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 35$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 36 mkdir -p $(gyp_shared_intermediate_dir)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 37 38 39 40GYP_GENERATED_OUTPUTS := \ 41 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \ 42 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h 43 44# Make sure our deps and generated files are built first. 45LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 46 47LOCAL_GENERATED_SOURCES := \ 48 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \ 49 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h 50 51GYP_COPIED_SOURCE_ORIGIN_DIRS := 52 53LOCAL_SRC_FILES := 54 55 56# Flags passed to both C and C++ files. 57MY_CFLAGS_Debug := \ 58 --param=ssp-buffer-size=4 \ 59 -Werror \ 60 -fno-exceptions \ 61 -fno-strict-aliasing \ 62 -Wall \ 63 -Wno-unused-parameter \ 64 -Wno-missing-field-initializers \ 65 -fvisibility=hidden \ 66 -pipe \ 67 -fPIC \ 68 -Wno-unused-local-typedefs \ 69 -msse2 \ 70 -mfpmath=sse \ 71 -mmmx \ 72 -m32 \ 73 -ffunction-sections \ 74 -funwind-tables \ 75 -g \ 76 -fno-short-enums \ 77 -finline-limit=64 \ 78 -Wa,--noexecstack \ 79 -U_FORTIFY_SOURCE \ 80 -Wno-extra \ 81 -Wno-ignored-qualifiers \ 82 -Wno-type-limits \ 83 -Wno-unused-but-set-variable \ 84 -fno-stack-protector \ 85 -Os \ 86 -g \ 87 -fdata-sections \ 88 -ffunction-sections \ 89 -fomit-frame-pointer \ 90 -funwind-tables 91 92MY_DEFS_Debug := \ 93 '-DV8_DEPRECATION_WARNINGS' \ 94 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 95 '-D_FILE_OFFSET_BITS=64' \ 96 '-DNO_TCMALLOC' \ 97 '-DDISABLE_NACL' \ 98 '-DCHROMIUM_BUILD' \ 99 '-DUSE_LIBJPEG_TURBO=1' \ 100 '-DENABLE_WEBRTC=1' \ 101 '-DUSE_PROPRIETARY_CODECS' \ 102 '-DENABLE_BROWSER_CDMS' \ 103 '-DENABLE_CONFIGURATION_POLICY' \ 104 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 105 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 106 '-DENABLE_EGLIMAGE=1' \ 107 '-DCLD_VERSION=1' \ 108 '-DENABLE_PRINTING=1' \ 109 '-DENABLE_MANAGED_USERS=1' \ 110 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 111 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 112 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 113 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 114 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 115 '-DVIDEO_HOLE=1' \ 116 '-DUSE_OPENSSL=1' \ 117 '-DUSE_OPENSSL_CERTS=1' \ 118 '-D__STDC_CONSTANT_MACROS' \ 119 '-D__STDC_FORMAT_MACROS' \ 120 '-DANDROID' \ 121 '-D__GNU_SOURCE=1' \ 122 '-DUSE_STLPORT=1' \ 123 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 124 '-DCHROME_BUILD_ID=""' \ 125 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 126 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 127 '-D_DEBUG' 128 129 130# Include paths placed before CFLAGS/CPPFLAGS 131LOCAL_C_INCLUDES_Debug := \ 132 $(gyp_shared_intermediate_dir) \ 133 $(PWD)/frameworks/wilhelm/include \ 134 $(PWD)/bionic \ 135 $(PWD)/external/stlport/stlport 136 137 138# Flags passed to only C++ (and not C) files. 139LOCAL_CPPFLAGS_Debug := \ 140 -fno-rtti \ 141 -fno-threadsafe-statics \ 142 -fvisibility-inlines-hidden \ 143 -Wsign-compare \ 144 -Wno-non-virtual-dtor \ 145 -Wno-sign-promo 146 147 148LOCAL_FDO_SUPPORT_Debug := false 149 150# Flags passed to both C and C++ files. 151MY_CFLAGS_Release := \ 152 --param=ssp-buffer-size=4 \ 153 -Werror \ 154 -fno-exceptions \ 155 -fno-strict-aliasing \ 156 -Wall \ 157 -Wno-unused-parameter \ 158 -Wno-missing-field-initializers \ 159 -fvisibility=hidden \ 160 -pipe \ 161 -fPIC \ 162 -Wno-unused-local-typedefs \ 163 -msse2 \ 164 -mfpmath=sse \ 165 -mmmx \ 166 -m32 \ 167 -ffunction-sections \ 168 -funwind-tables \ 169 -g \ 170 -fno-short-enums \ 171 -finline-limit=64 \ 172 -Wa,--noexecstack \ 173 -U_FORTIFY_SOURCE \ 174 -Wno-extra \ 175 -Wno-ignored-qualifiers \ 176 -Wno-type-limits \ 177 -Wno-unused-but-set-variable \ 178 -fno-stack-protector \ 179 -Os \ 180 -fno-ident \ 181 -fdata-sections \ 182 -ffunction-sections \ 183 -fomit-frame-pointer \ 184 -funwind-tables 185 186MY_DEFS_Release := \ 187 '-DV8_DEPRECATION_WARNINGS' \ 188 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 189 '-D_FILE_OFFSET_BITS=64' \ 190 '-DNO_TCMALLOC' \ 191 '-DDISABLE_NACL' \ 192 '-DCHROMIUM_BUILD' \ 193 '-DUSE_LIBJPEG_TURBO=1' \ 194 '-DENABLE_WEBRTC=1' \ 195 '-DUSE_PROPRIETARY_CODECS' \ 196 '-DENABLE_BROWSER_CDMS' \ 197 '-DENABLE_CONFIGURATION_POLICY' \ 198 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 199 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 200 '-DENABLE_EGLIMAGE=1' \ 201 '-DCLD_VERSION=1' \ 202 '-DENABLE_PRINTING=1' \ 203 '-DENABLE_MANAGED_USERS=1' \ 204 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 205 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 206 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 207 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 208 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 209 '-DVIDEO_HOLE=1' \ 210 '-DUSE_OPENSSL=1' \ 211 '-DUSE_OPENSSL_CERTS=1' \ 212 '-D__STDC_CONSTANT_MACROS' \ 213 '-D__STDC_FORMAT_MACROS' \ 214 '-DANDROID' \ 215 '-D__GNU_SOURCE=1' \ 216 '-DUSE_STLPORT=1' \ 217 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 218 '-DCHROME_BUILD_ID=""' \ 219 '-DNDEBUG' \ 220 '-DNVALGRIND' \ 221 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 222 '-D_FORTIFY_SOURCE=2' 223 224 225# Include paths placed before CFLAGS/CPPFLAGS 226LOCAL_C_INCLUDES_Release := \ 227 $(gyp_shared_intermediate_dir) \ 228 $(PWD)/frameworks/wilhelm/include \ 229 $(PWD)/bionic \ 230 $(PWD)/external/stlport/stlport 231 232 233# Flags passed to only C++ (and not C) files. 234LOCAL_CPPFLAGS_Release := \ 235 -fno-rtti \ 236 -fno-threadsafe-statics \ 237 -fvisibility-inlines-hidden \ 238 -Wsign-compare \ 239 -Wno-non-virtual-dtor \ 240 -Wno-sign-promo 241 242 243LOCAL_FDO_SUPPORT_Release := false 244 245LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 246LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 247LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 248LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 249LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 250### Rules for final target. 251# Add target alias to "gyp_all_modules" target. 252.PHONY: gyp_all_modules 253gyp_all_modules: components_navigation_interception_jni_headers_gyp 254 255# Alias gyp target name. 256.PHONY: navigation_interception_jni_headers 257navigation_interception_jni_headers: components_navigation_interception_jni_headers_gyp 258 259LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 260LOCAL_UNINSTALLABLE_MODULE := true 261LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 262 263include $(BUILD_SYSTEM)/base_rules.mk 264 265$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 266 $(hide) echo "Gyp timestamp: $@" 267 $(hide) mkdir -p $(dir $@) 268 $(hide) touch $@ 269 270LOCAL_2ND_ARCH_VAR_PREFIX := 271