1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := mojo_mojo_environment_chromium_impl_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,mojo_mojo_none_gyp,,,$(GYP_VAR_PREFIX))/mojo_none.stamp 15 16GYP_GENERATED_OUTPUTS := 17 18# Make sure our deps and generated files are built first. 19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21LOCAL_CPP_EXTENSION := .cc 22LOCAL_GENERATED_SOURCES := 23 24GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26LOCAL_SRC_FILES := \ 27 mojo/environment/default_async_waiter_impl.cc \ 28 mojo/environment/default_logger_impl.cc 29 30 31# Flags passed to both C and C++ files. 32MY_CFLAGS_Debug := \ 33 --param=ssp-buffer-size=4 \ 34 -Werror \ 35 -fno-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -Wno-unused-local-typedefs \ 43 -ffunction-sections \ 44 -funwind-tables \ 45 -g \ 46 -fno-short-enums \ 47 -finline-limit=64 \ 48 -Wa,--noexecstack \ 49 -U_FORTIFY_SOURCE \ 50 -Wno-extra \ 51 -Wno-ignored-qualifiers \ 52 -Wno-type-limits \ 53 -Wno-unused-but-set-variable \ 54 -Os \ 55 -g \ 56 -gdwarf-4 \ 57 -fdata-sections \ 58 -ffunction-sections \ 59 -funwind-tables 60 61MY_DEFS_Debug := \ 62 '-DV8_DEPRECATION_WARNINGS' \ 63 '-D_FILE_OFFSET_BITS=64' \ 64 '-DNO_TCMALLOC' \ 65 '-DDISABLE_NACL' \ 66 '-DCHROMIUM_BUILD' \ 67 '-DUSE_LIBJPEG_TURBO=1' \ 68 '-DENABLE_WEBRTC=1' \ 69 '-DUSE_PROPRIETARY_CODECS' \ 70 '-DENABLE_BROWSER_CDMS' \ 71 '-DENABLE_CONFIGURATION_POLICY' \ 72 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 73 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 74 '-DENABLE_EGLIMAGE=1' \ 75 '-DCLD_VERSION=1' \ 76 '-DENABLE_PRINTING=1' \ 77 '-DENABLE_MANAGED_USERS=1' \ 78 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 79 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 80 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 81 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 82 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 83 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 84 '-DVIDEO_HOLE=1' \ 85 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 86 '-DMOJO_ENVIRONMENT_IMPL_IMPLEMENTATION' \ 87 '-DUSE_OPENSSL=1' \ 88 '-DUSE_OPENSSL_CERTS=1' \ 89 '-D__STDC_CONSTANT_MACROS' \ 90 '-D__STDC_FORMAT_MACROS' \ 91 '-DANDROID' \ 92 '-D__GNU_SOURCE=1' \ 93 '-DUSE_STLPORT=1' \ 94 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 95 '-DCHROME_BUILD_ID=""' \ 96 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 97 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 98 '-D_DEBUG' 99 100 101# Include paths placed before CFLAGS/CPPFLAGS 102LOCAL_C_INCLUDES_Debug := \ 103 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 104 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 105 $(gyp_shared_intermediate_dir) \ 106 $(LOCAL_PATH) \ 107 $(PWD)/frameworks/wilhelm/include \ 108 $(PWD)/bionic \ 109 $(PWD)/external/stlport/stlport 110 111 112# Flags passed to only C++ (and not C) files. 113LOCAL_CPPFLAGS_Debug := \ 114 -fno-exceptions \ 115 -fno-rtti \ 116 -fno-threadsafe-statics \ 117 -fvisibility-inlines-hidden \ 118 -Wsign-compare \ 119 -std=gnu++11 \ 120 -Wno-narrowing \ 121 -Wno-literal-suffix \ 122 -Wno-non-virtual-dtor \ 123 -Wno-sign-promo 124 125 126# Flags passed to both C and C++ files. 127MY_CFLAGS_Release := \ 128 --param=ssp-buffer-size=4 \ 129 -Werror \ 130 -fno-strict-aliasing \ 131 -Wall \ 132 -Wno-unused-parameter \ 133 -Wno-missing-field-initializers \ 134 -fvisibility=hidden \ 135 -pipe \ 136 -fPIC \ 137 -Wno-unused-local-typedefs \ 138 -ffunction-sections \ 139 -funwind-tables \ 140 -g \ 141 -fno-short-enums \ 142 -finline-limit=64 \ 143 -Wa,--noexecstack \ 144 -U_FORTIFY_SOURCE \ 145 -Wno-extra \ 146 -Wno-ignored-qualifiers \ 147 -Wno-type-limits \ 148 -Wno-unused-but-set-variable \ 149 -Os \ 150 -fno-ident \ 151 -fdata-sections \ 152 -ffunction-sections \ 153 -funwind-tables 154 155MY_DEFS_Release := \ 156 '-DV8_DEPRECATION_WARNINGS' \ 157 '-D_FILE_OFFSET_BITS=64' \ 158 '-DNO_TCMALLOC' \ 159 '-DDISABLE_NACL' \ 160 '-DCHROMIUM_BUILD' \ 161 '-DUSE_LIBJPEG_TURBO=1' \ 162 '-DENABLE_WEBRTC=1' \ 163 '-DUSE_PROPRIETARY_CODECS' \ 164 '-DENABLE_BROWSER_CDMS' \ 165 '-DENABLE_CONFIGURATION_POLICY' \ 166 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 167 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 168 '-DENABLE_EGLIMAGE=1' \ 169 '-DCLD_VERSION=1' \ 170 '-DENABLE_PRINTING=1' \ 171 '-DENABLE_MANAGED_USERS=1' \ 172 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 173 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 174 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 175 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 176 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 177 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 178 '-DVIDEO_HOLE=1' \ 179 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 180 '-DMOJO_ENVIRONMENT_IMPL_IMPLEMENTATION' \ 181 '-DUSE_OPENSSL=1' \ 182 '-DUSE_OPENSSL_CERTS=1' \ 183 '-D__STDC_CONSTANT_MACROS' \ 184 '-D__STDC_FORMAT_MACROS' \ 185 '-DANDROID' \ 186 '-D__GNU_SOURCE=1' \ 187 '-DUSE_STLPORT=1' \ 188 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 189 '-DCHROME_BUILD_ID=""' \ 190 '-DNDEBUG' \ 191 '-DNVALGRIND' \ 192 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 193 '-D_FORTIFY_SOURCE=2' 194 195 196# Include paths placed before CFLAGS/CPPFLAGS 197LOCAL_C_INCLUDES_Release := \ 198 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 199 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 200 $(gyp_shared_intermediate_dir) \ 201 $(LOCAL_PATH) \ 202 $(PWD)/frameworks/wilhelm/include \ 203 $(PWD)/bionic \ 204 $(PWD)/external/stlport/stlport 205 206 207# Flags passed to only C++ (and not C) files. 208LOCAL_CPPFLAGS_Release := \ 209 -fno-exceptions \ 210 -fno-rtti \ 211 -fno-threadsafe-statics \ 212 -fvisibility-inlines-hidden \ 213 -Wsign-compare \ 214 -std=gnu++11 \ 215 -Wno-narrowing \ 216 -Wno-literal-suffix \ 217 -Wno-non-virtual-dtor \ 218 -Wno-sign-promo 219 220 221LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 222LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 223LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 224LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 225### Rules for final target. 226 227LOCAL_SHARED_LIBRARIES := \ 228 libstlport \ 229 libdl 230 231# Add target alias to "gyp_all_modules" target. 232.PHONY: gyp_all_modules 233gyp_all_modules: mojo_mojo_environment_chromium_impl_gyp 234 235# Alias gyp target name. 236.PHONY: mojo_environment_chromium_impl 237mojo_environment_chromium_impl: mojo_mojo_environment_chromium_impl_gyp 238 239include $(BUILD_STATIC_LIBRARY) 240