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_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,android_webview_native_cancellation_signal_android_jar_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/cancellation_signal_android_jar_jni_headers.stamp \ 16 $(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.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/AwAssets.java', '../java/src/org/chromium/android_webview/AwAutofillClient.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/AwContentsStatics.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/AwWebResourceResponse.java', '../java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java', '../java/src/org/chromium/android_webview/InputStreamUtil.java', '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java', '../java/src/org/chromium/android_webview/permission/AwPermissionRequest.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/android_webview/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)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_local_path := $(LOCAL_PATH) 22$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 23$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 24$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 25$(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 26$(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) 27 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" --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)/android_webview/jni/AwAssets_jni.h: gyp_local_path := $(LOCAL_PATH) 31$(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 32$(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 33$(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 34$(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 35$(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwAssets.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/AwAssets.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: gyp_local_path := $(LOCAL_PATH) 40$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 41$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 42$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 43$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 44$(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 45 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/AwAutofillClient.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 46 47 48$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_local_path := $(LOCAL_PATH) 49$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 50$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 51$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 52$(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 53$(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) 54 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 55 56 57$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_local_path := $(LOCAL_PATH) 58$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 59$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 60$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 61$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 62$(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) 63 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 64 65 66$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_local_path := $(LOCAL_PATH) 67$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 68$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 69$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 70$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 71$(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) 72 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 73 74 75$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: gyp_local_path := $(LOCAL_PATH) 76$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 77$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 78$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 79$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 80$(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 81 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/AwContentsStatics.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 82 83 84$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_local_path := $(LOCAL_PATH) 85$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 86$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 87$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 88$(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 89$(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) 90 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 91 92 93$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_local_path := $(LOCAL_PATH) 94$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 95$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 96$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 97$(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 98$(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) 99 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 100 101 102$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_local_path := $(LOCAL_PATH) 103$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 104$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 105$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 106$(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 107$(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) 108 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 109 110 111$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_local_path := $(LOCAL_PATH) 112$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 113$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 114$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 115$(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 116$(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) 117 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 118 119 120$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_local_path := $(LOCAL_PATH) 121$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 122$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 123$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 124$(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 125$(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) 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/AwPdfExporter.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 127 128 129$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_local_path := $(LOCAL_PATH) 130$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 131$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 132$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 133$(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 134$(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) 135 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 136 137 138$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_local_path := $(LOCAL_PATH) 139$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 140$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 141$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 142$(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 143$(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) 144 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 145 146 147$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_local_path := $(LOCAL_PATH) 148$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 149$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 150$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 151$(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 152$(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) 153 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 154 155 156$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_local_path := $(LOCAL_PATH) 157$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 158$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 159$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 160$(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 161$(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) 162 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 163 164 165$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_local_path := $(LOCAL_PATH) 166$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 167$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 168$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 169$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 170$(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) 171 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 172 173 174$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: gyp_local_path := $(LOCAL_PATH) 175$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 176$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 177$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 178$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 179$(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 180 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/AwWebResourceResponse.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 181 182 183$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: gyp_local_path := $(LOCAL_PATH) 184$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 185$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 186$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 187$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 188$(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 189 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/ExternalVideoSurfaceContainer.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 190 191 192$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: gyp_local_path := $(LOCAL_PATH) 193$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 194$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 195$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 196$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 197$(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/InputStreamUtil.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 198 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/InputStreamUtil.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 199 200 201$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 202$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 203$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 204$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 205$(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 206$(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) 207 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" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 208 209 210$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: gyp_local_path := $(LOCAL_PATH) 211$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 212$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 213$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 214$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 215$(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h: $(LOCAL_PATH)/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 216 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/permission/AwPermissionRequest.java --output_dir "$(gyp_shared_intermediate_dir)/android_webview/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 217 218 219 220GYP_GENERATED_OUTPUTS := \ 221 $(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h \ 222 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h \ 223 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h \ 224 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h \ 225 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h \ 226 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h \ 227 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h \ 228 $(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h \ 229 $(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h \ 230 $(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h \ 231 $(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h \ 232 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h \ 233 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h \ 234 $(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h \ 235 $(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h \ 236 $(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h \ 237 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h \ 238 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h \ 239 $(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h \ 240 $(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h \ 241 $(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h \ 242 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h 243 244# Make sure our deps and generated files are built first. 245LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 246 247LOCAL_GENERATED_SOURCES := \ 248 $(gyp_shared_intermediate_dir)/android_webview/jni/AndroidProtocolHandler_jni.h \ 249 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAssets_jni.h \ 250 $(gyp_shared_intermediate_dir)/android_webview/jni/AwAutofillClient_jni.h \ 251 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContents_jni.h \ 252 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsClientBridge_jni.h \ 253 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsIoThreadClient_jni.h \ 254 $(gyp_shared_intermediate_dir)/android_webview/jni/AwContentsStatics_jni.h \ 255 $(gyp_shared_intermediate_dir)/android_webview/jni/AwCookieManager_jni.h \ 256 $(gyp_shared_intermediate_dir)/android_webview/jni/AwDevToolsServer_jni.h \ 257 $(gyp_shared_intermediate_dir)/android_webview/jni/AwFormDatabase_jni.h \ 258 $(gyp_shared_intermediate_dir)/android_webview/jni/AwHttpAuthHandler_jni.h \ 259 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPdfExporter_jni.h \ 260 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPicture_jni.h \ 261 $(gyp_shared_intermediate_dir)/android_webview/jni/AwQuotaManagerBridge_jni.h \ 262 $(gyp_shared_intermediate_dir)/android_webview/jni/AwResource_jni.h \ 263 $(gyp_shared_intermediate_dir)/android_webview/jni/AwSettings_jni.h \ 264 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebContentsDelegate_jni.h \ 265 $(gyp_shared_intermediate_dir)/android_webview/jni/AwWebResourceResponse_jni.h \ 266 $(gyp_shared_intermediate_dir)/android_webview/jni/ExternalVideoSurfaceContainer_jni.h \ 267 $(gyp_shared_intermediate_dir)/android_webview/jni/InputStreamUtil_jni.h \ 268 $(gyp_shared_intermediate_dir)/android_webview/jni/JavaBrowserViewRendererHelper_jni.h \ 269 $(gyp_shared_intermediate_dir)/android_webview/jni/AwPermissionRequest_jni.h 270 271GYP_COPIED_SOURCE_ORIGIN_DIRS := 272 273LOCAL_SRC_FILES := 274 275 276# Flags passed to both C and C++ files. 277MY_CFLAGS_Debug := \ 278 --param=ssp-buffer-size=4 \ 279 -Werror \ 280 -fno-strict-aliasing \ 281 -Wall \ 282 -Wno-unused-parameter \ 283 -Wno-missing-field-initializers \ 284 -fvisibility=hidden \ 285 -pipe \ 286 -fPIC \ 287 -Wno-unused-local-typedefs \ 288 -msse2 \ 289 -mfpmath=sse \ 290 -mmmx \ 291 -m32 \ 292 -ffunction-sections \ 293 -funwind-tables \ 294 -g \ 295 -fno-short-enums \ 296 -finline-limit=64 \ 297 -Wa,--noexecstack \ 298 -U_FORTIFY_SOURCE \ 299 -Wno-extra \ 300 -Wno-ignored-qualifiers \ 301 -Wno-type-limits \ 302 -Wno-unused-but-set-variable \ 303 -fno-stack-protector \ 304 -Os \ 305 -g \ 306 -gdwarf-4 \ 307 -fdata-sections \ 308 -ffunction-sections \ 309 -fomit-frame-pointer \ 310 -funwind-tables 311 312MY_DEFS_Debug := \ 313 '-DV8_DEPRECATION_WARNINGS' \ 314 '-D_FILE_OFFSET_BITS=64' \ 315 '-DNO_TCMALLOC' \ 316 '-DDISABLE_NACL' \ 317 '-DCHROMIUM_BUILD' \ 318 '-DUSE_LIBJPEG_TURBO=1' \ 319 '-DENABLE_WEBRTC=1' \ 320 '-DUSE_PROPRIETARY_CODECS' \ 321 '-DENABLE_BROWSER_CDMS' \ 322 '-DENABLE_CONFIGURATION_POLICY' \ 323 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 324 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 325 '-DENABLE_EGLIMAGE=1' \ 326 '-DCLD_VERSION=1' \ 327 '-DENABLE_PRINTING=1' \ 328 '-DENABLE_MANAGED_USERS=1' \ 329 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 330 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 331 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 332 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 333 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 334 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 335 '-DVIDEO_HOLE=1' \ 336 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 337 '-DUSE_OPENSSL=1' \ 338 '-DUSE_OPENSSL_CERTS=1' \ 339 '-D__STDC_CONSTANT_MACROS' \ 340 '-D__STDC_FORMAT_MACROS' \ 341 '-DANDROID' \ 342 '-D__GNU_SOURCE=1' \ 343 '-DUSE_STLPORT=1' \ 344 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 345 '-DCHROME_BUILD_ID=""' \ 346 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 347 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 348 '-D_DEBUG' 349 350 351# Include paths placed before CFLAGS/CPPFLAGS 352LOCAL_C_INCLUDES_Debug := \ 353 $(gyp_shared_intermediate_dir) \ 354 $(PWD)/frameworks/wilhelm/include \ 355 $(PWD)/bionic \ 356 $(PWD)/external/stlport/stlport 357 358 359# Flags passed to only C++ (and not C) files. 360LOCAL_CPPFLAGS_Debug := \ 361 -fno-exceptions \ 362 -fno-rtti \ 363 -fno-threadsafe-statics \ 364 -fvisibility-inlines-hidden \ 365 -Wsign-compare \ 366 -std=gnu++11 \ 367 -Wno-narrowing \ 368 -Wno-literal-suffix \ 369 -Wno-non-virtual-dtor \ 370 -Wno-sign-promo 371 372 373# Flags passed to both C and C++ files. 374MY_CFLAGS_Release := \ 375 --param=ssp-buffer-size=4 \ 376 -Werror \ 377 -fno-strict-aliasing \ 378 -Wall \ 379 -Wno-unused-parameter \ 380 -Wno-missing-field-initializers \ 381 -fvisibility=hidden \ 382 -pipe \ 383 -fPIC \ 384 -Wno-unused-local-typedefs \ 385 -msse2 \ 386 -mfpmath=sse \ 387 -mmmx \ 388 -m32 \ 389 -ffunction-sections \ 390 -funwind-tables \ 391 -g \ 392 -fno-short-enums \ 393 -finline-limit=64 \ 394 -Wa,--noexecstack \ 395 -U_FORTIFY_SOURCE \ 396 -Wno-extra \ 397 -Wno-ignored-qualifiers \ 398 -Wno-type-limits \ 399 -Wno-unused-but-set-variable \ 400 -fno-stack-protector \ 401 -Os \ 402 -fno-ident \ 403 -fdata-sections \ 404 -ffunction-sections \ 405 -fomit-frame-pointer \ 406 -funwind-tables 407 408MY_DEFS_Release := \ 409 '-DV8_DEPRECATION_WARNINGS' \ 410 '-D_FILE_OFFSET_BITS=64' \ 411 '-DNO_TCMALLOC' \ 412 '-DDISABLE_NACL' \ 413 '-DCHROMIUM_BUILD' \ 414 '-DUSE_LIBJPEG_TURBO=1' \ 415 '-DENABLE_WEBRTC=1' \ 416 '-DUSE_PROPRIETARY_CODECS' \ 417 '-DENABLE_BROWSER_CDMS' \ 418 '-DENABLE_CONFIGURATION_POLICY' \ 419 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 420 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 421 '-DENABLE_EGLIMAGE=1' \ 422 '-DCLD_VERSION=1' \ 423 '-DENABLE_PRINTING=1' \ 424 '-DENABLE_MANAGED_USERS=1' \ 425 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 426 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 427 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 428 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 429 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 430 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 431 '-DVIDEO_HOLE=1' \ 432 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 433 '-DUSE_OPENSSL=1' \ 434 '-DUSE_OPENSSL_CERTS=1' \ 435 '-D__STDC_CONSTANT_MACROS' \ 436 '-D__STDC_FORMAT_MACROS' \ 437 '-DANDROID' \ 438 '-D__GNU_SOURCE=1' \ 439 '-DUSE_STLPORT=1' \ 440 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 441 '-DCHROME_BUILD_ID=""' \ 442 '-DNDEBUG' \ 443 '-DNVALGRIND' \ 444 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 445 '-D_FORTIFY_SOURCE=2' 446 447 448# Include paths placed before CFLAGS/CPPFLAGS 449LOCAL_C_INCLUDES_Release := \ 450 $(gyp_shared_intermediate_dir) \ 451 $(PWD)/frameworks/wilhelm/include \ 452 $(PWD)/bionic \ 453 $(PWD)/external/stlport/stlport 454 455 456# Flags passed to only C++ (and not C) files. 457LOCAL_CPPFLAGS_Release := \ 458 -fno-exceptions \ 459 -fno-rtti \ 460 -fno-threadsafe-statics \ 461 -fvisibility-inlines-hidden \ 462 -Wsign-compare \ 463 -std=gnu++11 \ 464 -Wno-narrowing \ 465 -Wno-literal-suffix \ 466 -Wno-non-virtual-dtor \ 467 -Wno-sign-promo 468 469 470LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 471LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 472LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 473LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 474### Rules for final target. 475# Add target alias to "gyp_all_modules" target. 476.PHONY: gyp_all_modules 477gyp_all_modules: android_webview_native_android_webview_native_jni_gyp 478 479# Alias gyp target name. 480.PHONY: android_webview_native_jni 481android_webview_native_jni: android_webview_native_android_webview_native_jni_gyp 482 483LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 484LOCAL_UNINSTALLABLE_MODULE := true 485LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 486 487include $(BUILD_SYSTEM)/base_rules.mk 488 489$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 490 $(hide) echo "Gyp timestamp: $@" 491 $(hide) mkdir -p $(dir $@) 492 $(hide) touch $@ 493 494LOCAL_2ND_ARCH_VAR_PREFIX := 495