Rearranges the polymer package now that the old compiler is gone.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23757034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27462 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
sigmund@google.com 2013-09-13 00:18:09 +00:00
parent bbcf74a569
commit ba97c385d4
19 changed files with 43 additions and 43 deletions

View file

@ -151,7 +151,7 @@ oauth2/test/handle_access_token_response_test: Fail, OK # Uses dart:io.
observe/test/transform_test: Fail, OK # Uses dart:io.
path/test/io_test: Fail, OK # Uses dart:io.
polymer/test/build/*: Fail, OK # Uses dart:io.
polymer/test/transform/*: Fail, OK # Uses dart:io.
polymer/test/utils_test: Fail, OK # Uses dart:io.
watcher/test/*: Fail, OK # Uses dart:io.
scheduled_test/test/descriptor/async_test: Fail # http://dartbug.com/8440

View file

@ -84,9 +84,9 @@ import 'dart:io';
import 'package:args/args.dart';
import 'src/barback_runner.dart';
import 'src/linter.dart';
import 'src/transform.dart';
import 'src/build/linter.dart';
import 'src/build/runner.dart';
import 'transformer.dart';
/**

View file

@ -27,8 +27,8 @@ import 'dart:io';
import 'package:args/args.dart';
import 'package:path/path.dart' as path;
import 'package:polymer/src/barback_runner.dart';
import 'package:polymer/src/transform.dart';
import 'src/build/runner.dart';
import 'transformer.dart';
main() {
var args = _parseArgs(new Options().arguments);

View file

@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** Transfomer that extracts inlined script code into separate assets. */
library polymer.src.transformers;
library polymer.src.build.code_extractor;
import 'dart:async';

View file

@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** Common methods used by transfomers. */
library polymer.src.transform.common;
library polymer.src.build.common;
import 'dart:async';

View file

@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** Transfomer that inlines polymer-element definitions from html imports. */
library polymer.src.transform.import_inliner;
library polymer.src.build.import_inliner;
import 'dart:async';

View file

@ -6,7 +6,7 @@
* Logic to validate that developers are correctly using Polymer constructs.
* This is mainly used to produce warnings for feedback in the editor.
*/
library polymer.src.linter;
library polymer.src.build.linter;
import 'dart:io';
import 'dart:async';
@ -17,7 +17,7 @@ import 'package:barback/barback.dart';
import 'package:html5lib/dom.dart';
import 'package:html5lib/dom_parsing.dart';
import 'transform/common.dart';
import 'common.dart';
typedef String MessageFormatter(String kind, String message, Span span);

View file

@ -6,7 +6,7 @@
* Final phase of the polymer transformation: includes any additional polyfills
* that may needed by the deployed app.
*/
library polymer.src.transform.polyfill_injector;
library polymer.src.build.polyfill_injector;
import 'dart:async';

View file

@ -6,7 +6,7 @@
* Definitions used to run the polymer linter and deploy tools without using
* pub serve or pub deploy.
*/
library polymer.src.barback_runner;
library polymer.src.build.runner;
import 'dart:async';
import 'dart:convert';

View file

@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** Transfomer that combines multiple dart script tags into a single one. */
library polymer.src.transform.script_compactor;
library polymer.src.build.script_compactor;
import 'dart:async';

View file

@ -7,17 +7,17 @@
library polymer.src.transform;
import 'package:observe/transform.dart';
import 'transform/code_extractor.dart';
import 'transform/import_inliner.dart';
import 'transform/script_compactor.dart';
import 'transform/polyfill_injector.dart';
import 'transform/common.dart';
import 'src/build/code_extractor.dart';
import 'src/build/import_inliner.dart';
import 'src/build/script_compactor.dart';
import 'src/build/polyfill_injector.dart';
import 'src/build/common.dart';
export 'transform/code_extractor.dart';
export 'transform/import_inliner.dart';
export 'transform/script_compactor.dart';
export 'transform/polyfill_injector.dart';
export 'transform/common.dart' show TransformOptions;
export 'src/build/code_extractor.dart';
export 'src/build/import_inliner.dart';
export 'src/build/script_compactor.dart';
export 'src/build/polyfill_injector.dart';
export 'src/build/common.dart' show TransformOptions;
/** Creates phases to deploy a polymer application. */
List<List<Transformer>> createDeployPhases(TransformOptions options) {

View file

@ -2,9 +2,9 @@
// 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 polymer.test.transform.all_phases_test;
library polymer.test.build.all_phases_test;
import 'package:polymer/src/transform.dart';
import 'package:polymer/transformer.dart';
import 'package:unittest/compact_vm_config.dart';
import 'common.dart';

View file

@ -2,10 +2,10 @@
// 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 polymer.test.transform.code_extractor_test;
library polymer.test.build.code_extractor_test;
import 'package:polymer/src/transform/code_extractor.dart';
import 'package:polymer/src/transform/common.dart';
import 'package:polymer/src/build/code_extractor.dart';
import 'package:polymer/src/build/common.dart';
import 'package:unittest/compact_vm_config.dart';
import 'common.dart';

View file

@ -2,7 +2,7 @@
// 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 polymer.test.transfom.common;
library polymer.test.build.common;
import 'dart:async';

View file

@ -2,10 +2,10 @@
// 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 polymer.test.transform.import_inliner_test;
library polymer.test.build.import_inliner_test;
import 'package:polymer/src/transform/common.dart';
import 'package:polymer/src/transform/import_inliner.dart';
import 'package:polymer/src/build/common.dart';
import 'package:polymer/src/build/import_inliner.dart';
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';

View file

@ -4,13 +4,13 @@
library polymer.test.linter_test;
import 'package:polymer/src/linter.dart';
import 'package:polymer/src/transform/common.dart';
import 'package:polymer/src/build/common.dart';
import 'package:polymer/src/build/linter.dart';
import 'package:source_maps/span.dart';
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';
import '../transform/common.dart';
import 'common.dart';
void main() {
useCompactVMConfiguration();

View file

@ -2,10 +2,10 @@
// 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 polymer.test.transform.polyfill_injector_test;
library polymer.test.build.polyfill_injector_test;
import 'package:polymer/src/transform/common.dart';
import 'package:polymer/src/transform/polyfill_injector.dart';
import 'package:polymer/src/build/common.dart';
import 'package:polymer/src/build/polyfill_injector.dart';
import 'package:unittest/compact_vm_config.dart';
import 'common.dart';

View file

@ -2,10 +2,10 @@
// 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 polymer.test.transform.script_compactor_test;
library polymer.test.build.script_compactor_test;
import 'package:polymer/src/transform/common.dart';
import 'package:polymer/src/transform/script_compactor.dart';
import 'package:polymer/src/build/common.dart';
import 'package:polymer/src/build/script_compactor.dart';
import 'package:unittest/compact_vm_config.dart';
import 'common.dart';

View file

@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** Tests for some of the utility helper functions used by the compiler. */
library utils_test;
library polymer.test.utils_test;
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';