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

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

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 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/sdks/README ('k') | tools/testing/dart/configuration.dart » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'command.dart'; 7 import 'command.dart';
8 import 'configuration.dart'; 8 import 'configuration.dart';
9 import 'path.dart'; 9 import 'path.dart';
10 import 'runtime_configuration.dart'; 10 import 'runtime_configuration.dart';
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 } 715 }
716 716
717 String ccFlags; 717 String ccFlags;
718 switch (arch) { 718 switch (arch) {
719 case Architecture.x64: 719 case Architecture.x64:
720 case Architecture.simarm64: 720 case Architecture.simarm64:
721 ccFlags = "-m64"; 721 ccFlags = "-m64";
722 break; 722 break;
723 case Architecture.ia32: 723 case Architecture.ia32:
724 case Architecture.simarm: 724 case Architecture.simarm:
725 case Architecture.simmips:
726 ccFlags = "-m32";
727 break;
728 case Architecture.arm: 725 case Architecture.arm:
729 case Architecture.arm64: 726 case Architecture.arm64:
730 ccFlags = null; 727 ccFlags = null;
731 break; 728 break;
732 case Architecture.mips:
733 ccFlags = "-EL";
734 break;
735 default: 729 default:
736 throw "Architecture not supported: ${arch.name}"; 730 throw "Architecture not supported: ${arch.name}";
737 } 731 }
738 732
739 var exec = cc; 733 var exec = cc;
740 var args = <String>[]; 734 var args = <String>[];
741 if (ccFlags != null) args.add(ccFlags); 735 if (ccFlags != null) args.add(ccFlags);
742 if (ldFlags != null) args.add(ldFlags); 736 if (ldFlags != null) args.add(ldFlags);
743 args.add(shared); 737 args.add(shared);
744 args.add('-nostdlib'); 738 args.add('-nostdlib');
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 RuntimeConfiguration runtimeConfiguration, 931 RuntimeConfiguration runtimeConfiguration,
938 String buildDir, 932 String buildDir,
939 TestInformation info, 933 TestInformation info,
940 List<String> vmOptions, 934 List<String> vmOptions,
941 List<String> sharedOptions, 935 List<String> sharedOptions,
942 List<String> originalArguments, 936 List<String> originalArguments,
943 CommandArtifact artifact) { 937 CommandArtifact artifact) {
944 return <String>[]; 938 return <String>[];
945 } 939 }
946 } 940 }
OLDNEW
« no previous file with comments | « tools/sdks/README ('k') | tools/testing/dart/configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698