[M120 Migration][Gamepad]Add gamepad event latency Test code
[platform/framework/web/chromium-efl.git] / build / toolchain / BUILD.gn
1 # Copyright 2016 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/toolchain/concurrent_links.gni")
6 import("//build/toolchain/goma.gni")
7 import("//build/toolchain/rbe.gni")
8
9 declare_args() {
10   # Pool for non goma tasks.
11   action_pool_depth = -1
12 }
13
14 if (current_toolchain == default_toolchain) {
15   if (action_pool_depth == -1 || (use_goma || use_remoteexec)) {
16     action_pool_depth = exec_script("get_cpu_count.py", [], "value")
17   }
18
19   pool("link_pool") {
20     depth = concurrent_links
21   }
22
23   pool("action_pool") {
24     depth = action_pool_depth
25   }
26
27   pool("remote_action_pool") {
28     depth = 1000
29   }
30 }