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

Unified Diff: tools/dartium/generate_app/generate_cached_patches.dart

Issue 1833373002: Speed up interop patch file creation (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Requires latest change to WebKit Created 4 years, 9 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 | « sdk/lib/js/dartium/js_dartium.dart ('k') | tools/dartium/generate_app/generate_cached_patches.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dartium/generate_app/generate_cached_patches.dart
diff --git a/tools/dartium/generate_app/generate_cached_patches.dart b/tools/dartium/generate_app/generate_cached_patches.dart
new file mode 100644
index 0000000000000000000000000000000000000000..21ca4fb6f83bc4d5a1799e48e9bd5f1a8622eb92
--- /dev/null
+++ b/tools/dartium/generate_app/generate_cached_patches.dart
@@ -0,0 +1,18 @@
+// Copyright (c) 2013, the Dart 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.
+
+import "dart:js" as js;
+
+void main() {
+ try {
+ var cached_files = js.createCachedPatchesFile();
+ print("$cached_files");
+ } catch (e) {
+ var workedElem = document.querySelector("#worked");
+ var failedElem = document.querySelector("#failed");
+ workedElem.style.dispay = 'none';
+ failedElem.style.visibility = 'inline';
+ }
+}
+
« no previous file with comments | « sdk/lib/js/dartium/js_dartium.dart ('k') | tools/dartium/generate_app/generate_cached_patches.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698