OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 if (enable_pnacl) { | 7 if (enable_pnacl) { |
8 group("javascript_key_tester") { | 8 group("javascript_key_tester") { |
9 deps = [ | 9 deps = [ |
10 ":javascript_key_tester_copies", | 10 ":javascript_key_tester_copies", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 copy("javascript_key_tester_copies") { | 14 copy("javascript_key_tester_copies") { |
15 pexe_dir = get_label_info( | 15 pexe_dir = get_label_info( |
16 "pnacl:remoting_key_tester_newlib(//native_client/build/toolchain/na
cl:newlib_pnacl)", | 16 "pnacl:remoting_key_tester_newlib(//build/toolchain/nacl:newlib_pnac
l)", |
17 "root_out_dir") | 17 "root_out_dir") |
18 | 18 |
19 sources = [ | 19 sources = [ |
20 "$pexe_dir/remoting_key_tester_newlib.pexe", | 20 "$pexe_dir/remoting_key_tester_newlib.pexe", |
21 "background.js", | 21 "background.js", |
22 "chord_tracker.js", | 22 "chord_tracker.js", |
23 "event_listeners.js", | 23 "event_listeners.js", |
24 "icon_128.png", | 24 "icon_128.png", |
25 "main.css", | 25 "main.css", |
26 "main.html", | 26 "main.html", |
27 "main.js", | 27 "main.js", |
28 "manifest.json", | 28 "manifest.json", |
29 "pnacl/remoting_key_tester.nmf", | 29 "pnacl/remoting_key_tester.nmf", |
30 ] | 30 ] |
31 | 31 |
32 outputs = [ | 32 outputs = [ |
33 "$target_out_dir/remoting/key_tester/{{source_file_part}}", | 33 "$target_out_dir/remoting/key_tester/{{source_file_part}}", |
34 ] | 34 ] |
35 | 35 |
36 deps = [ | 36 deps = [ |
37 ":javascript_key_tester_jscompile", | 37 ":javascript_key_tester_jscompile", |
38 "pnacl:remoting_key_tester_newlib(//native_client/build/toolchain/nacl:new
lib_pnacl)", | 38 "pnacl:remoting_key_tester_newlib(//build/toolchain/nacl:newlib_pnacl)", |
39 ] | 39 ] |
40 } | 40 } |
41 | 41 |
42 group("javascript_key_tester_jscompile") { | 42 group("javascript_key_tester_jscompile") { |
43 # TODO(GYP): crbug.com/471926 add support for run_jscompile=true. | 43 # TODO(GYP): crbug.com/471926 add support for run_jscompile=true. |
44 run_jscompile = false | 44 run_jscompile = false |
45 if (run_jscompile) { | 45 if (run_jscompile) { |
46 } | 46 } |
47 } | 47 } |
48 } | 48 } |
OLD | NEW |