diff options
author | sdefresne <sdefresne@chromium.org> | 2015-01-14 01:49:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-14 09:49:52 +0000 |
commit | f900329e4f25bbab1be0514080d14fc500433018 (patch) | |
tree | 482ed0a8b550b1f5eef1dacb64358ca34af24862 /components/favicon_base/BUILD.gn | |
parent | 45065e9ada154b8443f10fb902d7562794f00565 (diff) | |
download | chromium_src-f900329e4f25bbab1be0514080d14fc500433018.zip chromium_src-f900329e4f25bbab1be0514080d14fc500433018.tar.gz chromium_src-f900329e4f25bbab1be0514080d14fc500433018.tar.bz2 |
Move select_favicon_frames_unittest.cc to favicon_base
Move select_favicon_frames_unittest.cc into the favicon_base
with the code that it is testing.
Add the unit_test to the components_unittests, including when
using gn build system.
BUG=359513
Review URL: https://codereview.chromium.org/851693003
Cr-Commit-Position: refs/heads/master@{#311437}
Diffstat (limited to 'components/favicon_base/BUILD.gn')
-rw-r--r-- | components/favicon_base/BUILD.gn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/favicon_base/BUILD.gn b/components/favicon_base/BUILD.gn index 6e40b06..d1e5a75 100644 --- a/components/favicon_base/BUILD.gn +++ b/components/favicon_base/BUILD.gn @@ -16,7 +16,22 @@ source_set("favicon_base") { deps = [ "//base", "//skia", + "//ui/base", "//ui/gfx", "//url", ] } + +source_set("unit_tests") { + testonly = true + sources = [ + "select_favicon_frames_unittest.cc", + ] + + deps = [ + ":favicon_base", + "//testing/gtest", + "//ui/base", + "//ui/gfx", + ] +} |