1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := android_webview_native_android_webview_native_jni_gyp 7LOCAL_MODULE_STEM := android_webview_native_jni 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TAGS := optional 10gyp_intermediate_dir := $(call local-intermediates-dir) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,android_webview_native_input_stream_android_jar_jni_headers_gyp)/input_stream_android_jar_jni_headers.stamp \ 16 $(call intermediates-dir-for,GYP,android_webview_native_cancellation_signal_android_jar_jni_headers_gyp)/cancellation_signal_android_jar_jni_headers.stamp 17 18 19### Generated for rule "android_webview_native_webview_native_gyp_android_webview_native_jni_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)/android_webview/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['../java/src/org/chromium/android_webview/AndroidProtocolHandler.java', '../java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java', '../java/src/org/chromium/android_webview/AwContents.java', '../java/src/org/chromium/android_webview/AwContentsClientBridge.java', '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java', '../java/src/org/chromium/android_webview/AwCookieManager.java', '../java/src/org/chromium/android_webview/AwDevToolsServer.java', '../java/src/org/chromium/android_webview/AwFormDatabase.java', '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java', '../java/src/org/chromium/android_webview/AwPdfExporter.java', '../java/src/org/chromium/android_webview/AwPicture.java', '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java', '../java/src/org/chromium/android_webview/AwResource.java', '../java/src/org/chromium/android_webview/AwSettings.java', '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java', '../java/src/org/chromium/android_webview/InterceptedRequestData.java', '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/android_webview/jni', '--optimize_generation', '0', '--jarjar', '../../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 21$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_local_path := $(LOCAL_PATH) 22$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.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)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AndroidProtocolHandler.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 27 28.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 29android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h 30 31$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h: gyp_local_path := $(LOCAL_PATH) 32$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 33$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 34$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 35$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.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)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 37 38.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 39android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h 40 41$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_local_path := $(LOCAL_PATH) 42$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 43$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 44$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 45$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwContents.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 46 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwContents.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 47 48.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 49android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h 50 51$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_local_path := $(LOCAL_PATH) 52$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 53$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 54$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 55$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 56 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwContentsClientBridge.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 57 58.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 59android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h 60 61$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_local_path := $(LOCAL_PATH) 62$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 63$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 64$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 65$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 66 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 67 68.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 69android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h 70 71$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_local_path := $(LOCAL_PATH) 72$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 73$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 74$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 75$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwCookieManager.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 76 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwCookieManager.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 77 78.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 79android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h 80 81$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_local_path := $(LOCAL_PATH) 82$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 83$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 84$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 85$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwDevToolsServer.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 86 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwDevToolsServer.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 87 88.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 89android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h 90 91$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_local_path := $(LOCAL_PATH) 92$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 93$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 94$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 95$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 96 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwFormDatabase.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 97 98.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 99android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h 100 101$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_local_path := $(LOCAL_PATH) 102$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 103$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 104$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 105$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwHttpAuthHandler.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 106 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwHttpAuthHandler.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 107 108.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 109android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h 110 111$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_local_path := $(LOCAL_PATH) 112$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 113$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 114$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 115$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 116 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwPdfExporter.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 117 118.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 119android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h 120 121$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_local_path := $(LOCAL_PATH) 122$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 123$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 124$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 125$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwPicture.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 126 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwPicture.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 127 128.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 129android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h 130 131$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_local_path := $(LOCAL_PATH) 132$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 133$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 134$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 135$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 136 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 137 138.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 139android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h 140 141$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_local_path := $(LOCAL_PATH) 142$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 143$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 144$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 145$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwResource.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 146 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwResource.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 147 148.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 149android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h 150 151$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_local_path := $(LOCAL_PATH) 152$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 153$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 154$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 155$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwSettings.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 156 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwSettings.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 157 158.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 159android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h 160 161$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_local_path := $(LOCAL_PATH) 162$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 163$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 164$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 165$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 166 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/AwWebContentsDelegate.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 167 168.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 169android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h 170 171$(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h: gyp_local_path := $(LOCAL_PATH) 172$(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 173$(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 174$(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 175$(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 176 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/InterceptedRequestData.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 177 178.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 179android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h 180 181$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 182$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 183$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 184$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 185$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 186 mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; cd $(gyp_local_path)/android_webview/native; ../../base/android/jni_generator/jni_generator.py --input_file ../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 187 188.PHONY: android_webview_native_android_webview_native_jni_gyp_rule_trigger 189android_webview_native_android_webview_native_jni_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h 190 191### Finished generating for all rules 192 193GYP_GENERATED_OUTPUTS := \ 194 $(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h \ 195 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h \ 196 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h \ 197 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h \ 198 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h \ 199 $(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h \ 200 $(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h \ 201 $(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h \ 202 $(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h \ 203 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h \ 204 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h \ 205 $(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h \ 206 $(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h \ 207 $(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h \ 208 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h \ 209 $(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h \ 210 $(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h 211 212# Make sure our deps and generated files are built first. 213LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 214 215LOCAL_GENERATED_SOURCES := \ 216 $(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h \ 217 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillManagerDelegate_jni.h \ 218 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h \ 219 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h \ 220 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h \ 221 $(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h \ 222 $(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h \ 223 $(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h \ 224 $(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h \ 225 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h \ 226 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h \ 227 $(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h \ 228 $(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h \ 229 $(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h \ 230 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h \ 231 $(gyp_shared_intermediate_dir)/android_webview/jni/InterceptedRequestData_jni.h \ 232 $(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h \ 233 android_webview_native_android_webview_native_jni_gyp_rule_trigger 234 235GYP_COPIED_SOURCE_ORIGIN_DIRS := 236 237LOCAL_SRC_FILES := 238 239 240# Flags passed to both C and C++ files. 241MY_CFLAGS_Debug := \ 242 -fstack-protector \ 243 --param=ssp-buffer-size=4 \ 244 \ 245 -fno-exceptions \ 246 -fno-strict-aliasing \ 247 -Wall \ 248 -Wno-unused-parameter \ 249 -Wno-missing-field-initializers \ 250 -fvisibility=hidden \ 251 -pipe \ 252 -fPIC \ 253 -EL \ 254 -mhard-float \ 255 -ffunction-sections \ 256 -funwind-tables \ 257 -g \ 258 -fstack-protector \ 259 -fno-short-enums \ 260 -finline-limit=64 \ 261 -Wa,--noexecstack \ 262 -U_FORTIFY_SOURCE \ 263 -Wno-extra \ 264 -Wno-ignored-qualifiers \ 265 -Wno-type-limits \ 266 -Os \ 267 -g \ 268 -fomit-frame-pointer \ 269 -fdata-sections \ 270 -ffunction-sections 271 272MY_DEFS_Debug := \ 273 '-DV8_DEPRECATION_WARNINGS' \ 274 '-D_FILE_OFFSET_BITS=64' \ 275 '-DNO_TCMALLOC' \ 276 '-DDISABLE_NACL' \ 277 '-DCHROMIUM_BUILD' \ 278 '-DUSE_LIBJPEG_TURBO=1' \ 279 '-DUSE_PROPRIETARY_CODECS' \ 280 '-DENABLE_CONFIGURATION_POLICY' \ 281 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 282 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 283 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 284 '-DUSE_OPENSSL=1' \ 285 '-DENABLE_EGLIMAGE=1' \ 286 '-DCLD_VERSION=1' \ 287 '-DENABLE_PRINTING=1' \ 288 '-DENABLE_MANAGED_USERS=1' \ 289 '-D__STDC_CONSTANT_MACROS' \ 290 '-D__STDC_FORMAT_MACROS' \ 291 '-DANDROID' \ 292 '-D__GNU_SOURCE=1' \ 293 '-DUSE_STLPORT=1' \ 294 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 295 '-DCHROME_BUILD_ID=""' \ 296 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 297 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 298 '-D_DEBUG' 299 300 301# Include paths placed before CFLAGS/CPPFLAGS 302LOCAL_C_INCLUDES_Debug := \ 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_Debug := \ 310 -fno-rtti \ 311 -fno-threadsafe-statics \ 312 -fvisibility-inlines-hidden \ 313 -Wsign-compare \ 314 -Wno-uninitialized \ 315 -Wno-error=c++0x-compat \ 316 -Wno-non-virtual-dtor \ 317 -Wno-sign-promo 318 319 320# Flags passed to both C and C++ files. 321MY_CFLAGS_Release := \ 322 -fstack-protector \ 323 --param=ssp-buffer-size=4 \ 324 \ 325 -fno-exceptions \ 326 -fno-strict-aliasing \ 327 -Wall \ 328 -Wno-unused-parameter \ 329 -Wno-missing-field-initializers \ 330 -fvisibility=hidden \ 331 -pipe \ 332 -fPIC \ 333 -EL \ 334 -mhard-float \ 335 -ffunction-sections \ 336 -funwind-tables \ 337 -g \ 338 -fstack-protector \ 339 -fno-short-enums \ 340 -finline-limit=64 \ 341 -Wa,--noexecstack \ 342 -U_FORTIFY_SOURCE \ 343 -Wno-extra \ 344 -Wno-ignored-qualifiers \ 345 -Wno-type-limits \ 346 -Os \ 347 -fno-ident \ 348 -fdata-sections \ 349 -ffunction-sections \ 350 -fomit-frame-pointer 351 352MY_DEFS_Release := \ 353 '-DV8_DEPRECATION_WARNINGS' \ 354 '-D_FILE_OFFSET_BITS=64' \ 355 '-DNO_TCMALLOC' \ 356 '-DDISABLE_NACL' \ 357 '-DCHROMIUM_BUILD' \ 358 '-DUSE_LIBJPEG_TURBO=1' \ 359 '-DUSE_PROPRIETARY_CODECS' \ 360 '-DENABLE_CONFIGURATION_POLICY' \ 361 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 362 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 363 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 364 '-DUSE_OPENSSL=1' \ 365 '-DENABLE_EGLIMAGE=1' \ 366 '-DCLD_VERSION=1' \ 367 '-DENABLE_PRINTING=1' \ 368 '-DENABLE_MANAGED_USERS=1' \ 369 '-D__STDC_CONSTANT_MACROS' \ 370 '-D__STDC_FORMAT_MACROS' \ 371 '-DANDROID' \ 372 '-D__GNU_SOURCE=1' \ 373 '-DUSE_STLPORT=1' \ 374 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 375 '-DCHROME_BUILD_ID=""' \ 376 '-DNDEBUG' \ 377 '-DNVALGRIND' \ 378 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 379 '-D_FORTIFY_SOURCE=2' 380 381 382# Include paths placed before CFLAGS/CPPFLAGS 383LOCAL_C_INCLUDES_Release := \ 384 $(PWD)/frameworks/wilhelm/include \ 385 $(PWD)/bionic \ 386 $(PWD)/external/stlport/stlport 387 388 389# Flags passed to only C++ (and not C) files. 390LOCAL_CPPFLAGS_Release := \ 391 -fno-rtti \ 392 -fno-threadsafe-statics \ 393 -fvisibility-inlines-hidden \ 394 -Wsign-compare \ 395 -Wno-uninitialized \ 396 -Wno-error=c++0x-compat \ 397 -Wno-non-virtual-dtor \ 398 -Wno-sign-promo 399 400 401LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 402LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 403LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 404### Rules for final target. 405# Add target alias to "gyp_all_modules" target. 406.PHONY: gyp_all_modules 407gyp_all_modules: android_webview_native_android_webview_native_jni_gyp 408 409# Alias gyp target name. 410.PHONY: android_webview_native_jni 411android_webview_native_jni: android_webview_native_android_webview_native_jni_gyp 412 413LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 414LOCAL_UNINSTALLABLE_MODULE := true 415 416include $(BUILD_SYSTEM)/base_rules.mk 417 418$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 419 $(hide) echo "Gyp timestamp: $@" 420 $(hide) mkdir -p $(dir $@) 421 $(hide) touch $@ 422