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