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