OLD | NEW |
1 #! -*- python -*- | 1 #!/usr/bin/env python |
2 # | |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 4 # found in the LICENSE file. |
6 | 5 |
7 """Install boost headers into a list of toolchains, in such a way that it gets | 6 """Install boost headers into a list of toolchains, in such a way that it gets |
8 pulled into the SDK installer. Note that this script only installs boost | 7 pulled into the SDK installer. Note that this script only installs boost |
9 headers, and does not build any of the boost libraries that require building. | 8 headers, and does not build any of the boost libraries that require building. |
10 """ | 9 """ |
11 | 10 |
12 import build_utils | 11 import build_utils |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 options.toolchains = [build_utils.TOOLCHAIN_AUTODETECT] | 100 options.toolchains = [build_utils.TOOLCHAIN_AUTODETECT] |
102 options.toolchains = [build_utils.NormalizeToolchain(tc) | 101 options.toolchains = [build_utils.NormalizeToolchain(tc) |
103 for tc in options.toolchains] | 102 for tc in options.toolchains] |
104 | 103 |
105 print "Installing boost into %s" % str(options.third_party_dir) | 104 print "Installing boost into %s" % str(options.third_party_dir) |
106 return InstallBoost(options) | 105 return InstallBoost(options) |
107 | 106 |
108 | 107 |
109 if __name__ == '__main__': | 108 if __name__ == '__main__': |
110 main(sys.argv[1:]) | 109 main(sys.argv[1:]) |
OLD | NEW |