1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := net_net_jni_headers_gyp 7 LOCAL_MODULE_STEM := net_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 "net_net_gyp_net_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)/net/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/net/AndroidKeyStore.java', 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', 'android/java/src/org/chromium/net/GURLUtils.java', 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', 'android/java/src/org/chromium/net/ProxyChangeListener.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/net/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 19 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidKeyStore.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidKeyStore.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt 25 26 .PHONY: net_net_jni_headers_gyp_rule_trigger 27 net_net_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h 28 29 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_local_path := $(LOCAL_PATH) 30 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 31 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 32 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 33 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidNetworkLibrary.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidNetworkLibrary.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt 35 36 .PHONY: net_net_jni_headers_gyp_rule_trigger 37 net_net_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h 38 39 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_local_path := $(LOCAL_PATH) 40 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 41 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 42 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 43 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/GURLUtils.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/GURLUtils.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt 45 46 .PHONY: net_net_jni_headers_gyp_rule_trigger 47 net_net_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h 48 49 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_local_path := $(LOCAL_PATH) 50 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 51 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 52 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 53 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/NetworkChangeNotifier.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/NetworkChangeNotifier.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt 55 56 .PHONY: net_net_jni_headers_gyp_rule_trigger 57 net_net_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h 58 59 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_local_path := $(LOCAL_PATH) 60 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 61 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 62 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 63 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/ProxyChangeListener.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/ProxyChangeListener.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt 65 66 .PHONY: net_net_jni_headers_gyp_rule_trigger 67 net_net_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h 68 69 ### Finished generating for all rules 70 71 GYP_GENERATED_OUTPUTS := \ 72 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \ 73 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \ 74 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \ 75 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \ 76 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h 77 78 # Make sure our deps and generated files are built first. 79 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 80 81 LOCAL_GENERATED_SOURCES := \ 82 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \ 83 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \ 84 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \ 85 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \ 86 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h \ 87 net_net_jni_headers_gyp_rule_trigger 88 89 GYP_COPIED_SOURCE_ORIGIN_DIRS := 90 91 LOCAL_SRC_FILES := 92 93 94 # Flags passed to both C and C++ files. 95 MY_CFLAGS_Debug := \ 96 -fstack-protector \ 97 --param=ssp-buffer-size=4 \ 98 \ 99 -fno-exceptions \ 100 -fno-strict-aliasing \ 101 -Wall \ 102 -Wno-unused-parameter \ 103 -Wno-missing-field-initializers \ 104 -fvisibility=hidden \ 105 -pipe \ 106 -fPIC \ 107 -EL \ 108 -mhard-float \ 109 -ffunction-sections \ 110 -funwind-tables \ 111 -g \ 112 -fstack-protector \ 113 -fno-short-enums \ 114 -finline-limit=64 \ 115 -Wa,--noexecstack \ 116 -U_FORTIFY_SOURCE \ 117 -Wno-extra \ 118 -Wno-ignored-qualifiers \ 119 -Wno-type-limits \ 120 -Os \ 121 -g \ 122 -fomit-frame-pointer \ 123 -fdata-sections \ 124 -ffunction-sections 125 126 MY_DEFS_Debug := \ 127 '-DANGLE_DX11' \ 128 '-D_FILE_OFFSET_BITS=64' \ 129 '-DNO_TCMALLOC' \ 130 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 131 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 132 '-DDISABLE_NACL' \ 133 '-DCHROMIUM_BUILD' \ 134 '-DUSE_LIBJPEG_TURBO=1' \ 135 '-DUSE_PROPRIETARY_CODECS' \ 136 '-DENABLE_CONFIGURATION_POLICY' \ 137 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 138 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 139 '-DENABLE_GPU=1' \ 140 '-DUSE_OPENSSL=1' \ 141 '-DENABLE_EGLIMAGE=1' \ 142 '-DENABLE_PRINTING=1' \ 143 '-D__STDC_CONSTANT_MACROS' \ 144 '-D__STDC_FORMAT_MACROS' \ 145 '-DANDROID' \ 146 '-D__GNU_SOURCE=1' \ 147 '-DUSE_STLPORT=1' \ 148 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 149 '-DCHROME_BUILD_ID=""' \ 150 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 151 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 152 '-D_DEBUG' 153 154 155 # Include paths placed before CFLAGS/CPPFLAGS 156 LOCAL_C_INCLUDES_Debug := \ 157 $(PWD)/frameworks/wilhelm/include \ 158 $(PWD)/bionic \ 159 $(PWD)/external/stlport/stlport 160 161 162 # Flags passed to only C++ (and not C) files. 163 LOCAL_CPPFLAGS_Debug := \ 164 -fno-rtti \ 165 -fno-threadsafe-statics \ 166 -fvisibility-inlines-hidden \ 167 -Wsign-compare \ 168 -Wno-uninitialized \ 169 -Wno-error=c++0x-compat \ 170 -Wno-non-virtual-dtor \ 171 -Wno-sign-promo 172 173 174 # Flags passed to both C and C++ files. 175 MY_CFLAGS_Release := \ 176 -fstack-protector \ 177 --param=ssp-buffer-size=4 \ 178 \ 179 -fno-exceptions \ 180 -fno-strict-aliasing \ 181 -Wall \ 182 -Wno-unused-parameter \ 183 -Wno-missing-field-initializers \ 184 -fvisibility=hidden \ 185 -pipe \ 186 -fPIC \ 187 -EL \ 188 -mhard-float \ 189 -ffunction-sections \ 190 -funwind-tables \ 191 -g \ 192 -fstack-protector \ 193 -fno-short-enums \ 194 -finline-limit=64 \ 195 -Wa,--noexecstack \ 196 -U_FORTIFY_SOURCE \ 197 -Wno-extra \ 198 -Wno-ignored-qualifiers \ 199 -Wno-type-limits \ 200 -Os \ 201 -fno-ident \ 202 -fdata-sections \ 203 -ffunction-sections \ 204 -fomit-frame-pointer 205 206 MY_DEFS_Release := \ 207 '-DANGLE_DX11' \ 208 '-D_FILE_OFFSET_BITS=64' \ 209 '-DNO_TCMALLOC' \ 210 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 211 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 212 '-DDISABLE_NACL' \ 213 '-DCHROMIUM_BUILD' \ 214 '-DUSE_LIBJPEG_TURBO=1' \ 215 '-DUSE_PROPRIETARY_CODECS' \ 216 '-DENABLE_CONFIGURATION_POLICY' \ 217 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 218 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 219 '-DENABLE_GPU=1' \ 220 '-DUSE_OPENSSL=1' \ 221 '-DENABLE_EGLIMAGE=1' \ 222 '-DENABLE_PRINTING=1' \ 223 '-D__STDC_CONSTANT_MACROS' \ 224 '-D__STDC_FORMAT_MACROS' \ 225 '-DANDROID' \ 226 '-D__GNU_SOURCE=1' \ 227 '-DUSE_STLPORT=1' \ 228 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 229 '-DCHROME_BUILD_ID=""' \ 230 '-DNDEBUG' \ 231 '-DNVALGRIND' \ 232 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 233 '-D_FORTIFY_SOURCE=2' 234 235 236 # Include paths placed before CFLAGS/CPPFLAGS 237 LOCAL_C_INCLUDES_Release := \ 238 $(PWD)/frameworks/wilhelm/include \ 239 $(PWD)/bionic \ 240 $(PWD)/external/stlport/stlport 241 242 243 # Flags passed to only C++ (and not C) files. 244 LOCAL_CPPFLAGS_Release := \ 245 -fno-rtti \ 246 -fno-threadsafe-statics \ 247 -fvisibility-inlines-hidden \ 248 -Wsign-compare \ 249 -Wno-uninitialized \ 250 -Wno-error=c++0x-compat \ 251 -Wno-non-virtual-dtor \ 252 -Wno-sign-promo 253 254 255 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 256 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 257 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 258 ### Rules for final target. 259 # Add target alias to "gyp_all_modules" target. 260 .PHONY: gyp_all_modules 261 gyp_all_modules: net_net_jni_headers_gyp 262 263 # Alias gyp target name. 264 .PHONY: net_jni_headers 265 net_jni_headers: net_net_jni_headers_gyp 266 267 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 268 LOCAL_UNINSTALLABLE_MODULE := true 269 270 include $(BUILD_SYSTEM)/base_rules.mk 271 272 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 273 $(hide) echo "Gyp timestamp: $@" 274 $(hide) mkdir -p $(dir $@) 275 $(hide) touch $@ 276