ax_gen.target.darwin-mips.mk revision 5f1c94371a64b3196d4be9466099bb892df9b88e
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := ui_accessibility_ax_gen_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 15 16### Rules for action "genapi_bundle": 17$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_local_path := $(LOCAL_PATH) 18$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 19$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22$(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) 23 @echo "Gyp action: Generating C++ API bundle code ($@)" 24 $(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=ui" "--generator=cpp-bundle" "--impl-dir=chrome/browser/extensions/api" ax_enums.idl 25 26$(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 27$(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 28$(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h ; 29 30 31 32### Generated for rule "ui_accessibility_accessibility_gyp_ax_gen_target_genapi_idl": 33# "{'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_DIRNAME)s/%(INPUT_ROOT)s.cc', '$(gyp_shared_intermediate_dir)/ui/accessibility/%(INPUT_DIRNAME)s/%(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=ui', '--generator=cpp', '--impl-dir=chrome/browser/extensions/api'], 'message': 'Generating C++ code from $(RULE_SOURCES) IDL files'}": 34$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_local_path := $(LOCAL_PATH) 35$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_var_prefix := $(GYP_VAR_PREFIX) 36$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 37$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 38$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 39$(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) 40 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=ui" "--generator=cpp" "--impl-dir=chrome/browser/extensions/api" 41 42$(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h: $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc ; 43 44 45GYP_GENERATED_OUTPUTS := \ 46 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h \ 47 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc \ 48 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h \ 49 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc \ 50 $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc \ 51 $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h 52 53# Make sure our deps and generated files are built first. 54LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 55 56LOCAL_CPP_EXTENSION := .cc 57$(gyp_intermediate_dir)/generated_api.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.cc 58 mkdir -p $(@D); cp $< $@ 59$(gyp_intermediate_dir)/generated_schemas.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.cc 60 mkdir -p $(@D); cp $< $@ 61$(gyp_intermediate_dir)/ax_enums.cc: $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.cc 62 mkdir -p $(@D); cp $< $@ 63LOCAL_GENERATED_SOURCES := \ 64 $(gyp_intermediate_dir)/generated_api.cc \ 65 $(gyp_intermediate_dir)/generated_schemas.cc \ 66 $(gyp_intermediate_dir)/ax_enums.cc \ 67 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_api.h \ 68 $(gyp_shared_intermediate_dir)/ui/accessibility/generated_schemas.h \ 69 $(gyp_shared_intermediate_dir)/ui/accessibility/ax_enums.h 70 71GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 72 $(gyp_shared_intermediate_dir)/ui/accessibility 73 74LOCAL_SRC_FILES := 75 76 77# Flags passed to both C and C++ files. 78MY_CFLAGS_Debug := \ 79 -fstack-protector \ 80 --param=ssp-buffer-size=4 \ 81 \ 82 -fno-exceptions \ 83 -fno-strict-aliasing \ 84 -Wall \ 85 -Wno-unused-parameter \ 86 -Wno-missing-field-initializers \ 87 -fvisibility=hidden \ 88 -pipe \ 89 -fPIC \ 90 -Wno-unused-local-typedefs \ 91 -EL \ 92 -mhard-float \ 93 -ffunction-sections \ 94 -funwind-tables \ 95 -g \ 96 -fstack-protector \ 97 -fno-short-enums \ 98 -finline-limit=64 \ 99 -Wa,--noexecstack \ 100 -U_FORTIFY_SOURCE \ 101 -Wno-extra \ 102 -Wno-ignored-qualifiers \ 103 -Wno-type-limits \ 104 -Wno-unused-but-set-variable \ 105 -Os \ 106 -g \ 107 -fdata-sections \ 108 -ffunction-sections \ 109 -fomit-frame-pointer \ 110 -funwind-tables 111 112MY_DEFS_Debug := \ 113 '-DV8_DEPRECATION_WARNINGS' \ 114 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 115 '-D_FILE_OFFSET_BITS=64' \ 116 '-DNO_TCMALLOC' \ 117 '-DDISABLE_NACL' \ 118 '-DCHROMIUM_BUILD' \ 119 '-DUSE_LIBJPEG_TURBO=1' \ 120 '-DENABLE_WEBRTC=1' \ 121 '-DUSE_PROPRIETARY_CODECS' \ 122 '-DENABLE_BROWSER_CDMS' \ 123 '-DENABLE_CONFIGURATION_POLICY' \ 124 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 125 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 126 '-DENABLE_EGLIMAGE=1' \ 127 '-DCLD_VERSION=1' \ 128 '-DENABLE_PRINTING=1' \ 129 '-DENABLE_MANAGED_USERS=1' \ 130 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 131 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 132 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 133 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 134 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 135 '-DVIDEO_HOLE=1' \ 136 '-DUSE_OPENSSL=1' \ 137 '-DUSE_OPENSSL_CERTS=1' \ 138 '-D__STDC_CONSTANT_MACROS' \ 139 '-D__STDC_FORMAT_MACROS' \ 140 '-DANDROID' \ 141 '-D__GNU_SOURCE=1' \ 142 '-DUSE_STLPORT=1' \ 143 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 144 '-DCHROME_BUILD_ID=""' \ 145 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 146 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 147 '-D_DEBUG' 148 149 150# Include paths placed before CFLAGS/CPPFLAGS 151LOCAL_C_INCLUDES_Debug := \ 152 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 153 $(gyp_shared_intermediate_dir) \ 154 $(LOCAL_PATH) \ 155 $(PWD)/frameworks/wilhelm/include \ 156 $(PWD)/bionic \ 157 $(PWD)/external/stlport/stlport 158 159 160# Flags passed to only C++ (and not C) files. 161LOCAL_CPPFLAGS_Debug := \ 162 -fno-rtti \ 163 -fno-threadsafe-statics \ 164 -fvisibility-inlines-hidden \ 165 -Wsign-compare \ 166 -Wno-uninitialized \ 167 -std=gnu++11 \ 168 -Wno-narrowing \ 169 -Wno-literal-suffix \ 170 -Wno-non-virtual-dtor \ 171 -Wno-sign-promo 172 173 174# Flags passed to both C and C++ files. 175MY_CFLAGS_Release := \ 176 -fstack-protector \ 177 --param=ssp-buffer-size=4 \ 178 \ 179 -fno-exceptions \ 180 -fno-strict-aliasing \ 181 -Wall \ 182 -Wno-unused-parameter \ 183 -Wno-missing-field-initializers \ 184 -fvisibility=hidden \ 185 -pipe \ 186 -fPIC \ 187 -Wno-unused-local-typedefs \ 188 -EL \ 189 -mhard-float \ 190 -ffunction-sections \ 191 -funwind-tables \ 192 -g \ 193 -fstack-protector \ 194 -fno-short-enums \ 195 -finline-limit=64 \ 196 -Wa,--noexecstack \ 197 -U_FORTIFY_SOURCE \ 198 -Wno-extra \ 199 -Wno-ignored-qualifiers \ 200 -Wno-type-limits \ 201 -Wno-unused-but-set-variable \ 202 -Os \ 203 -fno-ident \ 204 -fdata-sections \ 205 -ffunction-sections \ 206 -fomit-frame-pointer \ 207 -funwind-tables 208 209MY_DEFS_Release := \ 210 '-DV8_DEPRECATION_WARNINGS' \ 211 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 212 '-D_FILE_OFFSET_BITS=64' \ 213 '-DNO_TCMALLOC' \ 214 '-DDISABLE_NACL' \ 215 '-DCHROMIUM_BUILD' \ 216 '-DUSE_LIBJPEG_TURBO=1' \ 217 '-DENABLE_WEBRTC=1' \ 218 '-DUSE_PROPRIETARY_CODECS' \ 219 '-DENABLE_BROWSER_CDMS' \ 220 '-DENABLE_CONFIGURATION_POLICY' \ 221 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 222 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 223 '-DENABLE_EGLIMAGE=1' \ 224 '-DCLD_VERSION=1' \ 225 '-DENABLE_PRINTING=1' \ 226 '-DENABLE_MANAGED_USERS=1' \ 227 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 228 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 229 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 230 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 231 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 232 '-DVIDEO_HOLE=1' \ 233 '-DUSE_OPENSSL=1' \ 234 '-DUSE_OPENSSL_CERTS=1' \ 235 '-D__STDC_CONSTANT_MACROS' \ 236 '-D__STDC_FORMAT_MACROS' \ 237 '-DANDROID' \ 238 '-D__GNU_SOURCE=1' \ 239 '-DUSE_STLPORT=1' \ 240 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 241 '-DCHROME_BUILD_ID=""' \ 242 '-DNDEBUG' \ 243 '-DNVALGRIND' \ 244 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 245 '-D_FORTIFY_SOURCE=2' 246 247 248# Include paths placed before CFLAGS/CPPFLAGS 249LOCAL_C_INCLUDES_Release := \ 250 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 251 $(gyp_shared_intermediate_dir) \ 252 $(LOCAL_PATH) \ 253 $(PWD)/frameworks/wilhelm/include \ 254 $(PWD)/bionic \ 255 $(PWD)/external/stlport/stlport 256 257 258# Flags passed to only C++ (and not C) files. 259LOCAL_CPPFLAGS_Release := \ 260 -fno-rtti \ 261 -fno-threadsafe-statics \ 262 -fvisibility-inlines-hidden \ 263 -Wsign-compare \ 264 -Wno-uninitialized \ 265 -std=gnu++11 \ 266 -Wno-narrowing \ 267 -Wno-literal-suffix \ 268 -Wno-non-virtual-dtor \ 269 -Wno-sign-promo 270 271 272LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 273LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 274LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 275LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 276### Rules for final target. 277 278LOCAL_LDFLAGS_Debug := \ 279 -Wl,-z,now \ 280 -Wl,-z,relro \ 281 -Wl,--fatal-warnings \ 282 -Wl,-z,noexecstack \ 283 -fPIC \ 284 -EL \ 285 -Wl,--no-keep-memory \ 286 -nostdlib \ 287 -Wl,--no-undefined \ 288 -Wl,--exclude-libs=ALL \ 289 -Wl,--warn-shared-textrel \ 290 -Wl,-O1 \ 291 -Wl,--as-needed 292 293 294LOCAL_LDFLAGS_Release := \ 295 -Wl,-z,now \ 296 -Wl,-z,relro \ 297 -Wl,--fatal-warnings \ 298 -Wl,-z,noexecstack \ 299 -fPIC \ 300 -EL \ 301 -Wl,--no-keep-memory \ 302 -nostdlib \ 303 -Wl,--no-undefined \ 304 -Wl,--exclude-libs=ALL \ 305 -Wl,-O1 \ 306 -Wl,--as-needed \ 307 -Wl,--gc-sections \ 308 -Wl,--warn-shared-textrel 309 310 311LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 312 313LOCAL_STATIC_LIBRARIES := 314 315# Enable grouping to fix circular references 316LOCAL_GROUP_STATIC_LIBRARIES := true 317 318LOCAL_SHARED_LIBRARIES := \ 319 libstlport \ 320 libdl 321 322# Add target alias to "gyp_all_modules" target. 323.PHONY: gyp_all_modules 324gyp_all_modules: ui_accessibility_ax_gen_gyp 325 326# Alias gyp target name. 327.PHONY: ax_gen 328ax_gen: ui_accessibility_ax_gen_gyp 329 330include $(BUILD_STATIC_LIBRARY) 331