Index: remoting/remoting_webapp.gypi |
diff --git a/remoting/remoting_webapp.gypi b/remoting/remoting_webapp.gypi |
index 7d72c677e2ba83e1425d9ba9ac449661eb253d9e..e7b00fdbe7e2c5dc16924741c7caf3d966e54c7d 100644 |
--- a/remoting/remoting_webapp.gypi |
+++ b/remoting/remoting_webapp.gypi |
@@ -24,6 +24,7 @@ |
'variables': { |
'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', |
'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp', |
+ 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp', |
}, |
'actions': [ |
{ |
@@ -49,7 +50,7 @@ |
'inputs': [ |
'<@(remoting_webapp_crd_js_files)', |
'<@(remoting_webapp_browsertest_all_js_files)', |
- '<@(remoting_webapp_js_proto_files)', |
+ '<@(remoting_webapp_browsertest_js_proto_files)', |
], |
'outputs': [ |
'<(success_stamp_bt)', |
@@ -61,7 +62,27 @@ |
'--success-stamp', '<(success_stamp_bt)', |
'<@(remoting_webapp_crd_js_files)', |
kelvinp
2015/02/26 00:31:30
Would '<@(_inputs)' work so you don't need to dupl
garykac
2015/02/28 02:33:33
Using _inputs is potentially "dangerous" because i
|
'<@(remoting_webapp_browsertest_all_js_files)', |
- '<@(remoting_webapp_js_proto_files)', |
+ '<@(remoting_webapp_browsertest_js_proto_files)', |
+ ], |
+ }, |
+ { |
+ 'action_name': 'Verify remoting webapp unittests', |
+ 'inputs': [ |
+ '<@(remoting_webapp_crd_js_files)', |
+ '<@(remoting_webapp_unittest_all_js_files)', |
+ '<@(remoting_webapp_unittest_js_proto_files)', |
+ ], |
+ 'outputs': [ |
+ '<(success_stamp_ut)', |
+ ], |
+ 'action': [ |
+ 'python', '../third_party/closure_compiler/checker.py', |
+ '--strict', |
+ '--no-single-file', |
+ '--success-stamp', '<(success_stamp_ut)', |
+ '<@(remoting_webapp_crd_js_files)', |
kelvinp
2015/02/26 00:31:30
Same here
garykac
2015/02/28 02:33:33
ibid
|
+ '<@(remoting_webapp_unittest_all_js_files)', |
+ '<@(remoting_webapp_unittest_js_proto_files)', |
], |
}, |
], # actions |