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"""
8Verify that it is possible to build an object that depends on a
9PrivateFramework.
10"""
11
12import os
13import sys
14import TestGyp
15
16if 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