OLD | NEW |
---|---|
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['archive_chromoting_tests==1', { | 7 ['archive_chromoting_tests==1', { |
anandc
2014/10/16 22:26:26
Only if this gyp property is set will we attempt t
M-A Ruel
2014/10/16 22:38:04
Perfect.
| |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'chromoting_integration_tests_run', | 10 'target_name': 'chromoting_integration_tests_run', |
11 'type': 'none', | 11 'type': 'none', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../../chrome/chrome.gyp:browser_tests', | 13 '../../chrome/chrome.gyp:browser_tests', |
14 '../../remoting/remoting.gyp:remoting_webapp_v1', | 14 '../../remoting/remoting.gyp:remoting_webapp_v1', |
15 '../../remoting/remoting.gyp:remoting_webapp_v2', | 15 '../../remoting/remoting.gyp:remoting_webapp_v2', |
16 ], | 16 ], |
17 'includes': [ | 17 'includes': [ |
18 '../../build/isolate.gypi', | 18 '../../build/isolate.gypi', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'chromoting_integration_tests.isolate', | 21 'chromoting_integration_tests.isolate', |
22 ], | 22 ], |
23 'actions': [ | |
24 { | |
25 'action_name': 'Copy system module.', | |
26 'inputs': [ | |
27 '<(DEPTH)/build/cp.py', | |
28 '../../remoting/tools/internal/test_accounts.json', | |
29 ], | |
30 'outputs': [ | |
31 '<(PRODUCT_DIR)/test_accounts.json', | |
32 ], | |
33 'action': [ | |
34 'python', | |
35 '<@(_inputs)', | |
36 '<@(_outputs)', | |
37 ] | |
38 }, | |
39 ], | |
anandc
2014/10/16 22:26:26
When this action is performed, the file containing
M-A Ruel
2014/10/16 22:38:04
No idea, sorry.
Lei Lei
2014/10/16 23:45:24
Why do you need to copy it? Does it work if just a
M-A Ruel
2014/10/16 23:47:07
Strictly speaking, this is true. I personally don'
anandc
2014/10/17 01:00:54
Done.
Thanks. Just tested this by running it on a
anandc
2014/10/17 01:00:54
Acknowledged.
| |
23 }, | 40 }, |
24 ], | 41 ], |
25 }], | 42 }], |
26 ], | 43 ], |
27 } | 44 } |
OLD | NEW |