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 { |
| 6 'includes': [ |
| 7 '../native_client/build/untrusted.gypi', |
| 8 ], |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'remoting_key_tester', |
| 12 'type': 'none', |
| 13 'dependencies': [ |
| 14 'remoting_key_tester_pexe', |
| 15 ], |
| 16 'copies': [ |
| 17 { |
| 18 'destination': '<(PRODUCT_DIR)/remoting/key_tester', |
| 19 'files': [ |
| 20 'tools/javascript_key_tester/background.js', |
| 21 'tools/javascript_key_tester/chord_tracker.js', |
| 22 'tools/javascript_key_tester/keyboard_map.js', |
| 23 'tools/javascript_key_tester/main.css', |
| 24 'tools/javascript_key_tester/main.html', |
| 25 'tools/javascript_key_tester/main.js', |
| 26 'tools/javascript_key_tester/manifest.json', |
| 27 'tools/javascript_key_tester/pnacl/remoting_key_tester.nmf', |
| 28 '<(PRODUCT_DIR)/remoting_key_tester_newlib.pexe', |
| 29 ], |
| 30 } |
| 31 ], |
| 32 }, # end of target 'remoting_key_tester' |
| 33 |
| 34 { |
| 35 'target_name': 'remoting_key_tester_pexe', |
| 36 'type': 'none', |
| 37 'sources': [ |
| 38 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', |
| 39 ], |
| 40 'variables': { |
| 41 'nacl_untrusted_build': 1, |
| 42 'nexe_target': 'remoting_key_tester', |
| 43 'build_glibc': 0, |
| 44 'build_newlib': 0, |
| 45 'build_pnacl_newlib': 1, |
| 46 'extra_deps_pnacl_newlib': [ |
| 47 '>(tc_lib_dir_pnacl_newlib)/libppapi.a', |
| 48 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', |
| 49 ], |
| 50 }, |
| 51 'dependencies': [ |
| 52 '../ppapi/native_client/native_client.gyp:nacl_irt', |
| 53 '../ppapi/native_client/native_client.gyp:ppapi_lib', |
| 54 '../ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
| 55 ], |
| 56 'link_flags': [ |
| 57 '-lppapi_stub', |
| 58 |
| 59 # Base NaCl libraries. |
| 60 '-lppapi_cpp', |
| 61 '-lpthread', |
| 62 '-lnacl_io', |
| 63 ], |
| 64 }, # end of target 'remoting_key_tester_pexe' |
| 65 ], |
| 66 } |
OLD | NEW |