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