gfx_jni_headers.target.darwin-arm.mk revision effb81e5f8246d0db0270817048dc992db66e9fb
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 104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_intermediate_dir := $(call local-intermediates-dir) 114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps are built first. 14a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)GYP_TARGET_DEPENDENCIES := 154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Generated for rule "ui_gfx_gfx_gyp_gfx_jni_headers_target_generate_jni_headers": 18a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (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'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 194e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 204e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 214e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 224e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (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) 245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (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 254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: ui_gfx_gfx_jni_headers_gyp_rule_trigger 274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)ui_gfx_gfx_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h 284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_local_path := $(LOCAL_PATH) 304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (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) 345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (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 354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: ui_gfx_gfx_jni_headers_gyp_rule_trigger 374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)ui_gfx_gfx_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h 384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 39a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 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) 44a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (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 45a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 46a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles).PHONY: ui_gfx_gfx_jni_headers_gyp_rule_trigger 47a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)ui_gfx_gfx_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 48a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Finished generating for all rules 504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_GENERATED_OUTPUTS := \ 524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 53a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 54a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Make sure our deps and generated files are built first. 574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_GENERATED_SOURCES := \ 604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 62a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h \ 634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) ui_gfx_gfx_jni_headers_gyp_rule_trigger 644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)GYP_COPIED_SOURCE_ORIGIN_DIRS := 664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_SRC_FILES := 684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files. 714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Debug := \ 724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fstack-protector \ 734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) --param=ssp-buffer-size=4 \ 744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Werror \ 754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-exceptions \ 764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-strict-aliasing \ 774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wall \ 784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-unused-parameter \ 794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-missing-field-initializers \ 804e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility=hidden \ 814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -pipe \ 824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fPIC \ 834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-tree-sra \ 844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fuse-ld=gold \ 854e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-psabi \ 864e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -funwind-tables \ 884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 894e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fstack-protector \ 904e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-short-enums \ 914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -finline-limit=64 \ 924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wa,--noexecstack \ 934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -U_FORTIFY_SOURCE \ 944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-extra \ 954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-ignored-qualifiers \ 964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-type-limits \ 975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 984e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Os \ 994e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 1004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fomit-frame-pointer \ 1014e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fdata-sections \ 1025d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 1035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1044e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1054e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Debug := \ 106a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 107a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 1084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 1094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNO_TCMALLOC' \ 1104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDISABLE_NACL' \ 1114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROMIUM_BUILD' \ 1124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 1134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 1144e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 1151e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 1161e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 1174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 1184e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCLD_VERSION=1' \ 119a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 120f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 121a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 122effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 1234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 1244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 1254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DANDROID' \ 1264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__GNU_SOURCE=1' \ 1274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_STLPORT=1' \ 1284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 1294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 1304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 1314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 1324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_DEBUG' 1334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 1364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Debug := \ 1374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 1384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/bionic \ 1394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/external/stlport/stlport 1404e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files. 1434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Debug := \ 1444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-rtti \ 1454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-threadsafe-statics \ 1464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility-inlines-hidden \ 1474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wsign-compare \ 1484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-abi \ 1494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-non-virtual-dtor \ 1504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-sign-promo 1514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to both C and C++ files. 1544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_CFLAGS_Release := \ 1554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fstack-protector \ 1564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) --param=ssp-buffer-size=4 \ 1574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Werror \ 1584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-exceptions \ 1594e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-strict-aliasing \ 1604e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wall \ 1614e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-unused-parameter \ 1624e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-missing-field-initializers \ 1634e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility=hidden \ 1644e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -pipe \ 1654e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fPIC \ 1664e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-tree-sra \ 1674e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fuse-ld=gold \ 1684e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-psabi \ 1694e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 1704e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -funwind-tables \ 1714e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -g \ 1724e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fstack-protector \ 1734e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-short-enums \ 1744e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -finline-limit=64 \ 1754e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wa,--noexecstack \ 1764e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -U_FORTIFY_SOURCE \ 1774e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-extra \ 1784e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-ignored-qualifiers \ 1794e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-type-limits \ 1805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 1814e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Os \ 1824e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-ident \ 1834e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fdata-sections \ 1844e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -ffunction-sections \ 1855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fomit-frame-pointer \ 1865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1874e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 1884e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)MY_DEFS_Release := \ 189a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 190a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 1914e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 1924e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNO_TCMALLOC' \ 1934e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDISABLE_NACL' \ 1944e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROMIUM_BUILD' \ 1954e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 1964e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 1974e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 1981e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 1991e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 2004e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 2014e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCLD_VERSION=1' \ 202a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 203f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 204a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 205effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 2064e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 2074e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 2084e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DANDROID' \ 2094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D__GNU_SOURCE=1' \ 2104e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DUSE_STLPORT=1' \ 2114e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 2124e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 2134e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNDEBUG' \ 2144e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DNVALGRIND' \ 2154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 2164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) '-D_FORTIFY_SOURCE=2' 2174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2184e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2194e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 2204e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES_Release := \ 2214e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 2224e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/bionic \ 2234e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(PWD)/external/stlport/stlport 2244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2254e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2264e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Flags passed to only C++ (and not C) files. 2274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS_Release := \ 2284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-rtti \ 2294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fno-threadsafe-statics \ 2304e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -fvisibility-inlines-hidden \ 2314e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wsign-compare \ 2324e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-abi \ 2334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-non-virtual-dtor \ 2344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) -Wno-sign-promo 2354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2374e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 2384e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 2394e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 240a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 2414e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)### Rules for final target. 2424e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Add target alias to "gyp_all_modules" target. 2434e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gyp_all_modules 2444e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gyp_all_modules: ui_gfx_gfx_jni_headers_gyp 2454e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2464e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)# Alias gyp target name. 2474e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles).PHONY: gfx_jni_headers 2484e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx_jni_headers: ui_gfx_gfx_jni_headers_gyp 2494e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2504e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 2514e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)LOCAL_UNINSTALLABLE_MODULE := true 2524e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2534e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)include $(BUILD_SYSTEM)/base_rules.mk 2544e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) 2554e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 2564e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) echo "Gyp timestamp: $@" 2574e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) mkdir -p $(dir $@) 2584e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles) $(hide) touch $@ 259