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 	-fstack-protector \
     59 	--param=ssp-buffer-size=4 \
     60 	 \
     61 	-fno-exceptions \
     62 	-fno-strict-aliasing \
     63 	-Wall \
     64 	-Wno-unused-parameter \
     65 	-Wno-missing-field-initializers \
     66 	-fvisibility=hidden \
     67 	-pipe \
     68 	-fPIC \
     69 	-Wno-unused-local-typedefs \
     70 	-EL \
     71 	-mhard-float \
     72 	-ffunction-sections \
     73 	-funwind-tables \
     74 	-g \
     75 	-fstack-protector \
     76 	-fno-short-enums \
     77 	-finline-limit=64 \
     78 	-Wa,--noexecstack \
     79 	-U_FORTIFY_SOURCE \
     80 	-Wno-extra \
     81 	-Wno-ignored-qualifiers \
     82 	-Wno-type-limits \
     83 	-Wno-unused-but-set-variable \
     84 	-Os \
     85 	-g \
     86 	-fdata-sections \
     87 	-ffunction-sections \
     88 	-fomit-frame-pointer \
     89 	-funwind-tables
     90 
     91 MY_DEFS_Debug := \
     92 	'-DCONTENT_IMPLEMENTATION' \
     93 	'-DV8_DEPRECATION_WARNINGS' \
     94 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
     95 	'-D_FILE_OFFSET_BITS=64' \
     96 	'-DNO_TCMALLOC' \
     97 	'-DDISABLE_NACL' \
     98 	'-DCHROMIUM_BUILD' \
     99 	'-DUSE_LIBJPEG_TURBO=1' \
    100 	'-DENABLE_WEBRTC=1' \
    101 	'-DUSE_PROPRIETARY_CODECS' \
    102 	'-DENABLE_BROWSER_CDMS' \
    103 	'-DENABLE_CONFIGURATION_POLICY' \
    104 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    105 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    106 	'-DENABLE_EGLIMAGE=1' \
    107 	'-DCLD_VERSION=1' \
    108 	'-DENABLE_PRINTING=1' \
    109 	'-DENABLE_MANAGED_USERS=1' \
    110 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    111 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    112 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    113 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    114 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    115 	'-DVIDEO_HOLE=1' \
    116 	'-DMOJO_USE_SYSTEM_IMPL' \
    117 	'-DUSE_OPENSSL=1' \
    118 	'-DUSE_OPENSSL_CERTS=1' \
    119 	'-D__STDC_CONSTANT_MACROS' \
    120 	'-D__STDC_FORMAT_MACROS' \
    121 	'-DANDROID' \
    122 	'-D__GNU_SOURCE=1' \
    123 	'-DUSE_STLPORT=1' \
    124 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    125 	'-DCHROME_BUILD_ID=""' \
    126 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    127 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    128 	'-D_DEBUG'
    129 
    130 
    131 # Include paths placed before CFLAGS/CPPFLAGS
    132 LOCAL_C_INCLUDES_Debug := \
    133 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    134 	$(gyp_shared_intermediate_dir) \
    135 	$(LOCAL_PATH) \
    136 	$(PWD)/frameworks/wilhelm/include \
    137 	$(PWD)/bionic \
    138 	$(PWD)/external/stlport/stlport
    139 
    140 
    141 # Flags passed to only C++ (and not C) files.
    142 LOCAL_CPPFLAGS_Debug := \
    143 	-fno-rtti \
    144 	-fno-threadsafe-statics \
    145 	-fvisibility-inlines-hidden \
    146 	-Wsign-compare \
    147 	-Wno-uninitialized \
    148 	-Wno-non-virtual-dtor \
    149 	-Wno-sign-promo
    150 
    151 
    152 LOCAL_FDO_SUPPORT_Debug := false
    153 
    154 # Flags passed to both C and C++ files.
    155 MY_CFLAGS_Release := \
    156 	-fstack-protector \
    157 	--param=ssp-buffer-size=4 \
    158 	 \
    159 	-fno-exceptions \
    160 	-fno-strict-aliasing \
    161 	-Wall \
    162 	-Wno-unused-parameter \
    163 	-Wno-missing-field-initializers \
    164 	-fvisibility=hidden \
    165 	-pipe \
    166 	-fPIC \
    167 	-Wno-unused-local-typedefs \
    168 	-EL \
    169 	-mhard-float \
    170 	-ffunction-sections \
    171 	-funwind-tables \
    172 	-g \
    173 	-fstack-protector \
    174 	-fno-short-enums \
    175 	-finline-limit=64 \
    176 	-Wa,--noexecstack \
    177 	-U_FORTIFY_SOURCE \
    178 	-Wno-extra \
    179 	-Wno-ignored-qualifiers \
    180 	-Wno-type-limits \
    181 	-Wno-unused-but-set-variable \
    182 	-Os \
    183 	-fno-ident \
    184 	-fdata-sections \
    185 	-ffunction-sections \
    186 	-fomit-frame-pointer \
    187 	-funwind-tables
    188 
    189 MY_DEFS_Release := \
    190 	'-DCONTENT_IMPLEMENTATION' \
    191 	'-DV8_DEPRECATION_WARNINGS' \
    192 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    193 	'-D_FILE_OFFSET_BITS=64' \
    194 	'-DNO_TCMALLOC' \
    195 	'-DDISABLE_NACL' \
    196 	'-DCHROMIUM_BUILD' \
    197 	'-DUSE_LIBJPEG_TURBO=1' \
    198 	'-DENABLE_WEBRTC=1' \
    199 	'-DUSE_PROPRIETARY_CODECS' \
    200 	'-DENABLE_BROWSER_CDMS' \
    201 	'-DENABLE_CONFIGURATION_POLICY' \
    202 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    203 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    204 	'-DENABLE_EGLIMAGE=1' \
    205 	'-DCLD_VERSION=1' \
    206 	'-DENABLE_PRINTING=1' \
    207 	'-DENABLE_MANAGED_USERS=1' \
    208 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    209 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    210 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    211 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    212 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    213 	'-DVIDEO_HOLE=1' \
    214 	'-DMOJO_USE_SYSTEM_IMPL' \
    215 	'-DUSE_OPENSSL=1' \
    216 	'-DUSE_OPENSSL_CERTS=1' \
    217 	'-D__STDC_CONSTANT_MACROS' \
    218 	'-D__STDC_FORMAT_MACROS' \
    219 	'-DANDROID' \
    220 	'-D__GNU_SOURCE=1' \
    221 	'-DUSE_STLPORT=1' \
    222 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    223 	'-DCHROME_BUILD_ID=""' \
    224 	'-DNDEBUG' \
    225 	'-DNVALGRIND' \
    226 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    227 	'-D_FORTIFY_SOURCE=2'
    228 
    229 
    230 # Include paths placed before CFLAGS/CPPFLAGS
    231 LOCAL_C_INCLUDES_Release := \
    232 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    233 	$(gyp_shared_intermediate_dir) \
    234 	$(LOCAL_PATH) \
    235 	$(PWD)/frameworks/wilhelm/include \
    236 	$(PWD)/bionic \
    237 	$(PWD)/external/stlport/stlport
    238 
    239 
    240 # Flags passed to only C++ (and not C) files.
    241 LOCAL_CPPFLAGS_Release := \
    242 	-fno-rtti \
    243 	-fno-threadsafe-statics \
    244 	-fvisibility-inlines-hidden \
    245 	-Wsign-compare \
    246 	-Wno-uninitialized \
    247 	-Wno-non-virtual-dtor \
    248 	-Wno-sign-promo
    249 
    250 
    251 LOCAL_FDO_SUPPORT_Release := false
    252 
    253 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    254 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    255 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    256 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    257 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    258 ### Rules for final target.
    259 
    260 LOCAL_LDFLAGS_Debug := \
    261 	-Wl,-z,now \
    262 	-Wl,-z,relro \
    263 	-Wl,--fatal-warnings \
    264 	-Wl,-z,noexecstack \
    265 	-fPIC \
    266 	-EL \
    267 	-Wl,--no-keep-memory \
    268 	-nostdlib \
    269 	-Wl,--no-undefined \
    270 	-Wl,--exclude-libs=ALL \
    271 	-Wl,--warn-shared-textrel \
    272 	-Wl,-O1 \
    273 	-Wl,--as-needed
    274 
    275 
    276 LOCAL_LDFLAGS_Release := \
    277 	-Wl,-z,now \
    278 	-Wl,-z,relro \
    279 	-Wl,--fatal-warnings \
    280 	-Wl,-z,noexecstack \
    281 	-fPIC \
    282 	-EL \
    283 	-Wl,--no-keep-memory \
    284 	-nostdlib \
    285 	-Wl,--no-undefined \
    286 	-Wl,--exclude-libs=ALL \
    287 	-Wl,-O1 \
    288 	-Wl,--as-needed \
    289 	-Wl,--gc-sections \
    290 	-Wl,--warn-shared-textrel
    291 
    292 
    293 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    294 
    295 LOCAL_STATIC_LIBRARIES :=
    296 
    297 # Enable grouping to fix circular references
    298 LOCAL_GROUP_STATIC_LIBRARIES := true
    299 
    300 LOCAL_SHARED_LIBRARIES := \
    301 	libstlport \
    302 	libdl
    303 
    304 # Add target alias to "gyp_all_modules" target.
    305 .PHONY: gyp_all_modules
    306 gyp_all_modules: content_content_common_mojo_bindings_gyp
    307 
    308 # Alias gyp target name.
    309 .PHONY: content_common_mojo_bindings
    310 content_common_mojo_bindings: content_content_common_mojo_bindings_gyp
    311 
    312 include $(BUILD_STATIC_LIBRARY)
    313