Change log:e1ef7d4b6b..105c043148Full diff:e1ef7d4b6b..105c043148Roll chromium third_party ab9fbe29c9..6cd8e71424 Change log:ab9fbe29c9..6cd8e71424Changed dependencies: * src/base:03e1bc561f..95c3466bc7* src/build:bb306be407..7ccebdabd9* src/ios:48697bf3a1..a5c76c8f1d* src/testing:6440c4ea3a..7c8625bcae* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f153b902be..44fc6f687b * src/third_party/depot_tools:1cabdc4643..a28b14f122* src/tools:66f1089d0c..7d0c51bb6eDEPS diff:e1ef7d4b6b..105c043148/DEPS No update to Clang. TBR=buildbot@webrtc.org, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal NO_AUTOIMPORT_DEPS_CHECK=true Change-Id: Ie8d2986265a6a36889068a3f5916408456cdc09c Reviewed-on: https://webrtc-review.googlesource.com/84701 Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org> Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23713}
62 lines
1.5 KiB
Python
62 lines
1.5 KiB
Python
#
|
|
# Copyright 2017 The Abseil Authors.
|
|
#
|
|
# 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
|
|
#
|
|
# http://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.
|
|
#
|
|
|
|
load(
|
|
"//absl:copts.bzl",
|
|
"ABSL_DEFAULT_COPTS",
|
|
"ABSL_TEST_COPTS",
|
|
"ABSL_EXCEPTIONS_FLAG",
|
|
)
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
cc_library(
|
|
name = "memory",
|
|
hdrs = ["memory.h"],
|
|
copts = ABSL_DEFAULT_COPTS,
|
|
deps = [
|
|
"//absl/base:core_headers",
|
|
"//absl/meta:type_traits",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "memory_test",
|
|
srcs = ["memory_test.cc"],
|
|
copts = ABSL_TEST_COPTS,
|
|
deps = [
|
|
":memory",
|
|
"//absl/base",
|
|
"//absl/base:core_headers",
|
|
"@com_google_googletest//:gtest_main",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "memory_exception_safety_test",
|
|
srcs = [
|
|
"memory_exception_safety_test.cc",
|
|
],
|
|
copts = ABSL_TEST_COPTS + ABSL_EXCEPTIONS_FLAG,
|
|
deps = [
|
|
":memory",
|
|
"//absl/base:exception_safety_testing",
|
|
"@com_google_googletest//:gtest_main",
|
|
],
|
|
)
|