Skip to content

Commit

Permalink
build: build resource_util_unity.cc for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Nov 24, 2020
1 parent 3b58752 commit a71e613
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions C/third_party/mediapipe_model_path.diff
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/mediapipe/util/BUILD b/mediapipe/util/BUILD
index 9347fc0..0829d76 100644
index 9347fc0..45dcef5 100644
--- a/mediapipe/util/BUILD
+++ b/mediapipe/util/BUILD
@@ -146,11 +146,20 @@ cc_library(
@@ -146,13 +146,21 @@ cc_library(
],
)

Expand All @@ -23,9 +23,11 @@ index 9347fc0..0829d76 100644
- "//mediapipe:android": ["resource_util_android.cc"],
+ "//conditions:default": ["resource_util_unity.cc"],
"//mediapipe:ios": ["resource_util_apple.cc"],
"//mediapipe:macos": ["resource_util.cc"],
- "//mediapipe:macos": ["resource_util.cc"],
}),
@@ -173,13 +182,7 @@ cc_library(
hdrs = ["resource_util.h"],
# We use Objective-C++ on iOS.
@@ -173,13 +181,7 @@ cc_library(
"@com_google_absl//absl/strings",
] + select({
"//conditions:default": [
Expand Down

0 comments on commit a71e613

Please sign in to comment.