blob: 5085b4ac5176d34b1d598750e21754ad74a2f400 [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//go:build !with_embedded_agent
package embeddedagent
import (
"errors"
)
var err error = errors.New("fflash was built incorrectly, embedded dut-agent is not available")
// SelfCheck returns an error if the embeddedagent was built incorrectly
func SelfCheck() error {
return err
}
// ExecutableForArch returns the executable binary of dut-agent for the arch.
func ExecutableForArch(arch string) ([]byte, error) {
return nil, err
}