Index: remoting/remoting_key_tester.gypi |
diff --git a/remoting/remoting_key_tester.gypi b/remoting/remoting_key_tester.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e5fdee23154aeeadb98fe6f4b90d345bbce4614 |
--- /dev/null |
+++ b/remoting/remoting_key_tester.gypi |
@@ -0,0 +1,66 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'includes': [ |
+ '../native_client/build/untrusted.gypi', |
+ ], |
+ 'targets': [ |
+ { |
+ 'target_name': 'remoting_key_tester', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'remoting_key_tester_pexe', |
+ ], |
+ 'copies': [ |
+ { |
+ 'destination': '<(PRODUCT_DIR)/remoting/key_tester', |
+ 'files': [ |
+ 'tools/javascript_key_tester/background.js', |
+ 'tools/javascript_key_tester/chord_tracker.js', |
+ 'tools/javascript_key_tester/keyboard_map.js', |
+ 'tools/javascript_key_tester/main.css', |
+ 'tools/javascript_key_tester/main.html', |
+ 'tools/javascript_key_tester/main.js', |
+ 'tools/javascript_key_tester/manifest.json', |
+ 'tools/javascript_key_tester/pnacl/remoting_key_tester.nmf', |
+ '<(PRODUCT_DIR)/remoting_key_tester_newlib.pexe', |
+ ], |
+ } |
+ ], |
+ }, # end of target 'remoting_key_tester' |
+ |
+ { |
+ 'target_name': 'remoting_key_tester_pexe', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', |
+ ], |
+ 'variables': { |
+ 'nacl_untrusted_build': 1, |
+ 'nexe_target': 'remoting_key_tester', |
+ 'build_glibc': 0, |
+ 'build_newlib': 0, |
+ 'build_pnacl_newlib': 1, |
+ 'extra_deps_pnacl_newlib': [ |
+ '>(tc_lib_dir_pnacl_newlib)/libppapi.a', |
+ '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', |
+ ], |
+ }, |
+ 'dependencies': [ |
+ '../ppapi/native_client/native_client.gyp:nacl_irt', |
+ '../ppapi/native_client/native_client.gyp:ppapi_lib', |
+ '../ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
+ ], |
+ 'link_flags': [ |
+ '-lppapi_stub', |
+ |
+ # Base NaCl libraries. |
+ '-lppapi_cpp', |
+ '-lpthread', |
+ '-lnacl_io', |
+ ], |
+ }, # end of target 'remoting_key_tester_pexe' |
+ ], |
+} |