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

Unified Diff: components/screenshot_taker/BUILD.gn

Issue 706013004: Move non-browser specific ScreenshotTaker code to ui/snapshot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restrict to use_aura==1 and fix gn build Created 6 years, 1 month 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
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",
]
}

Powered by Google App Engine
This is Rietveld 408576698