OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 """Module for the chromium_testshell targets.""" | 5 """Module for the chrome_shell targets.""" |
6 | 6 |
7 import cr | 7 import cr |
8 | 8 |
9 | 9 |
10 class ChromiumTestShellTarget(cr.NamedTarget): | 10 class ChromeShellTarget(cr.NamedTarget): |
11 NAME = 'chromium_testshell' | 11 NAME = 'chrome_shell' |
12 DEFAULT = cr.Config.From( | 12 DEFAULT = cr.Config.From( |
13 # CR_URL is the page to open when the target is run. | 13 # CR_URL is the page to open when the target is run. |
14 CR_URL='https://www.google.com/', | 14 CR_URL='https://www.google.com/', |
15 ) | 15 ) |
16 CONFIG = cr.Config.From( | 16 CONFIG = cr.Config.From( |
17 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), | 17 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), |
18 CR_TARGET_NAME='ChromiumTestShell', | 18 CR_TARGET_NAME='ChromeShell', |
19 CR_PACKAGE='org.chromium.chrome.shell', | 19 CR_PACKAGE='org.chromium.chrome.shell', |
20 CR_ACTIVITY='.ChromeShellActivity', | 20 CR_ACTIVITY='.ChromeShellActivity', |
21 ) | 21 ) |
22 | 22 |
23 | 23 |
24 class ChromiumTestShellTestTarget(cr.NamedTarget): | 24 class ChromeShellTestTarget(cr.NamedTarget): |
25 NAME = 'chromium_testshell_test' | 25 NAME = 'chrome_shell_test' |
26 CONFIG = cr.Config.From( | 26 CONFIG = cr.Config.From( |
27 CR_TARGET_NAME='ChromiumTestShellTest', | 27 CR_TARGET_NAME='ChromiumTestShellTest', |
28 ) | 28 ) |
29 | 29 |
OLD | NEW |