OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 __doc__ = """ |
| 6 Configuration for building base.sln. |
| 7 """ |
| 8 |
| 9 Import('env') |
| 10 |
| 11 env = env.Clone() |
| 12 |
| 13 env.Tool('MSVSNew') |
| 14 |
| 15 env.ChromeMSVSProject('$SANDBOX_DIR/sandbox_poc/sandbox_poc.vcproj', |
| 16 dependencies = [ |
| 17 '$BASE_DIR/build/base.vcproj', |
| 18 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 19 '$SANDBOX_DIR/sandbox_poc/pocdll/pocdll.vcproj', |
| 20 ], |
| 21 guid='{CF757839-F2A1-417C-8F25-DCAE480020F1}') |
| 22 |
| 23 env.ChromeMSVSProject('$SANDBOX_DIR/sandbox_poc/pocdll/pocdll.vcproj', |
| 24 guid='{AE5BFB87-850E-4454-B01D-58E7D8BAC224}') |
| 25 |
| 26 env.ChromeMSVSProject('$SANDBOX_DIR/src/sandbox.vcproj', |
| 27 guid='{881F6A97-D539-4C48-B401-DF04385B2343}') |
| 28 |
| 29 env.ChromeMSVSProject(('$SANDBOX_DIR/tests/integration_tests/' + |
| 30 'sbox_integration_tests.vcproj'), |
| 31 dependencies = [ |
| 32 '$BASE_DIR/build/debug_message.vcproj', |
| 33 '$BASE_DIR/build/base.vcproj', |
| 34 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 35 '$TESTING_DIR/gtest.vcproj', |
| 36 ], |
| 37 guid='{542D4B3B-98D4-4233-B68D-0103891508C6}') |
| 38 |
| 39 env.ChromeMSVSProject('$SANDBOX_DIR/tests/unit_tests/sbox_unittests.vcproj', |
| 40 dependencies = [ |
| 41 '$BASE_DIR/build/debug_message.vcproj', |
| 42 '$BASE_DIR/build/base.vcproj', |
| 43 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 44 '$TESTING_DIR/gtest.vcproj', |
| 45 ], |
| 46 guid='{883553BE-2A9D-418C-A121-61FE1DFBC562}') |
| 47 |
| 48 env.ChromeMSVSProject(('$SANDBOX_DIR/tests/validation_tests/' + |
| 49 'sbox_validation_tests.vcproj'), |
| 50 dependencies = [ |
| 51 '$BASE_DIR/build/debug_message.vcproj', |
| 52 '$BASE_DIR/build/base.vcproj', |
| 53 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 54 '$TESTING_DIR/gtest.vcproj', |
| 55 ], |
| 56 guid='{B9CC7B0D-145A-49C2-B887-84E43CFA0F27}') |
| 57 |
| 58 env.ChromeMSVSProject('$SANDBOX_DIR/tools/finder/finder.vcproj', |
| 59 dependencies = [ |
| 60 '$BASE_DIR/build/base.vcproj', |
| 61 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 62 ], |
| 63 guid='{ACDC2E06-0366-41A4-A646-C37E130A605D}') |
| 64 |
| 65 env.ChromeMSVSProject('$SANDBOX_DIR/tools/launcher/launcher.vcproj', |
| 66 dependencies = [ |
| 67 '$BASE_DIR/build/base.vcproj', |
| 68 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 69 ], |
| 70 guid='{386FA217-FBC2-4461-882D-CDAD221ED800}') |
| 71 |
| 72 |
| 73 dependencies = env.ChromeMSVSFolder('sandbox_dependencies', |
| 74 name='dependencies', |
| 75 entries = [ |
| 76 '$BASE_DIR/build/debug_message.vcproj', |
| 77 '$BASE_DIR/build/base.vcproj', |
| 78 '$TESTING_DIR/gtest.vcproj', |
| 79 ], |
| 80 guid='{BCE54389-D18D-48B9-977E-9D1998200F63}') |
| 81 |
| 82 proof_of_concept = env.ChromeMSVSFolder('proof_of_concept', |
| 83 entries = [ |
| 84 ('$SANDBOX_DIR/sandbox_poc/pocdll/' + |
| 85 'pocdll.vcproj'), |
| 86 ('$SANDBOX_DIR/sandbox_poc/' + |
| 87 'sandbox_poc.vcproj'), |
| 88 ], |
| 89 guid='{B607BE7B-3555-422C-A40B-28E73C0B5E24}') |
| 90 |
| 91 tests = env.ChromeMSVSFolder('tests', |
| 92 entries = [ |
| 93 ('$SANDBOX_DIR/tests/integration_tests/' + |
| 94 'sbox_integration_tests.vcproj'), |
| 95 ('$SANDBOX_DIR/tests/unit_tests/' + |
| 96 'sbox_unittests.vcproj'), |
| 97 ('$SANDBOX_DIR/tests/validation_tests/' + |
| 98 'sbox_validation_tests.vcproj'), |
| 99 ], |
| 100 guid='{F7A3B82E-B8B4-4FDF-BC8E-FEC9398F57ED}') |
| 101 |
| 102 tools = env.ChromeMSVSFolder('sandbox_tools', |
| 103 name='tools', |
| 104 entries = [ |
| 105 '$SANDBOX_DIR/tools/launcher/launcher.vcproj', |
| 106 '$SANDBOX_DIR/tools/finder/finder.vcproj', |
| 107 ], |
| 108 guid='{7F36EE20-5016-4051-B0D7-42824CDA0291}') |
| 109 |
| 110 |
| 111 solution = env.ChromeMSVSSolution('$SANDBOX_DIR/sandbox.sln', |
| 112 entries = [ |
| 113 '$SANDBOX_DIR/src/sandbox.vcproj', |
| 114 ('$SANDBOX_DIR/tests/unit_tests/' + |
| 115 'sbox_unittests.vcproj'), |
| 116 tests, |
| 117 ('$SANDBOX_DIR/tests/validation_tests/' + |
| 118 'sbox_validation_tests.vcproj'), |
| 119 dependencies, |
| 120 '$BASE_DIR/build/debug_message.vcproj', |
| 121 tools, |
| 122 proof_of_concept, |
| 123 '$SANDBOX_DIR/sandbox_poc/sandbox_poc.vcproj', |
| 124 '$SANDBOX_DIR/sandbox_poc/pocdll/pocdll.vcproj', |
| 125 '$SANDBOX_DIR/tools/finder/finder.vcproj', |
| 126 '$SANDBOX_DIR/tools/launcher/launcher.vcproj', |
| 127 ('$SANDBOX_DIR/tests/integration_tests/' + |
| 128 'sbox_integration_tests.vcproj'), |
| 129 '$BASE_DIR/build/base.vcproj', |
| 130 '$TESTING_DIR/gtest.vcproj', |
| 131 ], |
| 132 variants = [ |
| 133 'Debug|Win32', |
| 134 'Release|Win32', |
| 135 ], |
| 136 websiteProperties=False) |
| 137 |
| 138 env.AlwaysBuild(solution) |
| 139 |
| 140 i = env.Command('$CHROME_SRC_DIR/sandbox/sandbox.sln', solution, |
| 141 Copy('$TARGET', '$SOURCE')) |
| 142 Alias('solutions', i) |
OLD | NEW |