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

Unified Diff: ppapi/generate_ppapi_include_tests.py

Issue 8653004: Fix python scripts in src/ppapi/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase error Created 8 years, 11 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 | « no previous file | ppapi/generate_ppapi_size_checks.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generate_ppapi_include_tests.py
diff --git a/ppapi/generate_ppapi_include_tests.py b/ppapi/generate_ppapi_include_tests.py
old mode 100644
new mode 100755
index 01711badb2cbfd146f9d15b5f56b6cae810d0e1c..00f119ed4ecd9e8438ff3e207f1895e44a8c4653
--- a/ppapi/generate_ppapi_include_tests.py
+++ b/ppapi/generate_ppapi_include_tests.py
@@ -1,17 +1,18 @@
-#!/usr/bin/python
-
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+#!/usr/bin/env python
+# Copyright (c) 2011 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.
-# This script should be run manually on occasion to make sure the gyp file and
-# the includes tests are up to date.
-# It does the following:
-# - Verifies that all source code is in ppapi.gyp
-# - Verifies that all sources in ppapi.gyp really do exist
-# - Generates tests/test_c_includes.c
-# - Generates tests/test_cpp_includes.cc
-# These tests are checked in to SVN.
+"""This script should be run manually on occasion to make sure the gyp file and
+the includes tests are up to date.
+
+It does the following:
+ - Verifies that all source code is in ppapi.gyp
+ - Verifies that all sources in ppapi.gyp really do exist
+ - Generates tests/test_c_includes.c
+ - Generates tests/test_cpp_includes.cc
+These tests are checked in to SVN.
+"""
# TODO(dmichael): Make this script execute as a gyp action, move the include
# tests to some 'generated' area, and remove them from version
# control.
@@ -168,4 +169,3 @@ def main():
if __name__ == '__main__':
sys.exit(main())
-
« no previous file with comments | « no previous file | ppapi/generate_ppapi_size_checks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698