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

Unified Diff: pkg/servicec/lib/targets.dart

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/servicec/lib/stack.dart ('k') | pkg/servicec/lib/types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/servicec/lib/targets.dart
diff --git a/pkg/servicec/lib/targets.dart b/pkg/servicec/lib/targets.dart
deleted file mode 100644
index ac78feb59819b2f4c55d95c68c36ddf221b40404..0000000000000000000000000000000000000000
--- a/pkg/servicec/lib/targets.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library servicec.targets;
-
-// Using pre-Dart 1.8 enums, to allow masking.
-class Target {
- static const JAVA = const Target._(1);
- static const CC = const Target._(2);
- // When editing: new targets should be a power of 2, and ALL should be the
- // next power of 2 minus 1.
- static const ALL = const Target._(3);
-
- static get values => [JAVA, CC, ALL];
-
- final int value;
-
- const Target._(this.value);
-
- bool includes(Target t) {
- return value & t.value > 0;
- }
-}
« no previous file with comments | « pkg/servicec/lib/stack.dart ('k') | pkg/servicec/lib/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698