Home | History | Annotate | Download | only in mac
      1 #!/usr/bin/env python
      2 
      3 # Copyright (c) 2012 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 Verify that it is possible to build an object that depends on a
      9 PrivateFramework.
     10 """
     11 
     12 import os
     13 import sys
     14 import TestGyp
     15 
     16 if sys.platform == 'darwin':
     17   test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
     18 
     19   CHDIR = 'framework-dirs'
     20   test.run_gyp('framework-dirs.gyp', chdir=CHDIR)
     21   test.build('framework-dirs.gyp', 'calculate', chdir=CHDIR)
     22 
     23   test.pass_test()
     24