Skip to content

Commit

Permalink
removes dead C fakes and Makefile rule
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglabenz committed Nov 8, 2023
1 parent e45639e commit 0edf7c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 70 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ test_core:
generate_text:
cd packages/mediapipe-task-text && dart --enable-experiment=native-assets run ffigen --config=ffigen.yaml

# Compiles the faked C artifacts for testing
compile_fake_text:
# Builds standalone executable
cd packages/mediapipe-task-text/test/c && gcc fake_text_classifier.c -o fake_text_classifier
# Builds what Flutter needs
cd packages/mediapipe-task-text/test/c && gcc -static -c -fPIC *.c -o fake_text_classifier.o
cd packages/mediapipe-task-text/test/c && gcc -shared -o fake_text_classifier.dylib fake_text_classifier.o

# Runs `ffigen` for `mediapipe_text` and all text tests
test_text: compile_fake_text test_text_only

Expand Down
62 changes: 0 additions & 62 deletions packages/mediapipe-task-text/test/c/fake_text_classifier.c

This file was deleted.

0 comments on commit 0edf7c7

Please sign in to comment.