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 -fstack-protector \ 59 --param=ssp-buffer-size=4 \ 60 -Werror \ 61 -fno-exceptions \ 62 -fno-strict-aliasing \ 63 -Wall \ 64 -Wno-unused-parameter \ 65 -Wno-missing-field-initializers \ 66 -fvisibility=hidden \ 67 -pipe \ 68 -fPIC \ 69 -Wno-unused-local-typedefs \ 70 -m64 \ 71 -march=x86-64 \ 72 -ffunction-sections \ 73 -funwind-tables \ 74 -g \ 75 -fstack-protector \ 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 -Os \ 85 -g \ 86 -fdata-sections \ 87 -ffunction-sections \ 88 -fomit-frame-pointer \ 89 -funwind-tables 90 91MY_DEFS_Debug := \ 92 '-DV8_DEPRECATION_WARNINGS' \ 93 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 94 '-D_FILE_OFFSET_BITS=64' \ 95 '-DNO_TCMALLOC' \ 96 '-DDISABLE_NACL' \ 97 '-DCHROMIUM_BUILD' \ 98 '-DUSE_LIBJPEG_TURBO=1' \ 99 '-DENABLE_WEBRTC=1' \ 100 '-DUSE_PROPRIETARY_CODECS' \ 101 '-DENABLE_BROWSER_CDMS' \ 102 '-DENABLE_CONFIGURATION_POLICY' \ 103 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 104 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 105 '-DENABLE_EGLIMAGE=1' \ 106 '-DCLD_VERSION=1' \ 107 '-DENABLE_PRINTING=1' \ 108 '-DENABLE_MANAGED_USERS=1' \ 109 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 110 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 111 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 112 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 113 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 114 '-DVIDEO_HOLE=1' \ 115 '-DUSE_OPENSSL=1' \ 116 '-DUSE_OPENSSL_CERTS=1' \ 117 '-D__STDC_CONSTANT_MACROS' \ 118 '-D__STDC_FORMAT_MACROS' \ 119 '-DANDROID' \ 120 '-D__GNU_SOURCE=1' \ 121 '-DUSE_STLPORT=1' \ 122 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 123 '-DCHROME_BUILD_ID=""' \ 124 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 125 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 126 '-D_DEBUG' 127 128 129# Include paths placed before CFLAGS/CPPFLAGS 130LOCAL_C_INCLUDES_Debug := \ 131 $(gyp_shared_intermediate_dir) \ 132 $(PWD)/frameworks/wilhelm/include \ 133 $(PWD)/bionic \ 134 $(PWD)/external/stlport/stlport 135 136 137# Flags passed to only C++ (and not C) files. 138LOCAL_CPPFLAGS_Debug := \ 139 -fno-rtti \ 140 -fno-threadsafe-statics \ 141 -fvisibility-inlines-hidden \ 142 -Wsign-compare \ 143 -Wno-non-virtual-dtor \ 144 -Wno-sign-promo 145 146 147LOCAL_FDO_SUPPORT_Debug := false 148 149# Flags passed to both C and C++ files. 150MY_CFLAGS_Release := \ 151 -fstack-protector \ 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 -m64 \ 164 -march=x86-64 \ 165 -ffunction-sections \ 166 -funwind-tables \ 167 -g \ 168 -fstack-protector \ 169 -fno-short-enums \ 170 -finline-limit=64 \ 171 -Wa,--noexecstack \ 172 -U_FORTIFY_SOURCE \ 173 -Wno-extra \ 174 -Wno-ignored-qualifiers \ 175 -Wno-type-limits \ 176 -Wno-unused-but-set-variable \ 177 -Os \ 178 -fno-ident \ 179 -fdata-sections \ 180 -ffunction-sections \ 181 -fomit-frame-pointer \ 182 -funwind-tables 183 184MY_DEFS_Release := \ 185 '-DV8_DEPRECATION_WARNINGS' \ 186 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 187 '-D_FILE_OFFSET_BITS=64' \ 188 '-DNO_TCMALLOC' \ 189 '-DDISABLE_NACL' \ 190 '-DCHROMIUM_BUILD' \ 191 '-DUSE_LIBJPEG_TURBO=1' \ 192 '-DENABLE_WEBRTC=1' \ 193 '-DUSE_PROPRIETARY_CODECS' \ 194 '-DENABLE_BROWSER_CDMS' \ 195 '-DENABLE_CONFIGURATION_POLICY' \ 196 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 197 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 198 '-DENABLE_EGLIMAGE=1' \ 199 '-DCLD_VERSION=1' \ 200 '-DENABLE_PRINTING=1' \ 201 '-DENABLE_MANAGED_USERS=1' \ 202 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 203 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 204 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 205 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 206 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 207 '-DVIDEO_HOLE=1' \ 208 '-DUSE_OPENSSL=1' \ 209 '-DUSE_OPENSSL_CERTS=1' \ 210 '-D__STDC_CONSTANT_MACROS' \ 211 '-D__STDC_FORMAT_MACROS' \ 212 '-DANDROID' \ 213 '-D__GNU_SOURCE=1' \ 214 '-DUSE_STLPORT=1' \ 215 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 216 '-DCHROME_BUILD_ID=""' \ 217 '-DNDEBUG' \ 218 '-DNVALGRIND' \ 219 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 220 '-D_FORTIFY_SOURCE=2' 221 222 223# Include paths placed before CFLAGS/CPPFLAGS 224LOCAL_C_INCLUDES_Release := \ 225 $(gyp_shared_intermediate_dir) \ 226 $(PWD)/frameworks/wilhelm/include \ 227 $(PWD)/bionic \ 228 $(PWD)/external/stlport/stlport 229 230 231# Flags passed to only C++ (and not C) files. 232LOCAL_CPPFLAGS_Release := \ 233 -fno-rtti \ 234 -fno-threadsafe-statics \ 235 -fvisibility-inlines-hidden \ 236 -Wsign-compare \ 237 -Wno-non-virtual-dtor \ 238 -Wno-sign-promo 239 240 241LOCAL_FDO_SUPPORT_Release := false 242 243LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 244LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 245LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 246LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 247LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 248### Rules for final target. 249# Add target alias to "gyp_all_modules" target. 250.PHONY: gyp_all_modules 251gyp_all_modules: components_navigation_interception_jni_headers_gyp 252 253# Alias gyp target name. 254.PHONY: navigation_interception_jni_headers 255navigation_interception_jni_headers: components_navigation_interception_jni_headers_gyp 256 257LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 258LOCAL_UNINSTALLABLE_MODULE := true 259LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 260 261include $(BUILD_SYSTEM)/base_rules.mk 262 263$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 264 $(hide) echo "Gyp timestamp: $@" 265 $(hide) mkdir -p $(dir $@) 266 $(hide) touch $@ 267 268LOCAL_2ND_ARCH_VAR_PREFIX := 269