mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 21:11:40 +00:00
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:
parent
bbcf74a569
commit
ba97c385d4
|
@ -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
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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';
|
||||
|
|
@ -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';
|
||||
|
|
@ -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';
|
||||
|
|
@ -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);
|
||||
|
|
@ -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';
|
||||
|
|
@ -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';
|
|
@ -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';
|
||||
|
|
@ -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) {
|
|
@ -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';
|
|
@ -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';
|
|
@ -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';
|
||||
|
|
@ -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';
|
||||
|
|
@ -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();
|
||||
|
|
|
@ -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';
|
|
@ -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';
|
|
@ -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';
|
Loading…
Reference in a new issue