Index: chrome_elf/nt_registry/BUILD.gn |
diff --git a/chrome_elf/nt_registry/BUILD.gn b/chrome_elf/nt_registry/BUILD.gn |
index e58bac7d3bd08b21dea06614cace21eccb859b19..b2b4fffc8993fef6359d53f4ef636d5db5fa12c9 100644 |
--- a/chrome_elf/nt_registry/BUILD.gn |
+++ b/chrome_elf/nt_registry/BUILD.gn |
@@ -18,3 +18,21 @@ static_library("nt_registry") { |
libs = [ "kernel32.lib" ] |
} |
+ |
+##------------------------------------------------------------------------------ |
+## tests |
+##------------------------------------------------------------------------------ |
+ |
+test("nt_registry_unittests") { |
+ output_name = "nt_registry_unittests" |
+ sources = [ |
+ "test/nt_registry_test.cc", |
grt (UTC plus 2)
2016/09/20 10:39:53
please rename nt_registry_test.cc to nt_registry_u
penny
2016/09/23 23:50:57
Done.
I was following the structure of chrome_elf
|
+ "test/run_all_unittests.cc", |
+ ] |
+ deps = [ |
+ ":nt_registry", |
+ "//base", |
+ "//base/test:test_support", |
+ "//testing/gtest", |
+ ] |
+} |