Skip to content

Fix bundled_executor_runner schema visibility issue #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <executorch/runtime/platform/log.h>
#include <executorch/runtime/platform/profiler.h>
#include <executorch/runtime/platform/runtime.h>
#include <executorch/schema/bundled_program_schema_generated.h>
#include <executorch/util/bundled_program_verification.h>
#include <executorch/util/util.h>

Expand Down Expand Up @@ -83,13 +82,6 @@ int main(int argc, char** argv) {
bundled_program_path,
(unsigned int)file_data.error());

// Check whether the file is a bundled program.
ET_CHECK_MSG(
executorch_flatbuffer::BundledProgramBufferHasIdentifier(
file_data->data()),
"The file '%s' is not a bundled program.",
bundled_program_path);

// Find the offset to the embedded Program.
const void* program_data;
size_t program_data_len;
Expand Down
1 change: 0 additions & 1 deletion examples/sdk/bundled_executor_runner/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def define_common_targets():
"//executorch/runtime/executor:program",
"//executorch/extension/data_loader:file_data_loader",
"//executorch/extension/data_loader:buffer_data_loader",
"//executorch/schema:bundled_program_schema",
"//executorch/util:util",
"//executorch/util:bundled_program_verification",
],
Expand Down