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

Unified Diff: components/crx_file/BUILD.gn

Issue 481433005: Extensions: Move id_util functions to crx_file component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert last patchset. function returns Extension* and can't use an assert. Created 6 years, 4 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 | « components/crx_file.gypi ('k') | components/crx_file/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crx_file/BUILD.gn
diff --git a/components/crx_file/BUILD.gn b/components/crx_file/BUILD.gn
index e8d4798f777e7116eb20136f8906bf410bac8150..db28483a1feae88144a107001e2b0a725e6de31c 100644
--- a/components/crx_file/BUILD.gn
+++ b/components/crx_file/BUILD.gn
@@ -7,9 +7,22 @@ source_set("crx_file") {
"constants.h",
"crx_file.cc",
"crx_file.h",
+ "id_util.cc",
+ "id_util.h",
]
deps = [
"//base",
]
}
+
+source_set("unit_tests") {
+ sources = [
+ "id_util_unittest.cc",
+ ]
+
+ deps = [
+ ":crx_file",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/crx_file.gypi ('k') | components/crx_file/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698