Fix minimal logging build for macos
PiperOrigin-RevId: 308374825 Change-Id: I06775db067207364dcceb0b6ce6d53d17ff057b0
This commit is contained in:
parent
e0fa5b8326
commit
cc532f09c1
@ -21,7 +21,7 @@ limitations under the License.
|
||||
|
||||
#if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID) || \
|
||||
defined(PLATFORM_GOOGLE_IOS) || defined(GOOGLE_LOGGING) || \
|
||||
defined(PLATFORM_PORTABLE_GOOGLE)
|
||||
defined(__EMSCRIPTEN__)
|
||||
#include "tensorflow/core/platform/google/logging.h" // IWYU pragma: export
|
||||
#else
|
||||
#include "tensorflow/core/platform/default/logging.h" // IWYU pragma: export
|
||||
|
@ -34,7 +34,6 @@ limitations under the License.
|
||||
#define PLATFORM_POSIX_IOS
|
||||
#define IS_MOBILE_PLATFORM
|
||||
#else
|
||||
#define PLATFORM_PORTABLE_GOOGLE
|
||||
#define PLATFORM_POSIX
|
||||
#endif
|
||||
|
||||
|
@ -530,9 +530,6 @@ cc_library(
|
||||
"//tensorflow:ios": [
|
||||
"minimal_logging_ios.cc",
|
||||
],
|
||||
"//tensorflow:macos": [
|
||||
"minimal_logging_default.cc",
|
||||
],
|
||||
"//conditions:default": [
|
||||
"minimal_logging_default.cc",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user