Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / remoting / tools / javascript_key_tester / BUILD.gn
blob7f6cc3108a50874402edc0560f03c62d50d0786c
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
7 if (enable_pnacl) {
8   group("javascript_key_tester") {
9     deps = [
10       ":javascript_key_tester_copies",
11     ]
12   }
14   copy("javascript_key_tester_copies") {
15     pexe_dir = get_label_info(
16             "pnacl:remoting_key_tester_newlib(//build/toolchain/nacl:newlib_pnacl)",
17             "root_out_dir")
19     sources = [
20       "$pexe_dir/remoting_key_tester_newlib.pexe",
21       "background.js",
22       "chord_tracker.js",
23       "event_listeners.js",
24       "icon_128.png",
25       "main.css",
26       "main.html",
27       "main.js",
28       "manifest.json",
29       "pnacl/remoting_key_tester.nmf",
30     ]
32     outputs = [
33       "$target_out_dir/remoting/key_tester/{{source_file_part}}",
34     ]
36     deps = [
37       ":javascript_key_tester_jscompile",
38       "pnacl:remoting_key_tester_newlib(//build/toolchain/nacl:newlib_pnacl)",
39     ]
40   }
42   group("javascript_key_tester_jscompile") {
43     # TODO(GYP): crbug.com/471926 add support for run_jscompile=true.
44     run_jscompile = false
45     if (run_jscompile) {
46     }
47   }