ax_gen.target.linux-x86.mk revision effb81e5f8246d0db0270817048dc992db66e9fb
15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# This file is generated by gyp; do not edit. 25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)include $(CLEAR_VARS) 45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_MODULE_CLASS := STATIC_LIBRARIES 65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_MODULE := ui_accessibility_ax_gen_gyp 75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_MODULE_SUFFIX := .a 85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_MODULE_TAGS := optional 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)gyp_intermediate_dir := $(call local-intermediates-dir) 105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Make sure our deps are built first. 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)GYP_TARGET_DEPENDENCIES := 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)### Rules for action "genapi_bundle": 165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_local_path := $(LOCAL_PATH) 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: $(LOCAL_PATH)/tools/json_schema_compiler/cc_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/code.py $(LOCAL_PATH)/tools/json_schema_compiler/compiler.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_bundle_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_type_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_util.py $(LOCAL_PATH)/tools/json_schema_compiler/h_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/idl_schema.py $(LOCAL_PATH)/tools/json_schema_compiler/json_schema.py $(LOCAL_PATH)/tools/json_schema_compiler/model.py $(LOCAL_PATH)/tools/json_schema_compiler/util_cc_helper.py $(LOCAL_PATH)/ui/accessibility/ax_enums.idl $(GYP_TARGET_DEPENDENCIES) 215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) @echo "Gyp action: Generating C++ API bundle code ($@)" 22a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) $(hide)cd $(gyp_local_path)/ui/accessibility; mkdir -p $(gyp_shared_intermediate_dir)/ui/accessibility; python ../../tools/json_schema_compiler/compiler.py "--root=../.." "--destdir=$(gyp_shared_intermediate_dir)" "--namespace=" "--generator=cpp-bundle" "--impl-dir=chrome/browser/extensions/api" ax_enums.idl 235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)### Generated for rule "ui_accessibility_accessibility_gyp_ax_gen_target_genapi_idl": 31a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# "{'inputs': ['../../tools/json_schema_compiler/cc_generator.py', '../../tools/json_schema_compiler/code.py', '../../tools/json_schema_compiler/compiler.py', '../../tools/json_schema_compiler/cpp_generator.py', '../../tools/json_schema_compiler/cpp_type_generator.py', '../../tools/json_schema_compiler/cpp_util.py', '../../tools/json_schema_compiler/h_generator.py', '../../tools/json_schema_compiler/idl_schema.py', '../../tools/json_schema_compiler/model.py', '../../tools/json_schema_compiler/util.cc', '../../tools/json_schema_compiler/util.h', '../../tools/json_schema_compiler/util_cc_helper.py'], 'process_outputs_as_sources': '1', 'extension': 'idl', 'msvs_external_rule': '1', 'outputs': ['$(gyp_shared_intermediate_dir)/ui/accessibility/%(INPUT_ROOT)s.cc', '$(gyp_shared_intermediate_dir)/ui/accessibility/%(INPUT_ROOT)s.h'], 'rule_name': 'genapi_idl', 'rule_sources': ['ax_enums.idl'], 'action': ['python', '../../tools/json_schema_compiler/compiler.py', '$(RULE_SOURCES)', '--root=../..', '--destdir=$(gyp_shared_intermediate_dir)', '--namespace=', '--generator=cpp', '--impl-dir=chrome/browser/extensions/api'], 'message': 'Generating C++ code from $(RULE_SOURCES) IDL files'}": 325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_local_path := $(LOCAL_PATH) 335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: $(LOCAL_PATH)/ui/accessibility/ax_enums.idl $(LOCAL_PATH)/tools/json_schema_compiler/cc_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/code.py $(LOCAL_PATH)/tools/json_schema_compiler/compiler.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_type_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/cpp_util.py $(LOCAL_PATH)/tools/json_schema_compiler/h_generator.py $(LOCAL_PATH)/tools/json_schema_compiler/idl_schema.py $(LOCAL_PATH)/tools/json_schema_compiler/model.py $(LOCAL_PATH)/tools/json_schema_compiler/util.cc $(LOCAL_PATH)/tools/json_schema_compiler/util.h $(LOCAL_PATH)/tools/json_schema_compiler/util_cc_helper.py $(GYP_TARGET_DEPENDENCIES) 37a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) mkdir -p $(gyp_shared_intermediate_dir)/ui/accessibility; cd $(gyp_local_path)/ui/accessibility; python ../../tools/json_schema_compiler/compiler.py ax_enums.idl "--root=../.." "--destdir=$(gyp_shared_intermediate_dir)" "--namespace=" "--generator=cpp" "--impl-dir=chrome/browser/extensions/api" 385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h: $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc ; 405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles).PHONY: ui_accessibility_ax_gen_gyp_rule_trigger 415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)ui_accessibility_ax_gen_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc 425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)### Finished generating for all rules 445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)GYP_GENERATED_OUTPUTS := \ 465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h \ 475d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc \ 485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h \ 495d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc \ 505d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc \ 515d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h 525d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Make sure our deps and generated files are built first. 545d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_CPP_EXTENSION := .cc 575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_intermediate_dir)/generated_api.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc 585d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) mkdir -p $(@D); cp $< $@ 595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_intermediate_dir)/generated_schemas.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc 605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) mkdir -p $(@D); cp $< $@ 615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)$(gyp_intermediate_dir)/ax_enums.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc 625d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) mkdir -p $(@D); cp $< $@ 635d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_GENERATED_SOURCES := \ 645d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_intermediate_dir)/generated_api.cc \ 655d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_intermediate_dir)/generated_schemas.cc \ 665d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_intermediate_dir)/ax_enums.cc \ 675d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h \ 685d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h \ 695d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h \ 705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) ui_accessibility_ax_gen_gyp_rule_trigger 715d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 725d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 735d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/ui/accessibility 745d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 755d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_SRC_FILES := 765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 785d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Flags passed to both C and C++ files. 795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)MY_CFLAGS_Debug := \ 805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) --param=ssp-buffer-size=4 \ 815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Werror \ 825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-exceptions \ 835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-strict-aliasing \ 845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wall \ 855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-parameter \ 865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-missing-field-initializers \ 875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fvisibility=hidden \ 885d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -pipe \ 895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fPIC \ 905d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -msse2 \ 915d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -mfpmath=sse \ 92a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -mmmx \ 93a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -m32 \ 945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fuse-ld=gold \ 955d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables \ 975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -g \ 985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-short-enums \ 995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -finline-limit=64 \ 1005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wa,--noexecstack \ 1015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -U_FORTIFY_SOURCE \ 1025d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-extra \ 1035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-ignored-qualifiers \ 1045d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-type-limits \ 1055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 1065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-stack-protector \ 1075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Os \ 1085d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -g \ 1095d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fomit-frame-pointer \ 1105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fdata-sections \ 1115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 1125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)MY_DEFS_Debug := \ 1155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 116a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 1175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 1185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DNO_TCMALLOC' \ 1195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDISABLE_NACL' \ 1205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROMIUM_BUILD' \ 1215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 1225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 1235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 1245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 1255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 1265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 1275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCLD_VERSION=1' \ 1285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 1295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 130a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 131effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 1325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 1335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 1345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DANDROID' \ 1355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__GNU_SOURCE=1' \ 1365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_STLPORT=1' \ 1375d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 1385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 1395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 1405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 1415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_DEBUG' 1425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 1455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_C_INCLUDES_Debug := \ 1465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 1475d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 1485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(LOCAL_PATH) \ 1495d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 1505d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/bionic \ 1515d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/external/stlport/stlport 1525d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1545d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Flags passed to only C++ (and not C) files. 1555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_CPPFLAGS_Debug := \ 1565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-rtti \ 1575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-threadsafe-statics \ 1585d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fvisibility-inlines-hidden \ 1595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wsign-compare \ 1605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-non-virtual-dtor \ 1615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-sign-promo 1625d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1635d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1645d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Flags passed to both C and C++ files. 1655d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)MY_CFLAGS_Release := \ 1665d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) --param=ssp-buffer-size=4 \ 1675d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Werror \ 1685d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-exceptions \ 1695d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-strict-aliasing \ 1705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wall \ 1715d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-parameter \ 1725d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-missing-field-initializers \ 1735d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fvisibility=hidden \ 1745d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -pipe \ 1755d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fPIC \ 1765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -msse2 \ 1775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -mfpmath=sse \ 178a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -mmmx \ 179a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -m32 \ 1805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fuse-ld=gold \ 1815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 1825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables \ 1835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -g \ 1845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-short-enums \ 1855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -finline-limit=64 \ 1865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wa,--noexecstack \ 1875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -U_FORTIFY_SOURCE \ 1885d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-extra \ 1895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-ignored-qualifiers \ 1905d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-type-limits \ 1915d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-unused-but-set-variable \ 1925d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-stack-protector \ 1935d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Os \ 1945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-ident \ 1955d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fdata-sections \ 1965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 1975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fomit-frame-pointer \ 1985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 1995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)MY_DEFS_Release := \ 2015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 202a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 2035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 2045d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DNO_TCMALLOC' \ 2055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDISABLE_NACL' \ 2065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROMIUM_BUILD' \ 2075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 2085d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 2095d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 2105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 2115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 2125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 2135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCLD_VERSION=1' \ 2145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 2155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 216a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 217effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 2185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__STDC_CONSTANT_MACROS' \ 2195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__STDC_FORMAT_MACROS' \ 2205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DANDROID' \ 2215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D__GNU_SOURCE=1' \ 2225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_STLPORT=1' \ 2235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 2245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 2255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DNDEBUG' \ 2265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DNVALGRIND' \ 2275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 2285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_FORTIFY_SOURCE=2' 2295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 2325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_C_INCLUDES_Release := \ 2335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 2345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 2355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(LOCAL_PATH) \ 2365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 2375d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/bionic \ 2385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/external/stlport/stlport 2395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Flags passed to only C++ (and not C) files. 2425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_CPPFLAGS_Release := \ 2435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-rtti \ 2445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fno-threadsafe-statics \ 2455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fvisibility-inlines-hidden \ 2465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wsign-compare \ 2475d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-non-virtual-dtor \ 2485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-sign-promo 2495d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2505d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2515d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 2525d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 2535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 254a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 2555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)### Rules for final target. 2565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_LDFLAGS_Debug := \ 258a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -Wl,--fatal-warnings \ 2595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,now \ 2605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,relro \ 2615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,noexecstack \ 2625d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fPIC \ 2635d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -m32 \ 2645d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fuse-ld=gold \ 2655d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -nostdlib \ 2665d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--no-undefined \ 2675d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--exclude-libs=ALL \ 2685d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--gc-sections \ 2695d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--warn-shared-textrel \ 2705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-O1 \ 2715d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--as-needed 2725d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2735d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2745d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_LDFLAGS_Release := \ 275a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) -Wl,--fatal-warnings \ 2765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,now \ 2775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,relro \ 2785d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-z,noexecstack \ 2795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fPIC \ 2805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -m32 \ 2815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fuse-ld=gold \ 2825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -nostdlib \ 2835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--no-undefined \ 2845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--exclude-libs=ALL \ 2855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,-O1 \ 2865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--as-needed \ 2875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--gc-sections \ 2885d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wl,--warn-shared-textrel 2895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2905d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2915d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 2925d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2935d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_STATIC_LIBRARIES := 2945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2955d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Enable grouping to fix circular references 2965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_GROUP_STATIC_LIBRARIES := true 2975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_SHARED_LIBRARIES := \ 2995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) libstlport \ 3005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) libdl 3015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3025d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Add target alias to "gyp_all_modules" target. 3035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles).PHONY: gyp_all_modules 3045d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)gyp_all_modules: ui_accessibility_ax_gen_gyp 3055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Alias gyp target name. 3075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles).PHONY: ax_gen 3085d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)ax_gen: ui_accessibility_ax_gen_gyp 3095d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)include $(BUILD_STATIC_LIBRARY) 311