message: Check for TENSORFLOW_LITE_PROTOS instead of __ANDROID__ when checking whether the full/lite protobuf implementation is being used.
diff: @@ -48,7 +48,7 @@ namespace tensorflow {
  namespace {
  NodeDef StripTensorDataFromNodeDef(OpKernelConstruction* ctx) {
  -#ifndef __ANDROID__
  +#ifndef TENSORFLOW_LITE_PROTOS
  DCHECK_EQ(NodeDef::descriptor()->field_count(), 6)
  << "The NodeDef format has changed, and the attr-stripping code may need "
  << "to be updated.";
  