14e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# This file is generated by gyp; do not edit. 24e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 34e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)include $(CLEAR_VARS) 44e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 54e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_CLASS := GYP 64e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE := ui_gfx_gfx_jni_headers_gyp 74e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_STEM := gfx_jni_headers 84e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_SUFFIX := .stamp 9c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps are built first. 146e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)GYP_TARGET_DEPENDENCIES := \ 156e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) $(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp 164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 184e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Generated for rule "ui_gfx_gfx_gyp_gfx_jni_headers_target_generate_jni_headers": 196e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# "{'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)/ui/gfx/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/ui/gfx/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)'}": 204e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 21010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 224e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 266e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) mkdir -p $(gyp_shared_intermediate_dir)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/BitmapHelper.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/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 274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_local_path := $(LOCAL_PATH) 30010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 356e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) mkdir -p $(gyp_shared_intermediate_dir)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/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 364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 38a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 39010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 40a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 41a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 42a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 43a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 446e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) mkdir -p $(gyp_shared_intermediate_dir)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/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 45a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 46a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_GENERATED_OUTPUTS := \ 494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 50a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 51a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps and generated files are built first. 544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_GENERATED_SOURCES := \ 574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 59c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_COPIED_SOURCE_ORIGIN_DIRS := 624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_SRC_FILES := 644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files. 674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Debug := \ 684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) --param=ssp-buffer-size=4 \ 694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Werror \ 704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-strict-aliasing \ 714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wall \ 724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-unused-parameter \ 734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-missing-field-initializers \ 744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility=hidden \ 754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -pipe \ 764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fPIC \ 77cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) -Wno-unused-local-typedefs \ 784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -msse2 \ 794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -mfpmath=sse \ 80a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -mmmx \ 81a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -m32 \ 824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -funwind-tables \ 844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-short-enums \ 864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -finline-limit=64 \ 874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wa,--noexecstack \ 884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -U_FORTIFY_SOURCE \ 894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-extra \ 904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-ignored-qualifiers \ 914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-type-limits \ 925d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-stack-protector \ 944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Os \ 954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 961320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -gdwarf-4 \ 974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fdata-sections \ 985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 99116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -fomit-frame-pointer \ 1005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1014e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Debug := \ 103a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 1044e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 1054e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNO_TCMALLOC' \ 1064e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDISABLE_NACL' \ 1074e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROMIUM_BUILD' \ 1084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 109e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch '-DENABLE_WEBRTC=1' \ 1104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 111f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 1124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 1131e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 1141e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 1154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 1164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCLD_VERSION=1' \ 117a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 118f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 119cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 1201320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 1211320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 122cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 123cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 1246d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 1250de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles) '-DVIDEO_HOLE=1' \ 1261320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 127a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 128effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 1294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 1304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 1314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DANDROID' \ 1324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__GNU_SOURCE=1' \ 1334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_STLPORT=1' \ 1344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 1354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 1364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 1374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 1384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_DEBUG' 1394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 1424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Debug := \ 143f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 1444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 1454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/bionic \ 1464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/external/stlport/stlport 1474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files. 1504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Debug := \ 1511320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -fno-exceptions \ 1524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-rtti \ 1534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-threadsafe-statics \ 1544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility-inlines-hidden \ 1554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wsign-compare \ 156116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -std=gnu++11 \ 157116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-narrowing \ 158116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-literal-suffix \ 1594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-non-virtual-dtor \ 1604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-sign-promo 1614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files. 1644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Release := \ 1654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) --param=ssp-buffer-size=4 \ 1664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Werror \ 1674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-strict-aliasing \ 1684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wall \ 1694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-unused-parameter \ 1704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-missing-field-initializers \ 1714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility=hidden \ 1724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -pipe \ 1734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fPIC \ 174cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) -Wno-unused-local-typedefs \ 1754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -msse2 \ 1764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -mfpmath=sse \ 177a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -mmmx \ 178a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -m32 \ 1794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 1804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -funwind-tables \ 1814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 1824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-short-enums \ 1834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -finline-limit=64 \ 1844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wa,--noexecstack \ 1854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -U_FORTIFY_SOURCE \ 1864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-extra \ 1874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-ignored-qualifiers \ 1884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-type-limits \ 1895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 1904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-stack-protector \ 1914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Os \ 1924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-ident \ 1934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fdata-sections \ 1944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 1954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fomit-frame-pointer \ 1965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1984e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Release := \ 199a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 2004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 2014e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNO_TCMALLOC' \ 2024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDISABLE_NACL' \ 2034e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROMIUM_BUILD' \ 2044e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 205e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch '-DENABLE_WEBRTC=1' \ 2064e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 207f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 2084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 2091e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 2101e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 2114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 2124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCLD_VERSION=1' \ 213a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 214f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 215cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 2161320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 2171320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 218cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 219cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 2206d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 2210de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles) '-DVIDEO_HOLE=1' \ 2221320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 223a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 224effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 2254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 2264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 2274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DANDROID' \ 2284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__GNU_SOURCE=1' \ 2294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_STLPORT=1' \ 2304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 2314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 2324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNDEBUG' \ 2334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNVALGRIND' \ 2344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 2354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FORTIFY_SOURCE=2' 2364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 2394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Release := \ 240f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 2414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 2424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/bionic \ 2434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/external/stlport/stlport 2444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files. 2474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Release := \ 2481320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -fno-exceptions \ 2494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-rtti \ 2504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-threadsafe-statics \ 2514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility-inlines-hidden \ 2524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wsign-compare \ 253116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -std=gnu++11 \ 254116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-narrowing \ 255116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-literal-suffix \ 2564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-non-virtual-dtor \ 2574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-sign-promo 2584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 2614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 2624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 263a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 2644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Rules for final target. 2654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Add target alias to "gyp_all_modules" target. 2664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gyp_all_modules 2674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_all_modules: ui_gfx_gfx_jni_headers_gyp 2684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Alias gyp target name. 2704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gfx_jni_headers 2714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx_jni_headers: ui_gfx_gfx_jni_headers_gyp 2724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 2744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_UNINSTALLABLE_MODULE := true 275c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 2764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)include $(BUILD_SYSTEM)/base_rules.mk 2784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 2804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) echo "Gyp timestamp: $@" 2814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) mkdir -p $(dir $@) 2824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) touch $@ 283c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 284c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX := 285