/external/chromium_org/tools/cr/cr/actions/ |
H A D | __init__.py | 5 """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 D | action.py | 7 import cr namespace 10 class Action(cr.Plugin): 11 """Base class for cr actions. 31 @cr.Plugin.activemethod
|
H A D | gdb.py | 7 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')
|
H A D | gyp.py | 5 """A module to add gyp support to cr.""" 7 import cr namespace 12 class GypPrepareOut(cr.PrepareOut): 15 ENABLED = cr.Config.From( 23 gyp_defines = cr.context.Find('GYP_DEFINES') or '' 24 for key, value in cr.context.exported.items(): 27 cr.context['GYP_DEFINES'] = gyp_defines.strip() 28 if cr.context.verbose >= 1: 29 print cr.context.Substitute('GYP_DEFINES = {GYP_DEFINES}') 32 if cr [all...] |
H A D | installer.py | 7 import cr namespace 10 class Installer(cr.Action, cr.Plugin.Type): 22 @cr.Plugin.activemethod 28 @cr.Plugin.activemethod 33 @cr.Plugin.activemethod
|
H A D | linux.py | 7 import cr namespace 10 class LinuxRunner(cr.Runner): 11 """An implementation of cr.Runner for the linux platform. 18 return cr.LinuxPlatform.GetInstance().is_active 26 cr.Host.Execute('{CR_BINARY}', '{CR_RUN_ARGUMENTS}', *arguments) 32 class LinuxInstaller(cr.Installer): 33 """An implementation of cr.Installer for the linux platform. 41 return cr.LinuxPlatform.GetInstance().is_active
|
/external/chromium_org/tools/cr/cr/base/ |
H A D | __init__.py | 5 """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')
|
H A D | buildtype.py | 5 """A module for the basic build type support in cr.""" 7 import cr namespace 10 class BuildType(cr.Plugin, cr.Plugin.Type): 11 """Base class for implementing cr build types. 20 DEFAULT = cr.Config.From(
|
/external/chromium_org/tools/cr/cr/commands/ |
H A D | __init__.py | 7 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 D | debug.py | 7 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 D | install.py | 7 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 D | run.py | 7 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 D | build.py | 7 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 D | info.py | 7 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 D | prepare.py | 7 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 D | shell.py | 10 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__.py | 7 This package has all the standard commands built in to the cr tool. 11 import cr namespace 13 cr.Import(__name__, 'target')
|
H A D | chrome.py | 7 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 D | autocomplete.py | 11 import cr namespace 23 print ' '.join(command.name for command in cr.Command.Plugins())
|
H A D | __init__.py | 5 """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 D | range_win_unittest.cc | 9 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 D | cr-bash-helpers.sh | 7 # 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 D | main.py | 5 """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/tools/emacs/ |
H A D | flymake-chromium.el | 14 (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 D | arch.py | 7 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
|