Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 2027063003: Move Windows build output from //build to //out (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gyp/configurations_msvs.gypi ('k') | tools/utils.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 2217 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 static Path absolutePath(Path path) { 2228 static Path absolutePath(Path path) {
2229 if (!path.isAbsolute) { 2229 if (!path.isAbsolute) {
2230 return currentWorkingDirectory.join(path); 2230 return currentWorkingDirectory.join(path);
2231 } 2231 }
2232 return path; 2232 return path;
2233 } 2233 }
2234 2234
2235 static String outputDir(Map configuration) { 2235 static String outputDir(Map configuration) {
2236 var result = ''; 2236 var result = '';
2237 var system = configuration['system']; 2237 var system = configuration['system'];
2238 if (system == 'linux' || system == 'android') { 2238 if (system == 'linux' || system == 'android' || system == 'windows') {
2239 result = 'out/'; 2239 result = 'out/';
2240 } else if (system == 'macos') { 2240 } else if (system == 'macos') {
2241 result = 'xcodebuild/'; 2241 result = 'xcodebuild/';
2242 } else if (system == 'windows') {
2243 result = 'build/';
2244 } else { 2242 } else {
2245 throw new Exception('Unknown operating system: "$system"'); 2243 throw new Exception('Unknown operating system: "$system"');
2246 } 2244 }
2247 return result; 2245 return result;
2248 } 2246 }
2249 2247
2250 static List<String> standardOptions(Map configuration) { 2248 static List<String> standardOptions(Map configuration) {
2251 List args = ["--ignore-unrecognized-flags"]; 2249 List args = ["--ignore-unrecognized-flags"];
2252 String compiler = configuration["compiler"]; 2250 String compiler = configuration["compiler"];
2253 if (compiler == "dart2js") { 2251 if (compiler == "dart2js") {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
2454 for (var key in PATH_REPLACEMENTS.keys) { 2452 for (var key in PATH_REPLACEMENTS.keys) {
2455 if (path.startsWith(key)) { 2453 if (path.startsWith(key)) {
2456 path = path.replaceFirst(key, PATH_REPLACEMENTS[key]); 2454 path = path.replaceFirst(key, PATH_REPLACEMENTS[key]);
2457 break; 2455 break;
2458 } 2456 }
2459 } 2457 }
2460 } 2458 }
2461 return path; 2459 return path;
2462 } 2460 }
2463 } 2461 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_msvs.gypi ('k') | tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698