| 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;
|
| - }
|
| -}
|
|
|