Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright (c) 2012 Google Inc. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """ | 7 """ |
| 8 Verifies that filenames passed to various linker flags are converted into | 8 Verifies that filenames passed to various linker flags are converted into |
| 9 build-directory relative paths correctly. | 9 build-directory relative paths correctly. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import TestGyp | 12 import TestGyp |
| 13 | 13 |
| 14 import sys | 14 import sys |
| 15 | 15 |
| 16 if sys.platform == 'darwin': | 16 if sys.platform == 'darwin': |
| 17 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) | 17 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) |
| 18 | 18 |
| 19 # The xcode-ninja generator fails to generate a working wrapper project | |
|
sdefresne
2014/09/02 15:13:05
Same here.
Tobias
2014/10/02 18:19:19
Done.
| |
| 20 if test.format == 'xcode-ninja': | |
| 21 test.skip_test() | |
| 22 | |
| 19 CHDIR = 'ldflags' | 23 CHDIR = 'ldflags' |
| 20 test.run_gyp('subdirectory/test.gyp', chdir=CHDIR) | 24 test.run_gyp('subdirectory/test.gyp', chdir=CHDIR) |
| 21 | 25 |
| 22 test.build('subdirectory/test.gyp', test.ALL, chdir=CHDIR) | 26 test.build('subdirectory/test.gyp', test.ALL, chdir=CHDIR) |
| 23 | 27 |
| 24 test.pass_test() | 28 test.pass_test() |
| 25 | 29 |
| 26 | 30 |
| 27 # These flags from `man ld` couldl show up in OTHER_LDFLAGS and need path | 31 # These flags from `man ld` couldl show up in OTHER_LDFLAGS and need path |
| 28 # translation. | 32 # translation. |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 59 # | 63 # |
| 60 # obsolete: | 64 # obsolete: |
| 61 # -sectorder segname sectname orderfile | 65 # -sectorder segname sectname orderfile |
| 62 # -seg_addr_table_filename path | 66 # -seg_addr_table_filename path |
| 63 # | 67 # |
| 64 # | 68 # |
| 65 # ??: | 69 # ??: |
| 66 # -map map_file_path | 70 # -map map_file_path |
| 67 # -sub_library library_name | 71 # -sub_library library_name |
| 68 # -sub_umbrella framework_name | 72 # -sub_umbrella framework_name |
| OLD | NEW |