Use v2 web-app for Chromoting Windows browser-tests.
[chromium-blink-merge.git] / testing / chromoting / chromoting_integration_tests.isolate
blob6266728f4f7a6eb30ed5254d861827703b2da8f6
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.
5   'conditions': [
6     ['OS=="linux"', {
7       'variables': {
8         'command': [
9           './browser_tests_launcher.py',
10           '--commands_file',
11           './browser_test_commands_linux.txt',
12           '--prod_dir',
13           '<(PRODUCT_DIR)',
14           '--cfg_file',
15           '../../remoting/tools/internal/test-account-host-config.json',
16           '--me2me_manifest_file',
17           '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json',
18           '--it2me_manifest_file',
19           '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.json',
20           '--user_profile_dir',
21           '/tmp/chromoting_test_profile',
22         ],
23         'files': [
24           '../xvfb.py',
25           './browser_tests_launcher.py',
26           './browser_test_commands_linux.txt',
27           '<(PRODUCT_DIR)/libffmpegsumo.so',
28           '<(PRODUCT_DIR)/libosmesa.so',
29           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
30           '../../remoting/tools/internal/test-account-host-config.json',
31           '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json',
32           '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.json',
33           '<(PRODUCT_DIR)/remoting-me2me-host.deb',
34         ],
35       },
36     }],
37     ['OS=="linux" and use_ozone==0', {
38       'variables': {
39         'files': [
40           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
41         ],
42       },
43     }],
44      ['OS=="linux" or OS=="mac" or OS=="win"', {
45       'variables': {
46         'files': [
47           '../test_env.py',
48           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
49           '<(PRODUCT_DIR)/remoting/remoting.webapp/',
50           '<(PRODUCT_DIR)/remoting/remoting.webapp.v2/',
51           '<(PRODUCT_DIR)/remoting/browser_test_resources/',
52           '<(PRODUCT_DIR)/resources.pak',
53           '../../remoting/tools/internal/test_accounts.json',
54         ],
55         'read_only': 1,
56       },
57     }],
58     ['OS=="linux" or OS=="win"', {
59       'variables': {
60         'files': [
61           '<(PRODUCT_DIR)/chrome_100_percent.pak',
62           '<(PRODUCT_DIR)/locales/en-US.pak',
63         ],
64       },
65     }],
66     ['OS=="win"', {
67       'variables': {
68         'files': [
69           '<(PRODUCT_DIR)/chrome_elf.dll',
70           '<(PRODUCT_DIR)/ffmpegsumo.dll',
71         ],
72       },
73     }],
74     ['OS=="mac"', {
75       'variables': {
76         'files': [
77           '<(PRODUCT_DIR)/<(mac_product_name).app/',
78           '<(PRODUCT_DIR)/exif.so',
79           '<(PRODUCT_DIR)/ffmpegsumo.so',
80         ],
81       },
82     }],
83     ['OS=="mac"', {
84       'variables': {
85         'command': [
86           '../test_env.py',
87           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
88           '--gtest_filter=RemoteDesktopBrowserTest.MANUAL_Launch',
89           '--run-manual',
90           '--ui-test-action-timeout=100000',
91           '--webapp-unpacked=<(PRODUCT_DIR)/remoting/remoting.webapp',
92           '--extension-name=Chromoting',
93         ],
94       },
95     }],
96     ['OS=="win"', {
97       'variables': {
98         'command': [
99           '../test_env.py',
100           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
101           '--gtest_filter=RemoteDesktopBrowserTest.MANUAL_Launch:RemoteDesktopBrowserTest.MANUAL_Auth',
102           '--run-manual',
103           '--ui-test-action-timeout=100000',
104           '--webapp-unpacked=<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
105           '--extension-name=Chromoting',
106           '--accounts-file=../../remoting/tools/internal/test_accounts.json',
107           '--account-type=gmail',
108         ],
109       },
110     }],
111   ],
112   'includes': [
113     '../../base/base.isolate',
114     '../../gin/v8.isolate',
115   ],