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