gfx_jni_headers.target.linux-x86.mk revision 6e8cce623b6e4fe0c9e4af605d675dd9d0338c38
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
94e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_TAGS := optional
10c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
12c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
144e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps are built first.
156e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)GYP_TARGET_DEPENDENCIES := \
166e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)	$(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp
174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
184e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
194e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Generated for rule "ui_gfx_gfx_gyp_gfx_jni_headers_target_generate_jni_headers":
206e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (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)'}":
214e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_local_path := $(LOCAL_PATH)
22010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (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)
276e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (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
284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_local_path := $(LOCAL_PATH)
31010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (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)
366e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (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
374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
39a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_local_path := $(LOCAL_PATH)
40010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
41a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
42a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
43a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
44a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (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)
456e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (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
46a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
47a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_GENERATED_OUTPUTS := \
504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \
51a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \
52a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h
534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps and generated files are built first.
554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_GENERATED_SOURCES := \
584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \
594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \
60c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch	$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h
614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_COPIED_SOURCE_ORIGIN_DIRS :=
634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_SRC_FILES :=
654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files.
684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Debug := \
694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	--param=ssp-buffer-size=4 \
704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Werror \
714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-exceptions \
724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-strict-aliasing \
734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wall \
744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-unused-parameter \
754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-missing-field-initializers \
764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility=hidden \
774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-pipe \
784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fPIC \
79cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-Wno-unused-local-typedefs \
804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-msse2 \
814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-mfpmath=sse \
82a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	-mmmx \
83a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	-m32 \
844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-funwind-tables \
864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-short-enums \
884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-finline-limit=64 \
894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wa,--noexecstack \
904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-U_FORTIFY_SOURCE \
914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-extra \
924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-ignored-qualifiers \
934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-type-limits \
945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-Wno-unused-but-set-variable \
954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-stack-protector \
964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Os \
974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
984e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fdata-sections \
995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-ffunction-sections \
100116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fomit-frame-pointer \
1015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-funwind-tables
1024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1034e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Debug := \
104a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DV8_DEPRECATION_WARNINGS' \
1054e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FILE_OFFSET_BITS=64' \
1064e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNO_TCMALLOC' \
1074e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDISABLE_NACL' \
1084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROMIUM_BUILD' \
1094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_LIBJPEG_TURBO=1' \
110e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	'-DENABLE_WEBRTC=1' \
1114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_PROPRIETARY_CODECS' \
112f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	'-DENABLE_BROWSER_CDMS' \
1134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_CONFIGURATION_POLICY' \
1141e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
1151e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
1164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_EGLIMAGE=1' \
1174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCLD_VERSION=1' \
118a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DENABLE_PRINTING=1' \
119f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)	'-DENABLE_MANAGED_USERS=1' \
120cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
121cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_DEV_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' \
126a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	'-DUSE_OPENSSL=1' \
127effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch	'-DUSE_OPENSSL_CERTS=1' \
1284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_CONSTANT_MACROS' \
1294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_FORMAT_MACROS' \
1304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DANDROID' \
1314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__GNU_SOURCE=1' \
1324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_STLPORT=1' \
1334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
1344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROME_BUILD_ID=""' \
1354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
1364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
1374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_DEBUG'
1384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS
1414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Debug := \
142f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	$(gyp_shared_intermediate_dir) \
1434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/frameworks/wilhelm/include \
1444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/bionic \
1454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/external/stlport/stlport
1464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files.
1494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Debug := \
1504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-rtti \
1514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-threadsafe-statics \
1524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility-inlines-hidden \
1534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wsign-compare \
154116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
155116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
156116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
1574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-non-virtual-dtor \
1584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-sign-promo
1594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files.
1624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Release := \
1634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	--param=ssp-buffer-size=4 \
1644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Werror \
1654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-exceptions \
1664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-strict-aliasing \
1674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wall \
1684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-unused-parameter \
1694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-missing-field-initializers \
1704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility=hidden \
1714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-pipe \
1724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fPIC \
173cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	-Wno-unused-local-typedefs \
1744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-msse2 \
1754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-mfpmath=sse \
176a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	-mmmx \
177a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	-m32 \
1784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
1794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-funwind-tables \
1804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-g \
1814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-short-enums \
1824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-finline-limit=64 \
1834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wa,--noexecstack \
1844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-U_FORTIFY_SOURCE \
1854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-extra \
1864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-ignored-qualifiers \
1874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-type-limits \
1885d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-Wno-unused-but-set-variable \
1894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-stack-protector \
1904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Os \
1914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-ident \
1924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fdata-sections \
1934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-ffunction-sections \
1944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fomit-frame-pointer \
1955d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)	-funwind-tables
1964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
1974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Release := \
198a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DV8_DEPRECATION_WARNINGS' \
1994e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FILE_OFFSET_BITS=64' \
2004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNO_TCMALLOC' \
2014e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDISABLE_NACL' \
2024e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROMIUM_BUILD' \
2034e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_LIBJPEG_TURBO=1' \
204e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	'-DENABLE_WEBRTC=1' \
2054e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_PROPRIETARY_CODECS' \
206f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	'-DENABLE_BROWSER_CDMS' \
2074e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_CONFIGURATION_POLICY' \
2081e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
2091e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
2104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DENABLE_EGLIMAGE=1' \
2114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCLD_VERSION=1' \
212a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)	'-DENABLE_PRINTING=1' \
213f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)	'-DENABLE_MANAGED_USERS=1' \
214cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
215cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
216cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
217cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
2186d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles)	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
2190de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles)	'-DVIDEO_HOLE=1' \
220a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)	'-DUSE_OPENSSL=1' \
221effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch	'-DUSE_OPENSSL_CERTS=1' \
2224e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_CONSTANT_MACROS' \
2234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__STDC_FORMAT_MACROS' \
2244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DANDROID' \
2254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D__GNU_SOURCE=1' \
2264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DUSE_STLPORT=1' \
2274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
2284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DCHROME_BUILD_ID=""' \
2294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNDEBUG' \
2304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DNVALGRIND' \
2314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
2324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	'-D_FORTIFY_SOURCE=2'
2334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS
2364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Release := \
237f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)	$(gyp_shared_intermediate_dir) \
2384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/frameworks/wilhelm/include \
2394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/bionic \
2404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(PWD)/external/stlport/stlport
2414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files.
2444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Release := \
2454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-rtti \
2464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fno-threadsafe-statics \
2474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-fvisibility-inlines-hidden \
2484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wsign-compare \
249116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
250116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
251116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
2524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-non-virtual-dtor \
2534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	-Wno-sign-promo
2544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
2574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
2584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
259a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
2604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Rules for final target.
2614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Add target alias to "gyp_all_modules" target.
2624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gyp_all_modules
2634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_all_modules: ui_gfx_gfx_jni_headers_gyp
2644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Alias gyp target name.
2664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gfx_jni_headers
2674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx_jni_headers: ui_gfx_gfx_jni_headers_gyp
2684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
2704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_UNINSTALLABLE_MODULE := true
271c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
2724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)include $(BUILD_SYSTEM)/base_rules.mk
2744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
2754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
2764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) echo "Gyp timestamp: $@"
2774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) mkdir -p $(dir $@)
2784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)	$(hide) touch $@
279c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch
280c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX :=
281