Home | History | Annotate | Download | only in content
      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_TAGS := optional
      9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 
     17 ### Generated for rule "content_content_gyp_content_common_mojo_bindings_target_Generate_C____JS_and_Java_source_files_from_mojom_files":
     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/java_macros.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/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/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-internal.h'], 'variables': {'java_out_dir': '$(gyp_shared_intermediate_dir)/java_mojo/content_common_mojo_bindings/src', 'mojom_bindings_generator': '../mojo/public/tools/bindings/mojom_bindings_generator.py', 'mojom_base_output_dir': 'content'}, 'rule_name': 'Generate C++, JS and Java source files from mojom files', 'rule_sources': ['common/web_ui_setup.mojom'], 'action': ['python', '../mojo/public/tools/bindings/mojom_bindings_generator.py', './%(INPUT_DIRNAME)s/%(INPUT_ROOT)s.mojom', '--use_chromium_bundled_pylibs', '-d', '..', '-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/web_ui_setup.mojom.cc: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc: gyp_var_prefix := $(GYP_VAR_PREFIX)
     21 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     23 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     24 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc: $(LOCAL_PATH)/content/common/web_ui_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/java_macros.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/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/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/web_ui_setup.mojom --use_chromium_bundled_pylibs -d .. -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/web_ui_setup.mojom.h: $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc ;
     28 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.js: $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc ;
     29 $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom-internal.h: $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc ;
     30 
     31 
     32 GYP_GENERATED_OUTPUTS := \
     33 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc \
     34 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.h \
     35 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.js \
     36 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom-internal.h
     37 
     38 # Make sure our deps and generated files are built first.
     39 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     40 
     41 LOCAL_CPP_EXTENSION := .cc
     42 $(gyp_intermediate_dir)/web_ui_setup.mojom.cc: $(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.cc
     43 	mkdir -p $(@D); cp $< $@
     44 LOCAL_GENERATED_SOURCES := \
     45 	$(gyp_intermediate_dir)/web_ui_setup.mojom.cc \
     46 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.h \
     47 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom.js \
     48 	$(gyp_shared_intermediate_dir)/content/common/web_ui_setup.mojom-internal.h
     49 
     50 GYP_COPIED_SOURCE_ORIGIN_DIRS := \
     51 	$(gyp_shared_intermediate_dir)/content/common
     52 
     53 LOCAL_SRC_FILES :=
     54 
     55 
     56 # Flags passed to both C and C++ files.
     57 MY_CFLAGS_Debug := \
     58 	--param=ssp-buffer-size=4 \
     59 	-Werror \
     60 	-fno-exceptions \
     61 	-fno-strict-aliasing \
     62 	-Wall \
     63 	-Wno-unused-parameter \
     64 	-Wno-missing-field-initializers \
     65 	-fvisibility=hidden \
     66 	-pipe \
     67 	-fPIC \
     68 	-Wno-unused-local-typedefs \
     69 	-ffunction-sections \
     70 	-funwind-tables \
     71 	-g \
     72 	-fno-short-enums \
     73 	-finline-limit=64 \
     74 	-Wa,--noexecstack \
     75 	-U_FORTIFY_SOURCE \
     76 	-Wno-extra \
     77 	-Wno-ignored-qualifiers \
     78 	-Wno-type-limits \
     79 	-Wno-unused-but-set-variable \
     80 	-Os \
     81 	-g \
     82 	-fdata-sections \
     83 	-ffunction-sections \
     84 	-funwind-tables
     85 
     86 MY_DEFS_Debug := \
     87 	'-DCONTENT_IMPLEMENTATION' \
     88 	'-DV8_DEPRECATION_WARNINGS' \
     89 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
     90 	'-D_FILE_OFFSET_BITS=64' \
     91 	'-DNO_TCMALLOC' \
     92 	'-DDISABLE_NACL' \
     93 	'-DCHROMIUM_BUILD' \
     94 	'-DUSE_LIBJPEG_TURBO=1' \
     95 	'-DENABLE_WEBRTC=1' \
     96 	'-DUSE_PROPRIETARY_CODECS' \
     97 	'-DENABLE_BROWSER_CDMS' \
     98 	'-DENABLE_CONFIGURATION_POLICY' \
     99 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    100 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    101 	'-DENABLE_EGLIMAGE=1' \
    102 	'-DCLD_VERSION=1' \
    103 	'-DENABLE_PRINTING=1' \
    104 	'-DENABLE_MANAGED_USERS=1' \
    105 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    106 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    107 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    108 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    109 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    110 	'-DVIDEO_HOLE=1' \
    111 	'-DMOJO_USE_SYSTEM_IMPL' \
    112 	'-DUSE_OPENSSL=1' \
    113 	'-DUSE_OPENSSL_CERTS=1' \
    114 	'-D__STDC_CONSTANT_MACROS' \
    115 	'-D__STDC_FORMAT_MACROS' \
    116 	'-DANDROID' \
    117 	'-D__GNU_SOURCE=1' \
    118 	'-DUSE_STLPORT=1' \
    119 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    120 	'-DCHROME_BUILD_ID=""' \
    121 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    122 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    123 	'-D_DEBUG'
    124 
    125 
    126 # Include paths placed before CFLAGS/CPPFLAGS
    127 LOCAL_C_INCLUDES_Debug := \
    128 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    129 	$(gyp_shared_intermediate_dir) \
    130 	$(LOCAL_PATH) \
    131 	$(PWD)/frameworks/wilhelm/include \
    132 	$(PWD)/bionic \
    133 	$(PWD)/external/stlport/stlport
    134 
    135 
    136 # Flags passed to only C++ (and not C) files.
    137 LOCAL_CPPFLAGS_Debug := \
    138 	-fno-rtti \
    139 	-fno-threadsafe-statics \
    140 	-fvisibility-inlines-hidden \
    141 	-Wsign-compare \
    142 	-Wno-non-virtual-dtor \
    143 	-Wno-sign-promo
    144 
    145 
    146 LOCAL_FDO_SUPPORT_Debug := false
    147 
    148 # Flags passed to both C and C++ files.
    149 MY_CFLAGS_Release := \
    150 	--param=ssp-buffer-size=4 \
    151 	-Werror \
    152 	-fno-exceptions \
    153 	-fno-strict-aliasing \
    154 	-Wall \
    155 	-Wno-unused-parameter \
    156 	-Wno-missing-field-initializers \
    157 	-fvisibility=hidden \
    158 	-pipe \
    159 	-fPIC \
    160 	-Wno-unused-local-typedefs \
    161 	-ffunction-sections \
    162 	-funwind-tables \
    163 	-g \
    164 	-fno-short-enums \
    165 	-finline-limit=64 \
    166 	-Wa,--noexecstack \
    167 	-U_FORTIFY_SOURCE \
    168 	-Wno-extra \
    169 	-Wno-ignored-qualifiers \
    170 	-Wno-type-limits \
    171 	-Wno-unused-but-set-variable \
    172 	-Os \
    173 	-fno-ident \
    174 	-fdata-sections \
    175 	-ffunction-sections \
    176 	-funwind-tables
    177 
    178 MY_DEFS_Release := \
    179 	'-DCONTENT_IMPLEMENTATION' \
    180 	'-DV8_DEPRECATION_WARNINGS' \
    181 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    182 	'-D_FILE_OFFSET_BITS=64' \
    183 	'-DNO_TCMALLOC' \
    184 	'-DDISABLE_NACL' \
    185 	'-DCHROMIUM_BUILD' \
    186 	'-DUSE_LIBJPEG_TURBO=1' \
    187 	'-DENABLE_WEBRTC=1' \
    188 	'-DUSE_PROPRIETARY_CODECS' \
    189 	'-DENABLE_BROWSER_CDMS' \
    190 	'-DENABLE_CONFIGURATION_POLICY' \
    191 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    192 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    193 	'-DENABLE_EGLIMAGE=1' \
    194 	'-DCLD_VERSION=1' \
    195 	'-DENABLE_PRINTING=1' \
    196 	'-DENABLE_MANAGED_USERS=1' \
    197 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    198 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    199 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    200 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    201 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    202 	'-DVIDEO_HOLE=1' \
    203 	'-DMOJO_USE_SYSTEM_IMPL' \
    204 	'-DUSE_OPENSSL=1' \
    205 	'-DUSE_OPENSSL_CERTS=1' \
    206 	'-D__STDC_CONSTANT_MACROS' \
    207 	'-D__STDC_FORMAT_MACROS' \
    208 	'-DANDROID' \
    209 	'-D__GNU_SOURCE=1' \
    210 	'-DUSE_STLPORT=1' \
    211 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    212 	'-DCHROME_BUILD_ID=""' \
    213 	'-DNDEBUG' \
    214 	'-DNVALGRIND' \
    215 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    216 	'-D_FORTIFY_SOURCE=2'
    217 
    218 
    219 # Include paths placed before CFLAGS/CPPFLAGS
    220 LOCAL_C_INCLUDES_Release := \
    221 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    222 	$(gyp_shared_intermediate_dir) \
    223 	$(LOCAL_PATH) \
    224 	$(PWD)/frameworks/wilhelm/include \
    225 	$(PWD)/bionic \
    226 	$(PWD)/external/stlport/stlport
    227 
    228 
    229 # Flags passed to only C++ (and not C) files.
    230 LOCAL_CPPFLAGS_Release := \
    231 	-fno-rtti \
    232 	-fno-threadsafe-statics \
    233 	-fvisibility-inlines-hidden \
    234 	-Wsign-compare \
    235 	-Wno-non-virtual-dtor \
    236 	-Wno-sign-promo
    237 
    238 
    239 LOCAL_FDO_SUPPORT_Release := false
    240 
    241 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    242 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    243 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    244 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    245 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    246 ### Rules for final target.
    247 
    248 LOCAL_LDFLAGS_Debug := \
    249 	-Wl,-z,now \
    250 	-Wl,-z,relro \
    251 	-Wl,--fatal-warnings \
    252 	-Wl,-z,noexecstack \
    253 	-fPIC \
    254 	-nostdlib \
    255 	-Wl,--no-undefined \
    256 	-Wl,--exclude-libs=ALL \
    257 	-Wl,--warn-shared-textrel \
    258 	-Wl,-O1 \
    259 	-Wl,--as-needed
    260 
    261 
    262 LOCAL_LDFLAGS_Release := \
    263 	-Wl,-z,now \
    264 	-Wl,-z,relro \
    265 	-Wl,--fatal-warnings \
    266 	-Wl,-z,noexecstack \
    267 	-fPIC \
    268 	-nostdlib \
    269 	-Wl,--no-undefined \
    270 	-Wl,--exclude-libs=ALL \
    271 	-Wl,-O1 \
    272 	-Wl,--as-needed \
    273 	-Wl,--gc-sections \
    274 	-Wl,--warn-shared-textrel
    275 
    276 
    277 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    278 
    279 LOCAL_STATIC_LIBRARIES :=
    280 
    281 # Enable grouping to fix circular references
    282 LOCAL_GROUP_STATIC_LIBRARIES := true
    283 
    284 LOCAL_SHARED_LIBRARIES := \
    285 	libstlport \
    286 	libdl
    287 
    288 # Add target alias to "gyp_all_modules" target.
    289 .PHONY: gyp_all_modules
    290 gyp_all_modules: content_content_common_mojo_bindings_gyp
    291 
    292 # Alias gyp target name.
    293 .PHONY: content_common_mojo_bindings
    294 content_common_mojo_bindings: content_content_common_mojo_bindings_gyp
    295 
    296 include $(BUILD_STATIC_LIBRARY)
    297