Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: mojo/edk/util/BUILD.gn

Issue 1423713009: EDK: Move ref counting classes to mojo/edk/util. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/waiter_test_utils.cc ('k') | mojo/edk/util/ref_counted.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/util/BUILD.gn
diff --git a/mojo/edk/util/BUILD.gn b/mojo/edk/util/BUILD.gn
index 2ec20fc2b027eae1660e18c33b4f16b403900df7..775e1a6f92e2002735fe5805fb1e6ca426e988da 100644
--- a/mojo/edk/util/BUILD.gn
+++ b/mojo/edk/util/BUILD.gn
@@ -7,8 +7,49 @@ import("../mojo_edk.gni")
mojo_edk_source_set("util") {
sources = [
"make_unique.h",
+ "ref_counted.h",
+ "ref_counted_internal.h",
+ "ref_ptr.h",
+ "ref_ptr_internal.h",
"scoped_file.h",
]
mojo_edk_configs = [ "mojo/edk/system:system_config" ]
+
+ mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
+}
+
+mojo_edk_source_set("unittests") {
+ testonly = true
+ mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
+
+ sources = [
+ "ref_counted_unittest.cc",
+ ]
+
+ mojo_sdk_deps = [ "mojo/public/cpp/system" ]
+
+ deps = [
+ ":util",
+ "//testing/gtest",
+ ]
+}
+
+mojo_edk_source_set("perftests") {
+ testonly = true
+ mojo_edk_visibility = [ "mojo/edk/system:mojo_system_perftests" ]
+
+ sources = [
+ "ref_counted_perftest.cc",
+ ]
+
+ deps = [
+ ":util",
+ "//testing/gtest",
+ ]
+
+ mojo_edk_deps = [
+ "mojo/edk/system/test",
+ "mojo/edk/system/test:perf",
+ ]
}
« no previous file with comments | « mojo/edk/system/waiter_test_utils.cc ('k') | mojo/edk/util/ref_counted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698