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