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 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 11 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 12 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 13 14 # Make sure our deps are built first. 15 GYP_TARGET_DEPENDENCIES := \ 16 $(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp 17 18 19 ### Generated for rule "net_net_gyp_net_jni_headers_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)/net/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/net/AndroidCertVerifyResult.java', 'android/java/src/org/chromium/net/AndroidKeyStore.java', 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', 'android/java/src/org/chromium/net/AndroidPrivateKey.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', 'android/java/src/org/chromium/net/X509Util.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/net/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)/net/jni/AndroidCertVerifyResult_jni.h: gyp_local_path := $(LOCAL_PATH) 22 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 23 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 25 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 26 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidCertVerifyResult.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidCertVerifyResult.java --output_dir "$(gyp_shared_intermediate_dir)/net/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)/net/jni/AndroidKeyStore_jni.h: gyp_local_path := $(LOCAL_PATH) 31 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 32 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 33 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 34 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 35 $(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) 36 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" --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)/net/jni/AndroidNetworkLibrary_jni.h: gyp_local_path := $(LOCAL_PATH) 40 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 41 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 42 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 43 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 44 $(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) 45 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" --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)/net/jni/AndroidPrivateKey_jni.h: gyp_local_path := $(LOCAL_PATH) 49 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 50 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 51 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 52 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 53 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidPrivateKey.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/AndroidPrivateKey.java --output_dir "$(gyp_shared_intermediate_dir)/net/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)/net/jni/GURLUtils_jni.h: gyp_local_path := $(LOCAL_PATH) 58 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 59 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 60 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 61 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 62 $(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) 63 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" --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)/net/jni/NetworkChangeNotifier_jni.h: gyp_local_path := $(LOCAL_PATH) 67 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 68 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 69 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 70 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 71 $(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) 72 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" --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)/net/jni/ProxyChangeListener_jni.h: gyp_local_path := $(LOCAL_PATH) 76 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 77 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 78 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 79 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 80 $(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) 81 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" --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)/net/jni/X509Util_jni.h: gyp_local_path := $(LOCAL_PATH) 85 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 86 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 87 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 88 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 89 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/X509Util.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)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/X509Util.java --output_dir "$(gyp_shared_intermediate_dir)/net/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 94 GYP_GENERATED_OUTPUTS := \ 95 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h \ 96 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \ 97 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \ 98 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h \ 99 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \ 100 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \ 101 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h \ 102 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h 103 104 # Make sure our deps and generated files are built first. 105 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 106 107 LOCAL_GENERATED_SOURCES := \ 108 $(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h \ 109 $(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \ 110 $(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \ 111 $(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h \ 112 $(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \ 113 $(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \ 114 $(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h \ 115 $(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h 116 117 GYP_COPIED_SOURCE_ORIGIN_DIRS := 118 119 LOCAL_SRC_FILES := 120 121 122 # Flags passed to both C and C++ files. 123 MY_CFLAGS_Debug := \ 124 -fstack-protector \ 125 --param=ssp-buffer-size=4 \ 126 -Werror \ 127 -fno-exceptions \ 128 -fno-strict-aliasing \ 129 -Wall \ 130 -Wno-unused-parameter \ 131 -Wno-missing-field-initializers \ 132 -fvisibility=hidden \ 133 -pipe \ 134 -fPIC \ 135 -Wno-unused-local-typedefs \ 136 -fno-tree-sra \ 137 -fno-partial-inlining \ 138 -fno-early-inlining \ 139 -fno-tree-copy-prop \ 140 -fno-tree-loop-optimize \ 141 -fno-move-loop-invariants \ 142 -fno-caller-saves \ 143 -Wno-psabi \ 144 -ffunction-sections \ 145 -funwind-tables \ 146 -g \ 147 -fstack-protector \ 148 -fno-short-enums \ 149 -finline-limit=64 \ 150 -Wa,--noexecstack \ 151 -U_FORTIFY_SOURCE \ 152 -Wno-extra \ 153 -Wno-ignored-qualifiers \ 154 -Wno-type-limits \ 155 -Wno-unused-but-set-variable \ 156 -Os \ 157 -g \ 158 -fdata-sections \ 159 -ffunction-sections \ 160 -fomit-frame-pointer \ 161 -funwind-tables 162 163 MY_DEFS_Debug := \ 164 '-DV8_DEPRECATION_WARNINGS' \ 165 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 166 '-D_FILE_OFFSET_BITS=64' \ 167 '-DNO_TCMALLOC' \ 168 '-DDISABLE_NACL' \ 169 '-DCHROMIUM_BUILD' \ 170 '-DUSE_LIBJPEG_TURBO=1' \ 171 '-DENABLE_WEBRTC=1' \ 172 '-DUSE_PROPRIETARY_CODECS' \ 173 '-DENABLE_BROWSER_CDMS' \ 174 '-DENABLE_CONFIGURATION_POLICY' \ 175 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 176 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 177 '-DENABLE_EGLIMAGE=1' \ 178 '-DCLD_VERSION=1' \ 179 '-DENABLE_PRINTING=1' \ 180 '-DENABLE_MANAGED_USERS=1' \ 181 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 182 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 183 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 184 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 185 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 186 '-DVIDEO_HOLE=1' \ 187 '-DUSE_OPENSSL=1' \ 188 '-DUSE_OPENSSL_CERTS=1' \ 189 '-D__STDC_CONSTANT_MACROS' \ 190 '-D__STDC_FORMAT_MACROS' \ 191 '-DANDROID' \ 192 '-D__GNU_SOURCE=1' \ 193 '-DUSE_STLPORT=1' \ 194 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 195 '-DCHROME_BUILD_ID=""' \ 196 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 197 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 198 '-D_DEBUG' 199 200 201 # Include paths placed before CFLAGS/CPPFLAGS 202 LOCAL_C_INCLUDES_Debug := \ 203 $(gyp_shared_intermediate_dir) \ 204 $(PWD)/frameworks/wilhelm/include \ 205 $(PWD)/bionic \ 206 $(PWD)/external/stlport/stlport 207 208 209 # Flags passed to only C++ (and not C) files. 210 LOCAL_CPPFLAGS_Debug := \ 211 -fno-rtti \ 212 -fno-threadsafe-statics \ 213 -fvisibility-inlines-hidden \ 214 -Wsign-compare \ 215 -Wno-abi \ 216 -Wno-non-virtual-dtor \ 217 -Wno-sign-promo 218 219 220 LOCAL_FDO_SUPPORT_Debug := false 221 222 # Flags passed to both C and C++ files. 223 MY_CFLAGS_Release := \ 224 -fstack-protector \ 225 --param=ssp-buffer-size=4 \ 226 -Werror \ 227 -fno-exceptions \ 228 -fno-strict-aliasing \ 229 -Wall \ 230 -Wno-unused-parameter \ 231 -Wno-missing-field-initializers \ 232 -fvisibility=hidden \ 233 -pipe \ 234 -fPIC \ 235 -Wno-unused-local-typedefs \ 236 -fno-tree-sra \ 237 -fno-partial-inlining \ 238 -fno-early-inlining \ 239 -fno-tree-copy-prop \ 240 -fno-tree-loop-optimize \ 241 -fno-move-loop-invariants \ 242 -fno-caller-saves \ 243 -Wno-psabi \ 244 -ffunction-sections \ 245 -funwind-tables \ 246 -g \ 247 -fstack-protector \ 248 -fno-short-enums \ 249 -finline-limit=64 \ 250 -Wa,--noexecstack \ 251 -U_FORTIFY_SOURCE \ 252 -Wno-extra \ 253 -Wno-ignored-qualifiers \ 254 -Wno-type-limits \ 255 -Wno-unused-but-set-variable \ 256 -Os \ 257 -fno-ident \ 258 -fdata-sections \ 259 -ffunction-sections \ 260 -fomit-frame-pointer \ 261 -funwind-tables 262 263 MY_DEFS_Release := \ 264 '-DV8_DEPRECATION_WARNINGS' \ 265 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 266 '-D_FILE_OFFSET_BITS=64' \ 267 '-DNO_TCMALLOC' \ 268 '-DDISABLE_NACL' \ 269 '-DCHROMIUM_BUILD' \ 270 '-DUSE_LIBJPEG_TURBO=1' \ 271 '-DENABLE_WEBRTC=1' \ 272 '-DUSE_PROPRIETARY_CODECS' \ 273 '-DENABLE_BROWSER_CDMS' \ 274 '-DENABLE_CONFIGURATION_POLICY' \ 275 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 276 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 277 '-DENABLE_EGLIMAGE=1' \ 278 '-DCLD_VERSION=1' \ 279 '-DENABLE_PRINTING=1' \ 280 '-DENABLE_MANAGED_USERS=1' \ 281 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 282 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 283 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 284 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 285 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 286 '-DVIDEO_HOLE=1' \ 287 '-DUSE_OPENSSL=1' \ 288 '-DUSE_OPENSSL_CERTS=1' \ 289 '-D__STDC_CONSTANT_MACROS' \ 290 '-D__STDC_FORMAT_MACROS' \ 291 '-DANDROID' \ 292 '-D__GNU_SOURCE=1' \ 293 '-DUSE_STLPORT=1' \ 294 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 295 '-DCHROME_BUILD_ID=""' \ 296 '-DNDEBUG' \ 297 '-DNVALGRIND' \ 298 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 299 '-D_FORTIFY_SOURCE=2' 300 301 302 # Include paths placed before CFLAGS/CPPFLAGS 303 LOCAL_C_INCLUDES_Release := \ 304 $(gyp_shared_intermediate_dir) \ 305 $(PWD)/frameworks/wilhelm/include \ 306 $(PWD)/bionic \ 307 $(PWD)/external/stlport/stlport 308 309 310 # Flags passed to only C++ (and not C) files. 311 LOCAL_CPPFLAGS_Release := \ 312 -fno-rtti \ 313 -fno-threadsafe-statics \ 314 -fvisibility-inlines-hidden \ 315 -Wsign-compare \ 316 -Wno-abi \ 317 -Wno-non-virtual-dtor \ 318 -Wno-sign-promo 319 320 321 LOCAL_FDO_SUPPORT_Release := false 322 323 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 324 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 325 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 326 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 327 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 328 ### Rules for final target. 329 # Add target alias to "gyp_all_modules" target. 330 .PHONY: gyp_all_modules 331 gyp_all_modules: net_net_jni_headers_gyp 332 333 # Alias gyp target name. 334 .PHONY: net_jni_headers 335 net_jni_headers: net_net_jni_headers_gyp 336 337 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 338 LOCAL_UNINSTALLABLE_MODULE := true 339 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 340 341 include $(BUILD_SYSTEM)/base_rules.mk 342 343 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 344 $(hide) echo "Gyp timestamp: $@" 345 $(hide) mkdir -p $(dir $@) 346 $(hide) touch $@ 347 348 LOCAL_2ND_ARCH_VAR_PREFIX := 349