OLD | NEW |
(Empty) | |
| 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 it's possible to set Android build system settings using the |
| 9 aosp_build_settings key. |
| 10 """ |
| 11 |
| 12 import TestGyp |
| 13 |
| 14 test = TestGyp.TestGyp(formats=['android']) |
| 15 |
| 16 test.run_gyp('settings.gyp') |
| 17 |
| 18 test.build('settings.gyp', 'hello') |
| 19 |
| 20 test.run_built_executable('hello.foo', stdout="Hello, world!\n") |
| 21 |
| 22 test.up_to_date('settings.gyp', test.DEFAULT) |
| 23 |
| 24 test.pass_test() |
OLD | NEW |