Add warning not to circumvent source hashing.

BUG=chrome-os-partner:30847
TEST=Unit tests

Change-Id: I03d1d4b120f884b37dc0ef6617d7ef68aef42380
Reviewed-on: https://chromium-review.googlesource.com/211072
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Jon Salz <jsalz@chromium.org>
diff --git a/py/gooftool/gooftool.py b/py/gooftool/gooftool.py
index e42a781..f1dfcfc 100755
--- a/py/gooftool/gooftool.py
+++ b/py/gooftool/gooftool.py
@@ -1,10 +1,11 @@
 #!/usr/bin/python
-# pylint: disable=E1101
-#
-# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
+# -*- coding: utf-8 -*-
+# Copyright 2014 The Chromium OS 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=E1101
+
 """Google Factory Tool.
 
 This tool is indended to be used on factory assembly lines.  It
@@ -695,6 +696,10 @@
 @Command('log_source_hashes')
 def LogSourceHashes(options):  # pylint: disable=W0613
   """Logs hashes of source files in the factory toolkit."""
+  # WARNING: The following line is necessary to validate the integrity
+  # of the factory software.  Do not remove or modify it.
+  #
+  # 警告:此行会验证工厂软件的完整性,禁止删除或修改。
   event_log.Log(
       'source_hashes',
       **file_utils.HashSourceTree(os.path.join(factory.FACTORY_PATH, 'py')))