1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := content_content_common_mojo_bindings_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_application_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_application_bindings_gyp.a 15 16 17 ### Generated for rule "content_content_gyp_content_common_mojo_bindings_target_content_common_mojo_bindings_mojom_bindings_generator": 18 # "{'inputs': ['../mojo/public/tools/bindings/mojom_bindings_generator.py', '../mojo/public/tools/bindings/generators/cpp_templates/enum_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_request_validator_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/struct_definition.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_definition.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl', '../mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl', '../mojo/public/tools/bindings/generators/java_templates/constant_definition.tmpl', '../mojo/public/tools/bindings/generators/java_templates/constants.java.tmpl', '../mojo/public/tools/bindings/generators/java_templates/enum_definition.tmpl', '../mojo/public/tools/bindings/generators/java_templates/enum.java.tmpl', '../mojo/public/tools/bindings/generators/java_templates/header.java.tmpl', '../mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl', '../mojo/public/tools/bindings/generators/java_templates/interface.java.tmpl', '../mojo/public/tools/bindings/generators/java_templates/interface_internal.java.tmpl', '../mojo/public/tools/bindings/generators/java_templates/struct_definition.tmpl', '../mojo/public/tools/bindings/generators/java_templates/struct.java.tmpl', '../mojo/public/tools/bindings/generators/js_templates/enum_definition.tmpl', '../mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl', '../mojo/public/tools/bindings/generators/js_templates/module.js.tmpl', '../mojo/public/tools/bindings/generators/js_templates/struct_definition.tmpl', '../mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl', '../mojo/public/tools/bindings/generators/python_templates/module.py.tmpl', '../mojo/public/tools/bindings/generators/mojom_cpp_generator.py', '../mojo/public/tools/bindings/generators/mojom_java_generator.py', '../mojo/public/tools/bindings/generators/mojom_js_generator.py', '../mojo/public/tools/bindings/generators/mojom_python_generator.py', '../mojo/public/tools/bindings/pylib/mojom/__init__.py', '../mojo/public/tools/bindings/pylib/mojom/error.py', '../mojo/public/tools/bindings/pylib/mojom/generate/__init__.py', '../mojo/public/tools/bindings/pylib/mojom/generate/data.py', '../mojo/public/tools/bindings/pylib/mojom/generate/generator.py', '../mojo/public/tools/bindings/pylib/mojom/generate/module.py', '../mojo/public/tools/bindings/pylib/mojom/generate/pack.py', '../mojo/public/tools/bindings/pylib/mojom/generate/template_expander.py', '../mojo/public/tools/bindings/pylib/mojom/parse/__init__.py', '../mojo/public/tools/bindings/pylib/mojom/parse/ast.py', '../mojo/public/tools/bindings/pylib/mojom/parse/lexer.py', '../mojo/public/tools/bindings/pylib/mojom/parse/parser.py', '../mojo/public/tools/bindings/pylib/mojom/parse/translate.py'], 'process_outputs_as_sources': '1', 'extension': 'mojom', 'outputs': ['$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom.cc', '$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom.h', '$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom.js', '$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s/%(INPUT_ROOT)s_mojom.py', '$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom-internal.h'], 'variables': {'java_out_dir': '$(gyp_shared_intermediate_dir)/java_mojo/content_common_mojo_bindings/src', 'mojom_base_output_dir': 'content', 'mojom_bindings_generator': '../mojo/public/tools/bindings/mojom_bindings_generator.py', 'mojom_import_args%': ['-I..']}, 'rule_name': 'content_common_mojo_bindings_mojom_bindings_generator', 'rule_sources': ['common/render_frame_setup.mojom'], 'action': ['python', '../mojo/public/tools/bindings/mojom_bindings_generator.py', './%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom', '--use_chromium_bundled_pylibs', '-d', '..', '-I..', '-o', '$(gyp_shared_intermediate_dir)/content/%(INPUT_DIRNAME)s', '--java_output_directory=$(gyp_shared_intermediate_dir)/java_mojo/content_common_mojo_bindings/src'], 'message': 'Generating Mojo bindings from %(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom'}": 19 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: gyp_var_prefix := $(GYP_VAR_PREFIX) 21 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 24 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc: $(LOCAL_PATH)/content/common/render_frame_setup.mojom $(LOCAL_PATH)/mojo/public/tools/bindings/mojom_bindings_generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/enum_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_request_validator_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/struct_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/constant_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/constants.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/enum_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/enum.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/header.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/interface.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/interface_internal.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/struct_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/java_templates/struct.java.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/js_templates/enum_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/js_templates/struct_definition.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl $(LOCAL_PATH)/mojo/public/tools/bindings/generators/mojom_cpp_generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/generators/mojom_java_generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/generators/mojom_js_generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/generators/mojom_python_generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/__init__.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/error.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/__init__.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/data.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/generator.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/module.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/pack.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/generate/template_expander.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/parse/__init__.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/parse/ast.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/parse/parser.py $(LOCAL_PATH)/mojo/public/tools/bindings/pylib/mojom/parse/translate.py $(GYP_TARGET_DEPENDENCIES) 25 mkdir -p $(gyp_shared_intermediate_dir)/content/common; cd $(gyp_local_path)/content; python ../mojo/public/tools/bindings/mojom_bindings_generator.py common/render_frame_setup.mojom --use_chromium_bundled_pylibs -d .. -I.. -o "$(gyp_shared_intermediate_dir)/content/common" "--java_output_directory=$(gyp_shared_intermediate_dir)/java_mojo/content_common_mojo_bindings/src" 26 27 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.h: $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc ; 28 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.js: $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc ; 29 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup_mojom.py: $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc ; 30 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom-internal.h: $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc ; 31 32 33 GYP_GENERATED_OUTPUTS := \ 34 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc \ 35 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.h \ 36 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.js \ 37 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup_mojom.py \ 38 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom-internal.h 39 40 # Make sure our deps and generated files are built first. 41 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 42 43 LOCAL_CPP_EXTENSION := .cc 44 $(gyp_intermediate_dir)/render_frame_setup.mojom.cc: $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.cc 45 mkdir -p $(@D); cp $< $@ 46 LOCAL_GENERATED_SOURCES := \ 47 $(gyp_intermediate_dir)/render_frame_setup.mojom.cc \ 48 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.h \ 49 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom.js \ 50 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup_mojom.py \ 51 $(gyp_shared_intermediate_dir)/content/common/render_frame_setup.mojom-internal.h 52 53 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 54 $(gyp_shared_intermediate_dir)/content/common 55 56 LOCAL_SRC_FILES := 57 58 59 # Flags passed to both C and C++ files. 60 MY_CFLAGS_Debug := \ 61 -fstack-protector \ 62 --param=ssp-buffer-size=4 \ 63 -Werror \ 64 -fno-strict-aliasing \ 65 -Wall \ 66 -Wno-unused-parameter \ 67 -Wno-missing-field-initializers \ 68 -fvisibility=hidden \ 69 -pipe \ 70 -fPIC \ 71 -Wno-unused-local-typedefs \ 72 -m64 \ 73 -march=x86-64 \ 74 -ffunction-sections \ 75 -funwind-tables \ 76 -g \ 77 -fstack-protector \ 78 -fno-short-enums \ 79 -finline-limit=64 \ 80 -Wa,--noexecstack \ 81 -U_FORTIFY_SOURCE \ 82 -Wno-extra \ 83 -Wno-ignored-qualifiers \ 84 -Wno-type-limits \ 85 -Wno-unused-but-set-variable \ 86 -Os \ 87 -g \ 88 -gdwarf-4 \ 89 -fdata-sections \ 90 -ffunction-sections \ 91 -fomit-frame-pointer \ 92 -funwind-tables 93 94 MY_DEFS_Debug := \ 95 '-DCONTENT_IMPLEMENTATION' \ 96 '-DV8_DEPRECATION_WARNINGS' \ 97 '-D_FILE_OFFSET_BITS=64' \ 98 '-DNO_TCMALLOC' \ 99 '-DDISABLE_NACL' \ 100 '-DCHROMIUM_BUILD' \ 101 '-DUSE_LIBJPEG_TURBO=1' \ 102 '-DENABLE_WEBRTC=1' \ 103 '-DUSE_PROPRIETARY_CODECS' \ 104 '-DENABLE_BROWSER_CDMS' \ 105 '-DENABLE_CONFIGURATION_POLICY' \ 106 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 107 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 108 '-DENABLE_EGLIMAGE=1' \ 109 '-DCLD_VERSION=1' \ 110 '-DENABLE_PRINTING=1' \ 111 '-DENABLE_MANAGED_USERS=1' \ 112 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 113 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 114 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 115 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 116 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 117 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 118 '-DVIDEO_HOLE=1' \ 119 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 120 '-DUSE_OPENSSL=1' \ 121 '-DUSE_OPENSSL_CERTS=1' \ 122 '-D__STDC_CONSTANT_MACROS' \ 123 '-D__STDC_FORMAT_MACROS' \ 124 '-DANDROID' \ 125 '-D__GNU_SOURCE=1' \ 126 '-DUSE_STLPORT=1' \ 127 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 128 '-DCHROME_BUILD_ID=""' \ 129 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 130 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 131 '-D_DEBUG' 132 133 134 # Include paths placed before CFLAGS/CPPFLAGS 135 LOCAL_C_INCLUDES_Debug := \ 136 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 137 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 138 $(gyp_shared_intermediate_dir) \ 139 $(LOCAL_PATH) \ 140 $(PWD)/frameworks/wilhelm/include \ 141 $(PWD)/bionic \ 142 $(PWD)/external/stlport/stlport 143 144 145 # Flags passed to only C++ (and not C) files. 146 LOCAL_CPPFLAGS_Debug := \ 147 -fno-exceptions \ 148 -fno-rtti \ 149 -fno-threadsafe-statics \ 150 -fvisibility-inlines-hidden \ 151 -Wsign-compare \ 152 -std=gnu++11 \ 153 -Wno-narrowing \ 154 -Wno-literal-suffix \ 155 -Wno-non-virtual-dtor \ 156 -Wno-sign-promo 157 158 159 # Flags passed to both C and C++ files. 160 MY_CFLAGS_Release := \ 161 -fstack-protector \ 162 --param=ssp-buffer-size=4 \ 163 -Werror \ 164 -fno-strict-aliasing \ 165 -Wall \ 166 -Wno-unused-parameter \ 167 -Wno-missing-field-initializers \ 168 -fvisibility=hidden \ 169 -pipe \ 170 -fPIC \ 171 -Wno-unused-local-typedefs \ 172 -m64 \ 173 -march=x86-64 \ 174 -ffunction-sections \ 175 -funwind-tables \ 176 -g \ 177 -fstack-protector \ 178 -fno-short-enums \ 179 -finline-limit=64 \ 180 -Wa,--noexecstack \ 181 -U_FORTIFY_SOURCE \ 182 -Wno-extra \ 183 -Wno-ignored-qualifiers \ 184 -Wno-type-limits \ 185 -Wno-unused-but-set-variable \ 186 -Os \ 187 -fno-ident \ 188 -fdata-sections \ 189 -ffunction-sections \ 190 -fomit-frame-pointer \ 191 -funwind-tables 192 193 MY_DEFS_Release := \ 194 '-DCONTENT_IMPLEMENTATION' \ 195 '-DV8_DEPRECATION_WARNINGS' \ 196 '-D_FILE_OFFSET_BITS=64' \ 197 '-DNO_TCMALLOC' \ 198 '-DDISABLE_NACL' \ 199 '-DCHROMIUM_BUILD' \ 200 '-DUSE_LIBJPEG_TURBO=1' \ 201 '-DENABLE_WEBRTC=1' \ 202 '-DUSE_PROPRIETARY_CODECS' \ 203 '-DENABLE_BROWSER_CDMS' \ 204 '-DENABLE_CONFIGURATION_POLICY' \ 205 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 206 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 207 '-DENABLE_EGLIMAGE=1' \ 208 '-DCLD_VERSION=1' \ 209 '-DENABLE_PRINTING=1' \ 210 '-DENABLE_MANAGED_USERS=1' \ 211 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 212 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 213 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 214 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 215 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 216 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 217 '-DVIDEO_HOLE=1' \ 218 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 219 '-DUSE_OPENSSL=1' \ 220 '-DUSE_OPENSSL_CERTS=1' \ 221 '-D__STDC_CONSTANT_MACROS' \ 222 '-D__STDC_FORMAT_MACROS' \ 223 '-DANDROID' \ 224 '-D__GNU_SOURCE=1' \ 225 '-DUSE_STLPORT=1' \ 226 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 227 '-DCHROME_BUILD_ID=""' \ 228 '-DNDEBUG' \ 229 '-DNVALGRIND' \ 230 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 231 '-D_FORTIFY_SOURCE=2' 232 233 234 # Include paths placed before CFLAGS/CPPFLAGS 235 LOCAL_C_INCLUDES_Release := \ 236 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 237 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 238 $(gyp_shared_intermediate_dir) \ 239 $(LOCAL_PATH) \ 240 $(PWD)/frameworks/wilhelm/include \ 241 $(PWD)/bionic \ 242 $(PWD)/external/stlport/stlport 243 244 245 # Flags passed to only C++ (and not C) files. 246 LOCAL_CPPFLAGS_Release := \ 247 -fno-exceptions \ 248 -fno-rtti \ 249 -fno-threadsafe-statics \ 250 -fvisibility-inlines-hidden \ 251 -Wsign-compare \ 252 -std=gnu++11 \ 253 -Wno-narrowing \ 254 -Wno-literal-suffix \ 255 -Wno-non-virtual-dtor \ 256 -Wno-sign-promo 257 258 259 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 260 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 261 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 262 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 263 ### Rules for final target. 264 265 LOCAL_SHARED_LIBRARIES := \ 266 libstlport \ 267 libdl 268 269 # Add target alias to "gyp_all_modules" target. 270 .PHONY: gyp_all_modules 271 gyp_all_modules: content_content_common_mojo_bindings_gyp 272 273 # Alias gyp target name. 274 .PHONY: content_common_mojo_bindings 275 content_common_mojo_bindings: content_content_common_mojo_bindings_gyp 276 277 include $(BUILD_STATIC_LIBRARY) 278