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