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

Side by Side Diff: remoting/remoting_webapp_compile.gypi

Issue 1037613002: Rework how remoting JS compilation GYP works. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 # File in charge of Closure compiling remoting's webapp.
6
7 {
8 'variables': {
9 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
10 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
11 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
12 },
13 'actions': [
14 {
15 'action_name': 'Verify remoting webapp',
16 'inputs': [
17 'remoting_webapp_compile.gypi',
18 'remoting_webapp_files.gypi',
19 '<@(remoting_webapp_crd_js_files)',
20 '<@(remoting_webapp_js_proto_files)',
21 ],
22 'outputs': [
23 '<(success_stamp)',
24 ],
25 'action': [
26 'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
27 '--strict',
28 '--no-single-file',
29 '--success-stamp', '<(success_stamp)',
30 '<@(remoting_webapp_crd_js_files)',
31 '<@(remoting_webapp_js_proto_files)',
32 ],
33 },
34 {
35 'action_name': 'Verify remoting webapp with browsertests',
36 'inputs': [
37 'remoting_webapp_compile.gypi',
38 'remoting_webapp_files.gypi',
39 '<@(remoting_webapp_crd_js_files)',
40 '<@(remoting_webapp_browsertest_all_js_files)',
41 '<@(remoting_webapp_browsertest_js_proto_files)',
42 ],
43 'outputs': [
44 '<(success_stamp_bt)',
45 ],
46 'action': [
47 'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
48 '--strict',
49 '--no-single-file',
50 '--success-stamp', '<(success_stamp_bt)',
51 '<@(remoting_webapp_crd_js_files)',
52 '<@(remoting_webapp_browsertest_all_js_files)',
53 '<@(remoting_webapp_browsertest_js_proto_files)',
54 ],
55 },
56 {
57 'action_name': 'Verify remoting webapp unittests',
58 'inputs': [
59 'remoting_webapp_compile.gypi',
60 'remoting_webapp_files.gypi',
61 '<@(remoting_webapp_crd_js_files)',
62 '<@(remoting_webapp_unittests_all_js_files)',
63 '<@(remoting_webapp_unittests_js_proto_files)',
64 ],
65 'outputs': [
66 '<(success_stamp_ut)',
67 ],
68 'action': [
69 'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
70 '--strict',
71 '--no-single-file',
72 '--success-stamp', '<(success_stamp_ut)',
73 '<@(remoting_webapp_crd_js_files)',
74 '<@(remoting_webapp_unittests_all_js_files)',
75 '<@(remoting_webapp_unittests_js_proto_files)',
76 ],
77 },
78 ],
79 'includes': ['remoting_webapp_files.gypi'],
80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698