summaryrefslogtreecommitdiffstats
path: root/components/crx_file/BUILD.gn
diff options
context:
space:
mode:
authortommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 02:27:26 +0000
committertommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 02:28:55 +0000
commitfdd2837d51c6446e2c417390374fc328a4d25a31 (patch)
tree4c645e72d2db435562ec275305a2a4b705859204 /components/crx_file/BUILD.gn
parent2bfa5cff6b5c3ab9d6ce4380e435b1006c18458e (diff)
downloadchromium_src-fdd2837d51c6446e2c417390374fc328a4d25a31.zip
chromium_src-fdd2837d51c6446e2c417390374fc328a4d25a31.tar.gz
chromium_src-fdd2837d51c6446e2c417390374fc328a4d25a31.tar.bz2
Extensions: Move id_util functions to crx_file component.
Consolidates id_util functions of extension/app/component ids in the crx_file component. It belongs there because these types of ids are not exclusive to extensions, but rather, for anything that comes in a crx file. BUG=371463 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/481433005 Cr-Commit-Position: refs/heads/master@{#290971} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/crx_file/BUILD.gn')
-rw-r--r--components/crx_file/BUILD.gn13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/crx_file/BUILD.gn b/components/crx_file/BUILD.gn
index e8d4798..db28483 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",
+ ]
+}