| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/features.gni") |
| 6 |
| 7 if (enable_pnacl) { |
| 8 group("javascript_key_tester") { |
| 9 deps = [ |
| 10 ":javascript_key_tester_copies", |
| 11 ] |
| 12 } |
| 13 |
| 14 copy("javascript_key_tester_copies") { |
| 15 pexe_dir = get_label_info( |
| 16 "pnacl:remoting_key_tester_newlib(//native_client/build/toolchain/na
cl:newlib_pnacl)", |
| 17 "root_out_dir") |
| 18 |
| 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 ] |
| 31 |
| 32 outputs = [ |
| 33 "$target_out_dir/remoting/key_tester/{{source_file_part}}", |
| 34 ] |
| 35 |
| 36 deps = [ |
| 37 ":javascript_key_tester_jscompile", |
| 38 "pnacl:remoting_key_tester_newlib(//native_client/build/toolchain/nacl:new
lib_pnacl)", |
| 39 ] |
| 40 } |
| 41 |
| 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 } |
| 48 } |
| OLD | NEW |