cros_generate_test_payload: Do not use devserver to generate payloads

There is no need to run a devserver just to create an update
payload. This patch removes this use case and replaces it with direct
calls to cros_generate_update_payload.

--nplu1, --nplus1_archive_dir, --full_payload, --base_latest_from_dir
flags and the code for generating stateful partition payload are seem to
be dead code. This patch also removes them.

TEST=betty-chrome-pfq-tryjob at

Change-Id: I8fa87642c016687843fe0c553e846a9db399a2d0
Commit-Ready: ChromeOS CL Exonerator Bot <>
Tested-by: Amin Hassani <>
Reviewed-by: Amin Hassani <>
2 files changed