Skip to content

Commit

Permalink
Changes imported from Abseil "staging" branch:
Browse files Browse the repository at this point in the history
  - 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc Fix broken links, and remove old README files from Git. by Daniel Katz <katzdm@google.com>
  - 174287df7bc7c1832fe4a66d82ee0f61a8788460 Remove "test_dependencies.bzl" file. Not needed. by Daniel Katz <katzdm@google.com>
  - 4e9416b389e61f5258c3a7fc0f7966f03d9ae086 Fix broken about/intro link in README.md by Abseil Team <absl-team@google.com>
  - 2a662ff187987246cf8f3c1de83eaa23f1d2c034 Delete extraneous comments. by Abseil Team <absl-team@google.com>
  - 3bdc2d15af21e0297ccf39c90c0ed51a35900679 Cleanup usage of GUNIT_DEPS_SELECTOR/GUNIT_MAIN_DEPS_SELE... by Gennadiy Rozental <rogeeff@google.com>
  - bec32fc8efee3ae5b67c07dcae08d74540c944d0 Enable time_test on windows: by Xiaoyi Zhang <zhangxy@google.com>

GitOrigin-RevId: 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc
Change-Id: I9556164f6b48dae1fa02b2ec6444517faed23e1f
  • Loading branch information
Abseil Team authored and katzdm committed Sep 25, 2017
1 parent cf6ab6b commit 2a62fbd
Show file tree
Hide file tree
Showing 16 changed files with 116 additions and 248 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,40 +33,40 @@ a whole.

Abseil contains the following C++ library components:

* [`base`](base/) Abseil Fundamentals
* [`base`](absl/base/) Abseil Fundamentals
<br /> The `base` library contains initialization code and other code which
all other Abseil code depends on. Code within `base` may not depend on any
other code (other than the C++ standard library).
* [`algorithm`](algorithm/)
* [`algorithm`](absl/algorithm/)
<br /> The `algorithm` library contains additions to the C++ `<algorithm>`
library and container-based versions of such algorithms.
* [`container`](container)
* [`container`](absl/container/)
<br /> The `container` library contains additional STL-style containers.
* [`debugging`](debugging)
* [`debugging`](absl/debugging/)
<br /> The `debugging` library contains code useful for enabling leak
checks. Future updates will add stacktrace and symbolization utilities.
* [`memory`](memory)
* [`memory`](absl/memory/)
<br /> The `memory` library contains C++11-compatible versions of
`std::make_unique()` and related memory management facilities.
* [`meta`](meta)
* [`meta`](absl/meta/)
<br /> The `meta` library contains C++11-compatible versions of type checks
available within C++14 and C++17 versions of the C++ `<type_traits>` library.
* [`numeric`](numeric)
* [`numeric`](absl/numeric/)
<br /> The `numeric` library contains C++11-compatible 128-bit integers.
* [`strings`](strings)
* [`strings`](absl/strings/)
<br /> The `strings` library contains a variety of strings routines and
utilities, including a C++11-compatible version of the C++17
`std::string_view` type.
* [`synchronization`](synchronization)
* [`synchronization`](absl/synchronization/)
<br /> The `synchronization` library contains concurrency primitives (Abseil's
`absl::Mutex` class, an alternative to `std::mutex`) and a variety of
synchronization abstractions.
* [`time`](time)
* [`time`](absl/time/)
<br /> The `time` library contains abstractions for computing with absolute
points in time, durations of time, and formatting and parsing time within
time zones.
* [`types`](types)
<br /> The `types` library contains non-container utility types, like a
* [`types`](absl/types/)
<br /> The `types` library contains non-container utility types, like a
C++11-compatible version of `absl::optional`.

## License
Expand All @@ -78,10 +78,11 @@ license. See [LICENSE](LICENSE) for more information.

For more information about Abseil:

