Home | History | Annotate | Download | only in empty-target
      1 #!/usr/bin/env python
      2 
      3 # Copyright (c) 2014 Google Inc. All rights reserved.
      4 # Use of this source code is governed by a BSD-style license that can be
      5 # found in the LICENSE file.
      6 
      7 """
      8 Verifies building a target with nothing succeeds.
      9 """
     10 
     11 import os
     12 import sys
     13 import TestGyp
     14 
     15 test = TestGyp.TestGyp()
     16 test.run_gyp('empty-target.gyp')
     17 test.build('empty-target.gyp', target='empty_target')
     18 test.pass_test()
     19