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

Unified Diff: BUILD.gn

Issue 2338173006: GN: build get_images_from_skps. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 0bd26360519250dae0dd4b3b1cb13981ebc48249..cc608f35af7d8c459a9a63b617b9506f47f6cc40 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -640,10 +640,16 @@ if (skia_enable_tools) {
public_include_dirs = [ "tools/flags" ]
sources = [
"tools/flags/SkCommandLineFlags.cpp",
+ ]
+ }
+ test_lib("common_flags") {
+ public_include_dirs = [ "tools/flags" ]
+ sources = [
"tools/flags/SkCommonFlags.cpp",
"tools/flags/SkCommonFlagsConfig.cpp",
]
deps = [
+ ":flags",
":gpu_tool_utils",
]
}
@@ -676,6 +682,7 @@ if (skia_enable_tools) {
"tools/timer/Timer.cpp",
]
deps = [
+ ":common_flags",
":flags",
"//third_party/libpng",
]
@@ -789,6 +796,7 @@ if (skia_enable_tools) {
]
include_dirs = [ "tests" ]
deps = [
+ ":common_flags",
":experimental_svg_model",
":flags",
":gm",
@@ -819,6 +827,7 @@ if (skia_enable_tools) {
]
deps = [
":bench",
+ ":common_flags",
":experimental_svg_model",
":flags",
":gm",
@@ -853,4 +862,16 @@ if (skia_enable_tools) {
]
testonly = true
}
+
+ executable("get_images_from_skps") {
+ sources = [
+ "tools/get_images_from_skps.cpp",
+ ]
+ deps = [
+ ":flags",
+ ":skia",
+ "//third_party/jsoncpp",
+ ]
+ testonly = true
+ }
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698