aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-07-26 15:13:47 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-26 21:36:40 +0000
commit154e6dadea0db8c72de1fe1e23718e2b6933a660 (patch)
tree0c8ee67066d5d9f3da32bac92c5dc5809f2b2f0b /BUILD.gn
parent2890fbfe1400b81e4d6af98d14dfe757fec93650 (diff)
factor Engine out of ok core
This makes Engines (task execution strategies: serial, thread, fork) pluggable just like most of the rest of ok. It removes the thread and process limits, as I find myself rarely caring about what they are exactly. Instead of limiting to num-cores, we just allow any number of concurrent threads, and any number of concurrent child processes subject to OS limitations. Change-Id: Icef49d86818fe9a4b7380efb60e73e40bc2e6b73 Reviewed-on: https://skia-review.googlesource.com/27140 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 6f39b5debb..5b7b787f93 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -891,14 +891,14 @@ if (skia_enable_tools) {
if (defined(invoker.is_shared_library) && invoker.is_shared_library) {
shared_library("lib" + target_name) {
forward_variables_from(invoker, "*", [ "is_shared_library" ])
- configs += [ ":skia_private", ]
+ configs += [ ":skia_private" ]
testonly = true
}
} else {
_executable = target_name
executable(_executable) {
forward_variables_from(invoker, "*", [ "is_shared_library" ])
- configs += [ ":skia_private", ]
+ configs += [ ":skia_private" ]
testonly = true
}
}
@@ -1268,6 +1268,7 @@ if (skia_enable_tools) {
sources = [
"tools/ok.cpp",
"tools/ok_dsts.cpp",
+ "tools/ok_engines.cpp",
"tools/ok_srcs.cpp",
"tools/ok_test.cpp",
"tools/ok_vias.cpp",