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)	-fstack-protector \
694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	--param=ssp-buffer-size=4 \
704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Werror \
714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-strict-aliasing \
724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wall \
734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-unused-parameter \
744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-missing-field-initializers \
754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility=hidden \
764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-pipe \
774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fPIC \
78cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-Wno-unused-local-typedefs \
794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-tree-sra \
801320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-caller-saves \
811320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-Wno-psabi \
82cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-partial-inlining \
83cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-early-inlining \
84cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-tree-copy-prop \
85cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-tree-loop-optimize \
86cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-move-loop-invariants \
874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-funwind-tables \
894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fstack-protector \
914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-short-enums \
924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-finline-limit=64 \
934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wa,--noexecstack \
944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-U_FORTIFY_SOURCE \
954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-extra \
964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-ignored-qualifiers \
974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-type-limits \
985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-Wno-unused-but-set-variable \
994e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Os \
1004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
1011320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-gdwarf-4 \
1024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fdata-sections \
1035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-ffunction-sections \
104116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fomit-frame-pointer \
1055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-funwind-tables
1064e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1074e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Debug := \
108a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DV8_DEPRECATION_WARNINGS' \
1094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FILE_OFFSET_BITS=64' \
1104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNO_TCMALLOC' \
1114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDISABLE_NACL' \
1124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROMIUM_BUILD' \
1134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_LIBJPEG_TURBO=1' \
114e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	'-DENABLE_WEBRTC=1' \
1154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_PROPRIETARY_CODECS' \
116f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	'-DENABLE_BROWSER_CDMS' \
1174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_CONFIGURATION_POLICY' \
1181e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
1191e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
1204e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_EGLIMAGE=1' \
1214e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCLD_VERSION=1' \
122a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DENABLE_PRINTING=1' \
123f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)	'-DENABLE_MANAGED_USERS=1' \
124cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
1251320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
1261320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
127cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
128cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
1296d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
1300de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles)	'-DVIDEO_HOLE=1' \
1311320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
132a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	'-DUSE_OPENSSL=1' \
133effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch	'-DUSE_OPENSSL_CERTS=1' \
1344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_CONSTANT_MACROS' \
1354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_FORMAT_MACROS' \
1364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DANDROID' \
1374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__GNU_SOURCE=1' \
1384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_STLPORT=1' \
1394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
1404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROME_BUILD_ID=""' \
1414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
1424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
1434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_DEBUG'
1444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS
1474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Debug := \
148f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	$(gyp_shared_intermediate_dir) \
1494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/frameworks/wilhelm/include \
1504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/bionic \
1514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/external/stlport/stlport
1524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files.
1554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Debug := \
1561320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-exceptions \
1574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-rtti \
1584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-threadsafe-statics \
1594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility-inlines-hidden \
1604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wsign-compare \
1614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-abi \
162116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
163116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
164116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
1654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-non-virtual-dtor \
1664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-sign-promo
1674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files.
1704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Release := \
1714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fstack-protector \
1724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	--param=ssp-buffer-size=4 \
1734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Werror \
1744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-strict-aliasing \
1754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wall \
1764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-unused-parameter \
1774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-missing-field-initializers \
1784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility=hidden \
1794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-pipe \
1804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fPIC \
181cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-Wno-unused-local-typedefs \
1824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-tree-sra \
1831320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-caller-saves \
1841320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-Wno-psabi \
185cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-partial-inlining \
186cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-early-inlining \
187cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-tree-copy-prop \
188cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-tree-loop-optimize \
189cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-fno-move-loop-invariants \
1904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
1914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-funwind-tables \
1924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
1934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fstack-protector \
1944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-short-enums \
1954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-finline-limit=64 \
1964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wa,--noexecstack \
1974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-U_FORTIFY_SOURCE \
1984e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-extra \
1994e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-ignored-qualifiers \
2004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-type-limits \
2015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-Wno-unused-but-set-variable \
2024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Os \
2034e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-ident \
2044e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fdata-sections \
2054e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
2065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-fomit-frame-pointer \
2075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-funwind-tables
2084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Release := \
210a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DV8_DEPRECATION_WARNINGS' \
2114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FILE_OFFSET_BITS=64' \
2124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNO_TCMALLOC' \
2134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDISABLE_NACL' \
2144e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROMIUM_BUILD' \
2154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_LIBJPEG_TURBO=1' \
216e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	'-DENABLE_WEBRTC=1' \
2174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_PROPRIETARY_CODECS' \
218f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	'-DENABLE_BROWSER_CDMS' \
2194e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_CONFIGURATION_POLICY' \
2201e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
2211e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
2224e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_EGLIMAGE=1' \
2234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCLD_VERSION=1' \
224a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DENABLE_PRINTING=1' \
225f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)	'-DENABLE_MANAGED_USERS=1' \
226cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
2271320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
2281320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
229cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
230cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
2316d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
2320de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles)	'-DVIDEO_HOLE=1' \
2331320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
234a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	'-DUSE_OPENSSL=1' \
235effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch	'-DUSE_OPENSSL_CERTS=1' \
2364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_CONSTANT_MACROS' \
2374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_FORMAT_MACROS' \
2384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DANDROID' \
2394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__GNU_SOURCE=1' \
2404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_STLPORT=1' \
2414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
2424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROME_BUILD_ID=""' \
2434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNDEBUG' \
2444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNVALGRIND' \
2454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
2464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FORTIFY_SOURCE=2'
2474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS
2504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Release := \
251f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	$(gyp_shared_intermediate_dir) \
2524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/frameworks/wilhelm/include \
2534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/bionic \
2544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/external/stlport/stlport
2554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files.
2584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Release := \
2591320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-exceptions \
2604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-rtti \
2614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-threadsafe-statics \
2624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility-inlines-hidden \
2634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wsign-compare \
2644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-abi \
265116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
266116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
267116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
2684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-non-virtual-dtor \
2694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-sign-promo
2704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
2734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
2744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
275a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
2764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Rules for final target.
2774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Add target alias to "gyp_all_modules" target.
2784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gyp_all_modules
2794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_all_modules: ui_gfx_gfx_jni_headers_gyp
2804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Alias gyp target name.
2824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gfx_jni_headers
2834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx_jni_headers: ui_gfx_gfx_jni_headers_gyp
2844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
2864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_UNINSTALLABLE_MODULE := true
287c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
2884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)include $(BUILD_SYSTEM)/base_rules.mk
2904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
2924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) echo "Gyp timestamp: $@"
2934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) mkdir -p $(dir $@)
2944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) touch $@
295c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch
296c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX :=
297