Searched defs:cr (Results 1 - 25 of 202) sorted by relevance

123456789

/external/chromium_org/tools/cr/cr/actions/
H A D__init__.py5 """A package to hold all the actions for the cr tool.
7 This package holds the standard actions used by the commands in the cr tool.
12 import cr namespace
14 cr.Import(__name__, 'action')
15 cr.Import(__name__, 'runner')
16 cr.Import(__name__, 'builder')
17 cr.Import(__name__, 'installer')
H A Daction.py7 import cr namespace
10 class Action(cr.Plugin):
11 """Base class for cr actions.
31 @cr.Plugin.activemethod
H A Dgdb.py7 import cr namespace
10 class GdbDebugger(cr.Debugger):
11 """An implementation of cr.Debugger that launches gdb."""
13 DETECTED = cr.Config('DETECTED')
17 return (cr.LinuxPlatform.GetInstance().is_active and
23 cr.Host.Execute(
36 gdb_binaries = cr.Host.SearchPath('gdb')
/external/chromium_org/tools/cr/cr/base/
H A D__init__.py5 """A package for the base supporting classes of the cr tool."""
7 import cr namespace
9 cr.Import(__name__, 'platform')
10 cr.Import(__name__, 'buildtype')
11 cr.Import(__name__, 'client')
/external/chromium_org/tools/cr/cr/commands/
H A D__init__.py7 This package has all the standard commands built in to the cr tool.
11 import cr namespace
13 cr.Import(__name__, 'command')
14 cr.Import(__name__, 'prepare')
15 cr.Import(__name__, 'init')
H A Ddebug.py7 import cr namespace
10 class DebugCommand(cr.Command):
23 cr.Builder.AddArguments(self, parser)
24 cr.Installer.AddArguments(self, parser)
25 cr.Debugger.AddArguments(self, parser)
26 cr.Target.AddArguments(self, parser)
31 targets = cr.Target.GetTargets()
32 if not cr.Debugger.ShouldInvoke():
33 cr.Debugger.Attach(targets, cr
[all...]
H A Dinstall.py7 import cr namespace
10 class InstallCommand(cr.Command):
26 cr.Builder.AddArguments(self, parser)
27 cr.Installer.AddArguments(self, parser)
28 cr.Target.AddArguments(self, parser, allow_multiple=True)
33 targets = cr.Target.GetTargets()
34 if not cr.Installer.Skipping():
35 cr.Builder.Build(targets, [])
36 cr.Installer.Reinstall(targets, cr
[all...]
H A Drun.py7 import cr namespace
10 class RunCommand(cr.Command):
25 cr.Builder.AddArguments(self, parser)
26 cr.Installer.AddArguments(self, parser)
27 cr.Runner.AddArguments(self, parser)
28 cr.Target.AddArguments(self, parser, allow_multiple=True)
33 targets = cr.Target.GetTargets()
36 if cr.Installer.Skipping():
42 cr.Builder.Build(build_targets, [])
44 if cr
[all...]
H A Dbuild.py7 import cr namespace
10 class BuildCommand(cr.Command):
26 cr.Builder.AddArguments(self, parser)
27 cr.Target.AddArguments(self, parser, allow_multiple=True)
32 return cr.Builder.Build(
33 cr.Target.GetTargets(), cr.context.remains)
36 class CleanCommand(cr.Command):
50 cr.Builder.AddArguments(self, parser)
51 cr
[all...]
H A Dinfo.py7 import cr namespace
10 class InfoCommand(cr.Command):
11 """The cr info command implementation."""
15 self.help = 'Print information about the cr environment'
28 if getattr(cr.context.args, '_short', False):
32 if cr.context.remains:
33 for var in cr.context.remains:
34 if getattr(cr.context.args, '_short', False):
35 val = cr.context.Find(var)
40 print var, '=', cr
[all...]
H A Dprepare.py7 import cr namespace
10 class PrepareCommand(cr.Command):
18 (mostly) be in the cr.actions package.
44 class PrepareOut(cr.Plugin, cr.Plugin.Type):
H A Dshell.py10 import cr namespace
13 class ShellCommand(cr.Command):
17 same environment that cr would use if it were running it.
30 in cr.
39 if cr.context.remains:
40 cr.Host.Shell(*cr.context.remains)
51 cr.Host.Execute(shell, '--rcfile', rcfile.name)
53 cr.Host.Execute(shell)
/external/chromium_org/tools/cr/cr/targets/
H A D__init__.py7 This package has all the standard commands built in to the cr tool.
11 import cr namespace
13 cr.Import(__name__, 'target')
H A Dchrome.py7 import cr namespace
10 class ChromeTarget(cr.NamedTarget):
12 CONFIG = cr.Config.From(
13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'),
18 class ChromeTestTarget(cr.NamedTarget):
20 CONFIG = cr.Config.From(
/external/chromium_org/tools/cr/cr/
H A Dautocomplete.py11 import cr namespace
23 print ' '.join(command.name for command in cr.Command.Plugins())
H A D__init__.py5 """Chromium cr tool module.
7 This is the root module of all the cr code.
12 import cr.loader namespace
13 from cr.loader import Import
/external/chromium_org/ui/gfx/range/
H A Drange_win_unittest.cc9 CHARRANGE cr = { 10, 32 }; local
10 gfx::Range r(cr, 50);
19 CHARRANGE cr = { 20, 10 }; local
20 gfx::Range r(cr, 40);
29 CHARRANGE cr = { 0, -1 }; local
30 gfx::Range r(cr, 20);
40 CHARRANGE cr = r.ToCHARRANGE(); local
41 EXPECT_EQ(10, cr.cpMin);
42 EXPECT_EQ(30, cr.cpMax);
47 CHARRANGE cr local
53 CHARRANGE cr = { -1, -1 }; local
60 CHARRANGE cr = r.ToCHARRANGE(); local
[all...]
/external/chromium_org/tools/cr/
H A Dcr-bash-helpers.sh7 # Source this file into your shell to gain the cr function and tab completion
13 echo "ERROR: cr-bash-helpers.sh must be sourced."
26 # The main entry point to the cr tool.
28 function cr() { function
34 cd $(cr info -s CR_SRC)
39 cr info -s CR_OUT_FULL
54 complete -F _cr_complete cr
H A Dmain.py5 """Chromium cr tool main module.
12 import cr namespace
18 """Chromium cr tool main function.
20 This is the main entry point of the cr tool, it finds and loads all the
25 # Add the users plugin dir to the cr.auto.user package scan
26 user_path = os.path.expanduser(os.path.join('~', '.config', 'cr'))
27 cr.auto.user.__path__.append(user_path)
29 cr.loader.Scan()
32 with cr.base.context.Create(
38 cr
[all...]
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dposition_util.js9 cr.exportPath('cr.ui');
16 cr.ui.Rect;
22 cr.ui.AnchorType = {
48 cr.define('cr.ui', function() {
50 var AnchorType = cr.ui.AnchorType;
54 * @param {!cr.ui.Rect} anchorRect The rect for the anchor.
56 * @param {cr.ui.AnchorType} type The type of anchoring to do.
213 * @param {cr
[all...]
H A Dbubble.js7 // TODO(vitalyp): Inline the enums below into cr.ui definition function, remove
8 // cr.exportPath() call and remove exportPath from exports in cr.js when this
11 cr.exportPath('cr.ui');
18 cr.ui.ArrowLocation = {
42 cr.ui.BubbleAlignment = {
59 cr.define('cr.ui', function() {
68 var BubbleBase = cr
[all...]
H A Dmenu_button.js7 cr.exportPath('cr.ui');
14 cr.ui.HideType = {
19 cr.define('cr.ui', function() {
21 var Menu = cr.ui.Menu;
24 var HideType = cr.ui.HideType;
27 var positionPopupAroundElement = cr.ui.positionPopupAroundElement;
36 var MenuButton = cr.ui.define('button');
61 this.anchorType = cr
[all...]
/external/chromium_org/ui/webui/resources/js/
H A Dcr.js13 var cr = function() { function
254 * named by |name|. For example, cr.define('cr.ui', function() {
266 * defines the functions cr.ui.List and cr.ui.ListItem.
/external/chromium_org/tools/emacs/
H A Dflymake-chromium.el14 (defcustom cr-flymake-ninja-build-file "out/Debug/build.ninja"
18 (defcustom cr-flymake-ninja-executable "ninja"
21 (defun cr-flymake-absbufferpath ()
27 (defun cr-flymake-chromium-src ()
30 (cr-flymake-absbufferpath) cr-flymake-ninja-build-file)))
33 (defun cr-flymake-string-prefix-p (prefix str)
38 (defun cr-flymake-current-file-name ()
42 (when (and (cr-flymake-chromium-src)
43 (cr
[all...]
/external/chromium_org/tools/cr/cr/fixups/
H A Darch.py7 import cr namespace
10 class _ArchInitHookHelper(cr.InitHook):
23 old_arch = config.OVERRIDES.Find(cr.Arch.SELECTOR)
27 config.OVERRIDES[cr.Arch.SELECTOR] = new_arch
33 In the initial versions of cr before output directories were versioned
42 return cr.Arch.default.name
50 return cr.Mips32Arch.GetInstance().name
52 return cr.Arm32Arch.GetInstance().name

Completed in 154 milliseconds

123456789