* Consult our [Abseil Introduction](http://abseil.io/about/about/intro)
* Consult our [Abseil Introduction](http://abseil.io/about/intro)
* Read [Why Adopt Abseil](http://abseil.io/about/philosophy) to understand our
design philosophy.
* Peruse our [Abseil Project Contract](http://abseil.io/about/contract) to
* Peruse our
[Abseil Compatibility Guarantees](http://abseil.io/about/compatibility) to
understand both what we promise to you, and what we expect of you in return.

## Disclaimer
Expand Down
12 changes: 6 additions & 6 deletions absl/algorithm/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ load(
"ABSL_DEFAULT_COPTS",
"ABSL_TEST_COPTS",
)
load(
"//absl:test_dependencies.bzl",
"GUNIT_MAIN_DEPS_SELECTOR",
)

package(default_visibility = ["//visibility:public"])

Expand All @@ -39,7 +35,10 @@ cc_test(
size = "small",
srcs = ["algorithm_test.cc"],
copts = ABSL_TEST_COPTS,
deps = [":algorithm"] + select(GUNIT_MAIN_DEPS_SELECTOR),
deps = [
":algorithm",
"@com_google_googletest//:gtest_main",
],
)

cc_library(
Expand All @@ -65,5 +64,6 @@ cc_test(
"//absl/base:core_headers",
"//absl/memory",
"//absl/types:span",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)
34 changes: 19 additions & 15 deletions absl/base/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ load(
"ABSL_TEST_COPTS",
"ABSL_EXCEPTIONS_FLAG",
)
load(
"//absl:test_dependencies.bzl",
"GUNIT_MAIN_DEPS_SELECTOR",
"GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR",
)

package(default_visibility = ["//visibility:public"])

Expand Down Expand Up @@ -176,7 +171,8 @@ cc_test(
deps = [
":base",
":core_headers",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_library(
Expand All @@ -200,7 +196,8 @@ cc_test(
copts = ABSL_TEST_COPTS + ABSL_EXCEPTIONS_FLAG,
deps = [
":throw_delegate",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_library(
Expand All @@ -221,9 +218,10 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":base_internal",
"//absl/strings",
"//absl/memory",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"//absl/strings",
"@com_google_googletest//:gtest_main",
],
)

# Common test library made available for use in non-absl code that overrides
Expand Down Expand Up @@ -278,7 +276,8 @@ cc_test(
":base",
":config",
":endian",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -287,7 +286,8 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":config",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -298,7 +298,8 @@ cc_test(
":base",
":core_headers",
"//absl/synchronization",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -319,7 +320,8 @@ cc_test(
deps = [
":base",
"//absl/synchronization",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand Down Expand Up @@ -347,7 +349,8 @@ cc_test(
":base",
":core_headers",
"//absl/synchronization",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -369,5 +372,6 @@ cc_test(
],
deps = [
":malloc_extension",
] + select(GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)
19 changes: 10 additions & 9 deletions absl/container/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ load(
"ABSL_DEFAULT_COPTS",
"ABSL_TEST_COPTS",
)
load(
"//absl:test_dependencies.bzl",
"GUNIT_MAIN_DEPS_SELECTOR",
)

package(default_visibility = ["//visibility:public"])

Expand All @@ -49,7 +45,8 @@ cc_test(
"//absl/base:core_headers",
"//absl/base:exception_testing",
"//absl/memory",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -61,7 +58,8 @@ cc_test(
"//absl/base:core_headers",
"//absl/base:exception_testing",
"//absl/memory",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_library(
Expand All @@ -88,7 +86,8 @@ cc_test(
"//absl/base:exception_testing",
"//absl/memory",
"//absl/strings",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_test(
Expand All @@ -103,7 +102,8 @@ cc_test(
"//absl/base:exception_testing",
"//absl/memory",
"//absl/strings",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)

cc_library(
Expand All @@ -120,5 +120,6 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":test_instance_tracker",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)
7 changes: 2 additions & 5 deletions absl/memory/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ load(
"ABSL_DEFAULT_COPTS",
"ABSL_TEST_COPTS",
)
load(
"//absl:test_dependencies.bzl",
"GUNIT_MAIN_DEPS_SELECTOR",
)

package(default_visibility = ["//visibility:public"])

Expand All @@ -43,5 +39,6 @@ cc_test(
":memory",
"//absl/base",
"//absl/base:core_headers",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)
22 changes: 0 additions & 22 deletions absl/memory/README.md

This file was deleted.

7 changes: 2 additions & 5 deletions absl/numeric/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ load(
"ABSL_DEFAULT_COPTS",
"ABSL_TEST_COPTS",
)
load(
"//absl:test_dependencies.bzl",
"GUNIT_MAIN_DEPS_SELECTOR",
)

package(default_visibility = ["//visibility:public"])

Expand Down Expand Up @@ -35,5 +31,6 @@ cc_test(
"//absl/base",
"//absl/base:core_headers",
"//absl/meta:type_traits",
] + select(GUNIT_MAIN_DEPS_SELECTOR),
"@com_google_googletest//:gtest_main",
],
)
Loading

0 comments on commit 2a62fbd

Please sign in to comment.