Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: slave/skia_slave_scripts/upload_doxygen.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « slave/skia_slave_scripts/upload_bench_results.py ('k') | slave/skia_slave_scripts/upload_gm_results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/upload_doxygen.py
diff --git a/slave/skia_slave_scripts/upload_doxygen.py b/slave/skia_slave_scripts/upload_doxygen.py
deleted file mode 100755
index 766328c9e7e822595eb2a9f816522de9134be02d..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/upload_doxygen.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# pylint: disable=C0301
-"""Uploads Doxygen documentation to Google Storage, where it can be browsed at
-http://chromium-skia-gm.commondatastorage.googleapis.com/doxygen/doxygen/html/index.html
-"""
-# pylint: enable=C0301
-
-import posixpath
-import sys
-
-from build_step import BuildStep
-from utils import gs_utils
-from utils import old_gs_utils
-import generate_doxygen
-import skia_vars
-
-# It's silly that we include 'doxygen' in the destination path twice, but
-# that's to maintain current behavior while fixing http://skbug.com/2658 .
-DOXYGEN_GSUTIL_PATH = posixpath.join(
- gs_utils.GSUtils.with_gs_prefix(
- skia_vars.GetGlobalVariable('googlestorage_bucket')),
- 'doxygen', 'doxygen')
-
-# Directives for HTTP caching of these files served out by Google Storage.
-# See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
-GS_CACHE_CONTROL_HEADER = 'Cache-Control:public,max-age=3600'
-
-
-class UploadDoxygen(BuildStep):
- def _Run(self):
- old_gs_utils.upload_dir_contents(
- local_src_dir=generate_doxygen.DOXYGEN_WORKING_DIR,
- remote_dest_dir=DOXYGEN_GSUTIL_PATH,
- gs_acl='public-read',
- http_header_lines=[GS_CACHE_CONTROL_HEADER])
-
-
-if '__main__' == __name__:
- sys.exit(BuildStep.RunBuildStep(UploadDoxygen))
« no previous file with comments | « slave/skia_slave_scripts/upload_bench_results.py ('k') | slave/skia_slave_scripts/upload_gm_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698