summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_key_tester.gypi
diff options
context:
space:
mode:
authorgarykac <garykac@chromium.org>2015-03-02 10:37:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-02 18:38:34 +0000
commit818c8017bfe5555ab5093613bba737f520a73131 (patch)
tree6a98959a36de9ded3cac627c11aee69e4f28fa66 /remoting/remoting_key_tester.gypi
parent9b6f30d11d6ffabcf3f7d8020a29849ff99a88b7 (diff)
downloadchromium_src-818c8017bfe5555ab5093613bba737f520a73131.zip
chromium_src-818c8017bfe5555ab5093613bba737f520a73131.tar.gz
chromium_src-818c8017bfe5555ab5093613bba737f520a73131.tar.bz2
[Chromoting] Enable jscompile for webapp unittests.
This adds a target to run jscompile over the unittest files. The save/restore functions of chromeMocks are removed since they are not necessary. chromeMocks.reset() is called automatically before each test. It also fixes most of the errors that jscompile produces. For the unittests where all the errors have not been fixed, jscompile is disabled for those files. Cases where errors were not fixed include those that require refactoring base classes to expose an interface that the corresponding mock can use -- these are best done is a separate, targetted cl. Also, the it2me tests are not checked because they will be removed soon. BUG= Review URL: https://codereview.chromium.org/959963002 Cr-Commit-Position: refs/heads/master@{#318725}
Diffstat (limited to 'remoting/remoting_key_tester.gypi')
-rw-r--r--remoting/remoting_key_tester.gypi6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/remoting_key_tester.gypi b/remoting/remoting_key_tester.gypi
index d85a321..68db9b0 100644
--- a/remoting/remoting_key_tester.gypi
+++ b/remoting/remoting_key_tester.gypi
@@ -55,7 +55,8 @@
'action_name': 'jscompile remoting_key_tester',
'inputs': [
'<@(remoting_key_tester_js_files)',
- 'webapp/js_proto/chrome_proto.js'
+ 'webapp/js_proto/chrome_proto.js',
+ 'webapp/js_proto/chrome_event_proto.js',
],
'outputs': [
'<(success_stamp)',
@@ -66,7 +67,8 @@
'--no-single-file',
'--success-stamp', '<(success_stamp)',
'<@(remoting_key_tester_js_files)',
- 'webapp/js_proto/chrome_proto.js'
+ 'webapp/js_proto/chrome_proto.js',
+ 'webapp/js_proto/chrome_event_proto.js',
],
},
], # actions