Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: remoting/remoting_key_tester.gypi

Issue 884703006: Handling PNaCl KeyboardInputEvent(s) in the key tester app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a typo in javascript type annotation. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/remoting.gyp ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 '../build/common_untrusted.gypi',
8 ],
9
10 'variables': {
11 'remoting_key_tester_js_files': [
12 'tools/javascript_key_tester/background.js',
13 'tools/javascript_key_tester/chord_tracker.js',
14 'tools/javascript_key_tester/keyboard_map.js',
15 'tools/javascript_key_tester/main.js',
16 ],
17 },
18
19 'targets': [
20 {
21 'target_name': 'remoting_key_tester',
22 'type': 'none',
23 'dependencies': [
24 'remoting_key_tester_pexe',
25 ],
26 'copies': [
27 {
28 'destination': '<(PRODUCT_DIR)/remoting/key_tester',
29 'files': [
30 '<@(remoting_key_tester_js_files)',
31 'tools/javascript_key_tester/main.css',
32 'tools/javascript_key_tester/main.html',
33 'tools/javascript_key_tester/manifest.json',
34 'tools/javascript_key_tester/pnacl/remoting_key_tester.nmf',
35 '<(PRODUCT_DIR)/remoting_key_tester_newlib.pexe',
36 ],
37 }
38 ],
39 # TODO(lukasza): Make remoting_key_tester jscompile-clean.
40 # 'conditions': [
41 # ['run_jscompile != 0', {
42 # 'dependencies': [
43 # 'remoting_key_tester_jscompile',
44 # ],
45 # }],
46 # ],
47 }, # end of target 'remoting_key_tester'
48
49 {
50 'target_name': 'remoting_key_tester_jscompile',
51 'type': 'none',
52 'variables': {
53 'success_stamp': '<(PRODUCT_DIR)/<(_target_name).stamp',
54 },
55 'actions': [
56 {
57 'action_name': 'jscompile remoting_key_tester',
58 'inputs': [
59 '<@(remoting_key_tester_js_files)',
60 ],
61 'outputs': [
62 '<(success_stamp)',
63 ],
64 'action': [
65 'python', '../third_party/closure_compiler/checker.py',
66 '--strict',
67 '--no-single-file',
68 '--success-stamp', '<(success_stamp)',
69 '<@(remoting_key_tester_js_files)',
70 ],
71 },
72 ], # actions
73 }, # end of target 'remoting_key_tester_jscompile'
74
75 {
76 'target_name': 'remoting_key_tester_pexe',
77 'type': 'none',
78 'sources': [
79 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc',
80 ],
81 'variables': {
82 'nexe_target': 'remoting_key_tester',
83 'build_glibc': 0,
84 'build_newlib': 0,
85 'build_pnacl_newlib': 1,
86 'extra_deps_pnacl_newlib': [
87 '>(tc_lib_dir_pnacl_newlib)/libppapi.a',
88 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a',
89 ],
90 },
91 'link_flags': [
teravest 2015/02/02 22:33:37 I feel like you should be able to depend on agains
92 '-lppapi_stub',
93 '-lppapi_cpp',
94 ],
95 }, # end of target 'remoting_key_tester_pexe'
96 ],
97 }
OLDNEW
« no previous file with comments | « remoting/remoting.gyp ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698