mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Internal change
PiperOrigin-RevId: 377101972
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
# Copyright 2020 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
cc_library(
|
||||
name = "config",
|
||||
hdrs = [
|
||||
"config.h",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:private",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "string",
|
||||
hdrs = [
|
||||
"string.h",
|
||||
],
|
||||
visibility = [
|
||||
],
|
||||
deps = [
|
||||
":config",
|
||||
],
|
||||
)
|
||||
@@ -1,36 +0,0 @@
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef PLATFORM_CONFIG_CONFIG_H_
|
||||
#define PLATFORM_CONFIG_CONFIG_H_
|
||||
|
||||
// Clients can modify this file to customize the Nearby C++ codebase as per
|
||||
// their particular constraints and environments.
|
||||
|
||||
// Note: Every entry in this file should conform to the following format, to
|
||||
// give precedence to command-line options (-D) that set these symbols:
|
||||
//
|
||||
// #ifndef XXX
|
||||
// #define XXX 0/1
|
||||
// #endif
|
||||
|
||||
#ifndef NEARBY_USE_STD_STRING
|
||||
#define NEARBY_USE_STD_STRING 0
|
||||
#endif
|
||||
|
||||
#ifndef NEARBY_USE_RTTI
|
||||
#define NEARBY_USE_RTTI 1
|
||||
#endif
|
||||
|
||||
#endif // PLATFORM_CONFIG_CONFIG_H_
|
||||
@@ -1,26 +0,0 @@
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef PLATFORM_CONFIG_STRING_H_
|
||||
#define PLATFORM_CONFIG_STRING_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "platform/config/config.h"
|
||||
|
||||
#if NEARBY_USE_STD_STRING
|
||||
using std::string;
|
||||
#endif
|
||||
|
||||
#endif // PLATFORM_CONFIG_STRING_H_
|
||||
Reference in New Issue
Block a user