# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.
"""
Verifies that Makefiles get rebuilt when a source gyp file changes. """
import TestGyp
# Regenerating build files when a gyp file changes is currently only supported # by the make generator.
test = TestGyp.TestGyp(formats=['make'])
# Sleep so that the changed gyp file will have a newer timestamp than the # previously generated build files.
test.sleep()
test.write('hello.gyp', test.read('hello2.gyp'))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.