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