| Index: components/screenshot_taker/BUILD.gn
|
| diff --git a/components/crx_file/BUILD.gn b/components/screenshot_taker/BUILD.gn
|
| similarity index 59%
|
| copy from components/crx_file/BUILD.gn
|
| copy to components/screenshot_taker/BUILD.gn
|
| index 701bcb9aad0d620138bb2647b26daba7f3f61212..34a1b9d2dbfeff34dbea1880a884b9d3d0b2548e 100644
|
| --- a/components/crx_file/BUILD.gn
|
| +++ b/components/screenshot_taker/BUILD.gn
|
| @@ -2,28 +2,27 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -source_set("crx_file") {
|
| +component("screenshot_taker") {
|
| sources = [
|
| - "constants.h",
|
| - "crx_file.cc",
|
| - "crx_file.h",
|
| - "id_util.cc",
|
| - "id_util.h",
|
| + "screenshot_taker.cc",
|
| + "screenshot_taker.h",
|
| ]
|
|
|
| deps = [
|
| - "//base",
|
| + "//ui/snapshot",
|
| + "//skia",
|
| ]
|
| }
|
|
|
| source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| - "id_util_unittest.cc",
|
| + "screenshot_taker_unittest.cc",
|
| ]
|
|
|
| deps = [
|
| - ":crx_file",
|
| + ":screenshot_taker",
|
| "//testing/gtest",
|
| + "//ui/aura:test_support",
|
| ]
|
| }
|
|
|