

""" Run the Skia render_pdfs executable. """


from build_step import BuildStep, BuildStepWarning
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    # Skip this step for now, since the new SKPs are causing it to crash.
    raise BuildStepWarning('Skipping this step since it is crashing.')
    #self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))



""" Run the Skia render_pdfs executable. """


from build_step import BuildStep
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))

Revert "Skip RenderPdfs until the crash is fixed"
Revert "Skip RenderPdfs until the crash is fixed"

This reverts commit fd03af0fbcb5f1b3656bcc78d934c560816d6810.

https://codereview.chromium.org/15002002/ fixes the crash.

R=borenet@google.com

Review URL: https://codereview.chromium.org/14577010

git-svn-id: 32fc27f4dcfb6c0385cd9719852b95fe6680452d@9019 2bbb7eff-a529-9590-31e7-b0007b416f81

  
  
  """ Run the Skia render_pdfs executable. """
  
  
- from build_step import BuildStep, BuildStepWarning
+ from build_step import BuildStep
  import sys
  
  
  class RenderPdfs(BuildStep):
    def _Run(self):
-     # Skip this step for now, since the new SKPs are causing it to crash.
-     raise BuildStepWarning('Skipping this step since it is crashing.')
-     #self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])
+     self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])
  
  if '__main__' == __name__:
    sys.exit(BuildStep.RunBuildStep(RenderPdfs))
  
Revert "Skip RenderPdfs until the crash is fixed"
## Code Before:


""" Run the Skia render_pdfs executable. """


from build_step import BuildStep, BuildStepWarning
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    # Skip this step for now, since the new SKPs are causing it to crash.
    raise BuildStepWarning('Skipping this step since it is crashing.')
    #self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))

## Instruction:
Revert "Skip RenderPdfs until the crash is fixed"
## Code After:


""" Run the Skia render_pdfs executable. """


from build_step import BuildStep
import sys


class RenderPdfs(BuildStep):
  def _Run(self):
    self.RunFlavoredCmd('render_pdfs', [self._device_dirs.SKPDir()])

if '__main__' == __name__:
  sys.exit(BuildStep.RunBuildStep(RenderPdfs))
