[WebView] Reword crash handler message.
[chromium-blink-merge.git] / remoting / remoting_key_tester.gypi
blobca8c5029a621ffee6aedac8c6a131c1597c21b28
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.
6   'includes': [
7     '../build/common_untrusted.gypi',
8   ],
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/event_listeners.js',
15         'tools/javascript_key_tester/keyboard_map.js',
16         'tools/javascript_key_tester/main.js',
17      ],
18   },
20   'conditions': [
21     ['disable_nacl==0 and disable_nacl_untrusted==0', {
22       'targets': [
23         {
24           'target_name': 'remoting_key_tester',
25           'type': 'none',
26           'dependencies': [
27             'remoting_key_tester_pexe',
28             'remoting_key_tester_jscompile',
29           ],
30           'copies': [
31             {
32               'destination': '<(PRODUCT_DIR)/remoting/key_tester',
33               'files': [
34                 '<@(remoting_key_tester_js_files)',
35                 'tools/javascript_key_tester/main.css',
36                 'tools/javascript_key_tester/main.html',
37                 'tools/javascript_key_tester/manifest.json',
38                 'tools/javascript_key_tester/icon_128.png',
39                 'tools/javascript_key_tester/pnacl/remoting_key_tester.nmf',
40                 '<(PRODUCT_DIR)/remoting_key_tester_newlib.pexe',
41               ],
42             }
43           ],
44         },  # end of target 'remoting_key_tester'
46         {
47           'target_name': 'remoting_key_tester_jscompile',
48           'type': 'none',
49           'conditions': [
50             ['run_jscompile != 0', {
51               'variables': {
52                 'success_stamp': '<(PRODUCT_DIR)/<(_target_name).stamp',
53               },
54               'actions': [
55                 {
56                   'action_name': 'jscompile remoting_key_tester',
57                   'inputs': [
58                     '<@(remoting_key_tester_js_files)',
59                     'webapp/js_proto/chrome_proto.js'
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                     'webapp/js_proto/chrome_proto.js'
71                   ],
72                 },
73               ],  # actions
74             }],
75           ],
76         },  # end of target 'remoting_key_tester_jscompile'
78         {
79           'target_name': 'remoting_key_tester_pexe',
80           'type': 'none',
81           'sources': [
82             'tools/javascript_key_tester/pnacl/remoting_key_tester.cc',
83           ],
84           'variables': {
85             'nexe_target': 'remoting_key_tester',
86             'build_glibc': 0,
87             'build_newlib': 0,
88             'build_pnacl_newlib': 1,
89             'extra_deps_pnacl_newlib': [
90               '>(tc_lib_dir_pnacl_newlib)/libppapi.a',
91               '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a',
92             ],
93           },
94           'link_flags': [
95             '-lppapi_stub',
96             '-lppapi_cpp',
97           ],
98         },  # end of target 'remoting_key_tester_pexe'
99       ],
100     }]
101   ],