| local_use_binder = 0 |
| local_use_hwid_override = 0 |
| local_use_libcros = 0 |
| local_use_mtd = 0 |
| |
| BUILT_SOURCES = |
| EXTRA_DIST = |
| |
| AM_CPPFLAGS = $(GTEST_CPPFLAGS) $(GMOCK_CPPFLAGS) |
| AM_CFLAGS = -fno-exceptions \ |
| -fno-strict-aliasing \ |
| -Wclobbered \ |
| -Wempty-body \ |
| -Wignored-qualifiers \ |
| -Wmissing-field-initializers \ |
| -Wsign-compare \ |
| -Wtype-limits \ |
| -Wuninitialized \ |
| -Wa,--noexecstack \ |
| -Wall \ |
| -Wextra \ |
| -Wformat=2 \ |
| -Wno-psabi \ |
| -Wno-unused-parameter \ |
| -ffunction-sections \ |
| -fstack-protector-strong \ |
| -fvisibility=hidden \ |
| -D__STDC_FORMAT_MACROS=1 \ |
| $(GLIB_CFLAGS) $(DEPS_CFLAGS) \ |
| -DUSE_BINDER=$(local_use_binder) \ |
| -DUSE_HWID_OVERRIDE=$(local_use_hwid_override) \ |
| -DUSE_LIBCROS=$(local_use_libcros) \ |
| -DUSE_MTD=$(local_use_mtd) \ |
| -DUSE_OMAHA=0 \ |
| -D_FILE_OFFSET_BITS=64 \ |
| -D_POSIX_C_SOURCE=199309L \ |
| -D_UE_SIDELOAD=1 \ |
| -DUSE_DBUS=0 |
| |
| AM_CXXFLAGS = $(AM_CFLAGS) |
| |
| EXTRA_DIST += update_metadata.proto |
| BUILT_SOURCES += update_metadata.pb.cc \ |
| update_metadata.pb.h |
| %.pb.cc %.pb.h: %.proto |
| $(AM_V_GEN) $(PROTOC) --proto_path=$(top_srcdir) --cpp_out=$(top_srcdir) $< |
| |
| noinst_LIBRARIES = libpayload_consumer.a |
| |
| sbin_PROGRAMS = update_engine_sideload |
| |
| libpayload_consumer_a_SOURCES = \ |
| common/action_processor.cc \ |
| common/boot_control_stub.cc \ |
| common/clock.cc \ |
| common/constants.cc \ |
| common/cpu_limiter.cc \ |
| common/error_code_utils.cc \ |
| common/file_fetcher.cc \ |
| common/hash_calculator.cc \ |
| common/http_common.cc \ |
| common/http_fetcher.cc \ |
| common/hwid_override.cc \ |
| common/multi_range_http_fetcher.cc \ |
| common/platform_constants_android.cc \ |
| common/prefs.cc \ |
| common/subprocess.cc \ |
| common/terminator.cc \ |
| common/utils.cc \ |
| payload_consumer/bzip_extent_writer.cc \ |
| payload_consumer/cached_file_descriptor.cc \ |
| payload_consumer/delta_performer.cc \ |
| payload_consumer/download_action.cc \ |
| payload_consumer/extent_reader.cc \ |
| payload_consumer/extent_writer.cc \ |
| payload_consumer/file_descriptor.cc \ |
| payload_consumer/file_descriptor_utils.cc \ |
| payload_consumer/file_writer.cc \ |
| payload_consumer/filesystem_verifier_action.cc \ |
| payload_consumer/install_plan.cc \ |
| payload_consumer/mount_history.cc \ |
| payload_consumer/payload_constants.cc \ |
| payload_consumer/payload_metadata.cc \ |
| payload_consumer/payload_verifier.cc \ |
| payload_consumer/postinstall_runner_action.cc \ |
| payload_consumer/xz_extent_writer.cc |
| |
| if NAND |
| update_engine_sideload_LDADD = libpayload_consumer.a -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcrypto \ |
| -lcurl -llog -lssl -lprotobuf-lite -lpthread -lbz2 -lgflags -lbase -lchrome -lbrillo -lbrillo_stream \ |
| -levent -lbspatch -lfstab -lbootctrl -lxz -lpuffpatch -lbrotli -lnandapi |
| else |
| update_engine_sideload_LDADD = libpayload_consumer.a -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcrypto \ |
| -lcurl -llog -lssl -lprotobuf-lite -lpthread -lbz2 -lgflags -lbase -lchrome -lbrillo -lbrillo_stream \ |
| -levent -lbspatch -lfstab -lbootctrl -lxz -lpuffpatch -lbrotli |
| endif |
| |
| |
| update_engine_sideload_SOURCES = \ |
| update_metadata.pb.cc \ |
| certificate_checker.cc \ |
| daemon.cc \ |
| daemon_state_android.cc \ |
| boot_control_recovery.cc \ |
| hardware_android.cc \ |
| libcurl_http_fetcher.cc \ |
| metrics_reporter_stub.cc \ |
| metrics_utils.cc \ |
| network_selector_stub.cc \ |
| proxy_resolver.cc \ |
| sideload_main.cc \ |
| update_attempter_android.cc \ |
| update_status_utils.cc \ |
| utils_android.cc |
| |
| update_engine_sideload_CFLAGS = -std=c++14 -g -fPIC -c |
| |
| |
| |
| |