Add more to GN files to support tink
Change-Id: Id98fdd3e535f112ca2b2b0bc596f563de0fb2bdb
diff --git a/absl/base/BUILD.gn b/absl/base/BUILD.gn
index 8109466..692384a 100644
--- a/absl/base/BUILD.gn
+++ b/absl/base/BUILD.gn
@@ -127,4 +127,29 @@
]
visibility = []
visibility += [ "../base:*" ]
-}
\ No newline at end of file
+}
+
+source_set("endian") {
+ public_configs = ["//third_party/abseil-cpp:abseil_config"]
+ sources = [
+ "internal/endian.h",
+ "internal/unaligned_access.h",
+ ]
+ deps = [
+ ":config",
+ ":core_headers",
+ ]
+}
+
+source_set("throw_delegate") {
+ public_configs = ["//third_party/abseil-cpp:abseil_config"]
+ sources = [
+ "internal/throw_delegate.cc",
+ "internal/throw_delegate.h",
+ ]
+ deps = [
+ ":base",
+ ":config",
+ ":core_headers",
+ ]
+}
diff --git a/absl/memory/BUILD.gn b/absl/memory/BUILD.gn
new file mode 100644
index 0000000..a4e591d
--- /dev/null
+++ b/absl/memory/BUILD.gn
@@ -0,0 +1,11 @@
+# Copyright 2018 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("memory") {
+ public = ["memory.h"]
+ deps = [
+ "../base:core_headers",
+ "../meta:type_traits",
+ ]
+}
diff --git a/absl/meta/BUILD.gn b/absl/meta/BUILD.gn
new file mode 100644
index 0000000..4d75da3
--- /dev/null
+++ b/absl/meta/BUILD.gn
@@ -0,0 +1,10 @@
+# Copyright 2018 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("type_traits") {
+ public = ["type_traits.h"]
+ deps = [
+ "../base:config"
+ ]
+}
diff --git a/absl/strings/BUILD.gn b/absl/strings/BUILD.gn
index c889b5e..02e2243 100644
--- a/absl/strings/BUILD.gn
+++ b/absl/strings/BUILD.gn
@@ -41,7 +41,14 @@
deps = [
":internal",
- "//third_party/abseil-cpp/absl/base:base",
+ "../base",
+ "../base:config",
+ "../base:core_headers",
+ "../base:endian",
+ "../base:throw_delegate",
+ "../memory",
+ "../meta:type_traits",
+ "../numeric:int128",
]
}