Fix minimal logging build for macos

PiperOrigin-RevId: 308374825
Change-Id: I06775db067207364dcceb0b6ce6d53d17ff057b0
This commit is contained in:
Mihai Maruseac 2020-04-24 20:52:23 -07:00 committed by TensorFlower Gardener
parent e0fa5b8326
commit cc532f09c1
3 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -530,9 +530,6 @@ cc_library(
"//tensorflow:ios": [
"minimal_logging_ios.cc",
],
"//tensorflow:macos": [
"minimal_logging_default.cc",
],
"//conditions:default": [
"minimal_logging_default.cc",
],