Avoid cpuinfo dependency in Emscripten builds
- OSS cpuinfo doesn't support Emscripten.
- Removing cpuinfo dependency reduces build size.
- cpuinfo on Emscripten is of little value anyway, because no information about
  CPU is provided by the environment.

PiperOrigin-RevId: 273307573
diff --git a/BUILD b/BUILD
index e5c9277..fd297a4 100644
--- a/BUILD
+++ b/BUILD
@@ -726,9 +726,11 @@
         "@FP16",
         "@FXdiv",
         "@clog",
-        "@cpuinfo",
         "@pthreadpool",
-    ],
+    ] + select({
+        ":emscripten": [],
+        "//conditions:default": ["@cpuinfo"],
+    }),
 )
 
 cc_library(