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"""
8Verifies that disabling target aliases works.
9"""
10
11import TestGyp
12
13test = TestGyp.TestGyp(formats=['android'])
14
15test.run_gyp('hello.gyp', '-G', 'write_alias_targets=0')
16
17test.build('hello.gyp', 'hello', status=2, stderr=None)
18
19test.build('hello.gyp', 'gyp_all_modules', status=2, stderr=None)
20
21test.pass_test()
22