| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # 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 |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 | 6 |
| 7 import copy | 7 import copy |
| 8 import optparse | 8 import optparse |
| 9 import os | 9 import os |
| 10 import sys | 10 import sys |
| 11 | 11 |
| 12 import buildbot_common | 12 import buildbot_common |
| 13 import build_utils | 13 import build_utils |
| 14 import build_sdk | 14 import build_sdk |
| 15 import generate_make | 15 import generate_make |
| 16 | 16 |
| 17 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) | 17 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) |
| 18 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR) | 18 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR) |
| 19 SDK_LIBRARY_DIR = os.path.join(SDK_SRC_DIR, 'libraries') | 19 SDK_LIBRARY_DIR = os.path.join(SDK_SRC_DIR, 'libraries') |
| 20 SDK_DIR = os.path.dirname(SDK_SRC_DIR) | 20 SDK_DIR = os.path.dirname(SDK_SRC_DIR) |
| 21 SRC_DIR = os.path.dirname(SDK_DIR) | 21 SRC_DIR = os.path.dirname(SDK_DIR) |
| 22 OUT_DIR = os.path.join(SRC_DIR, 'out') | 22 OUT_DIR = os.path.join(SRC_DIR, 'out') |
| 23 | 23 |
| 24 sys.path.append(os.path.join(SDK_SRC_DIR, 'tools')) | 24 sys.path.append(os.path.join(SDK_SRC_DIR, 'tools')) |
| 25 import getos | 25 import getos |
| 26 | 26 |
| 27 | 27 |
| 28 TEST_EXAMPLE_LIST = [ | 28 TEST_EXAMPLE_LIST = [ |
| 29 'nacl_mounts_test', | 29 'nacl_io_test', |
| 30 ] | 30 ] |
| 31 | 31 |
| 32 TEST_LIBRARY_LIST = [ | 32 TEST_LIBRARY_LIST = [ |
| 33 'gmock', | 33 'gmock', |
| 34 'gtest', | 34 'gtest', |
| 35 'gtest_ppapi', | 35 'gtest_ppapi', |
| 36 ] | 36 ] |
| 37 | 37 |
| 38 | 38 |
| 39 def BuildStepBuildExamples(pepperdir, platform): | 39 def BuildStepBuildExamples(pepperdir, platform): |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 BuildStepCopyTests(pepperdir, toolchains, options.experimental, True) | 118 BuildStepCopyTests(pepperdir, toolchains, options.experimental, True) |
| 119 BuildStepBuildTests(pepperdir, platform) | 119 BuildStepBuildTests(pepperdir, platform) |
| 120 if options.pyauto: | 120 if options.pyauto: |
| 121 BuildStepRunPyautoTests(pepperdir, platform, pepper_ver) | 121 BuildStepRunPyautoTests(pepperdir, platform, pepper_ver) |
| 122 | 122 |
| 123 return 0 | 123 return 0 |
| 124 | 124 |
| 125 | 125 |
| 126 if __name__ == '__main__': | 126 if __name__ == '__main__': |
| 127 sys.exit(main(sys.argv)) | 127 sys.exit(main(sys.argv)) |
| OLD | NEW |