Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / testing / chromoting / integration_tests.gyp
blob38d4609646fedba3269e3b3d9347de2a91763234
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
3 # found in the LICENSE file.
6   'variables': {
7     'run_multi_machine_tests%': '0',
8   },
10   'conditions': [
11     ['archive_chromoting_tests==1', {
12       'conditions': [
13         ['OS=="linux"', {
14           'targets': [
15             {
16               'target_name': 'app_remoting_integration_tests_run',
17               'includes': [
18                 './dependencies.gypi',
19               ],
20               'sources': [
21                 'app_remoting_integration_tests.isolate',
22               ],
23             },  # target_name: 'app_remoting_integration_tests_run'
24             {
25               'target_name': 'chromoting_integration_tests_run',
26               'includes': [
27                 './dependencies.gypi',
28               ],
29               'sources': [
30                 'chromoting_integration_tests.isolate',
31               ],
32             },  # target_name: 'chromoting_integration_tests_run'
33           ],
34         }],
35         ['run_multi_machine_tests==1', {
36           'targets': [
37             {
38               'target_name': 'chromoting_multi_machine_example_test',
39               'includes': [
40                 './dependencies.gypi',
41               ],
42               'sources': [
43                 'multi_machine_example/example_test_controller.isolate',
44                 'multi_machine_example/example_task.isolate',
45               ],
46             },  # target_name: 'chromoting_multi_machine_example_test'
47           ],
48         }],
49       ],
50       'targets': [
51         {
52           'target_name': 'chromoting_browser_tests_run',
53           'includes': [
54             './dependencies.gypi',
55           ],
56           'sources': [
57             'chromoting_browser_tests.isolate',
58           ],
59           'conditions': [
60             ['OS=="linux"', {
61               'actions': [
62                 {
63                   'action_name': 'download_test_files',
64                   'variables': {
65                     'dl_files_script': './download_test_files.py',
66                     'files_list': './chromoting_test_files.txt',
67                     'output_folder': './',
68                   },
69                   'inputs': [
70                     '<(files_list)',
71                   ],
72                   'outputs': [
73                     '<(output_folder)',
74                   ],
75                   'action': [
76                     'python',
77                     '<(dl_files_script)',
78                     '--files',
79                     '<(files_list)',
80                     '--output_folder',
81                     '<(output_folder)',
82                   ],
83                   'message': 'Downloading required Remoting test files.',
84                 },
85               ],
86             }],
87           ],
88         },  # target_name: 'chromoting_browser_integration_tests_run'
89       ],
90     }],
91   ],