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