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

Unified Diff: tools/dom/scripts/chromegenerator.py

Issue 12316032: Added more Chrome.* libraries to dart:chrome (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added isMaximised override file Created 7 years, 10 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/chrome/dart2js/chrome_dart2js.dart ('k') | tools/dom/src/chrome/alarms.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/chromegenerator.py
diff --git a/tools/dom/scripts/chromegenerator.py b/tools/dom/scripts/chromegenerator.py
index af6ef3a5b4d143fdb703b3a17cade665d6e9eb3f..d89f6f14afdf2d84f674c6bae5d65d9c469c7803 100755
--- a/tools/dom/scripts/chromegenerator.py
+++ b/tools/dom/scripts/chromegenerator.py
@@ -10,11 +10,11 @@ import os
# The path to the JSON Schema Compiler, which can be run to generate the files.
# Lives in the Chromium repository, so needs to be pulled in somehow.
-COMPILER = "../../../third_party/chrome_api_tools/compiler.py"
+COMPILER = "../../../third_party/chrome/tools/json_schema_compiler/compiler.py"
# The path to the Chrome IDL files. They live in the Chromium repository, so
# need to be pulled in somehow.
-API_DIR = "../../../third_party/chrome_api/"
+API_DIR = "../../../third_party/chrome/api/"
# The path to the custom overrides directory, containing override files.
OVERRIDES_DIR = "../src/chrome/custom_dart/"
@@ -65,8 +65,22 @@ TEMPLATE_FILE_FORMAT = 'part "$AUXILIARY_DIR/chrome/%s.dart";'
# TODO(sashab): Later, use the ones from API_DIR/api.gyp and
# API_DIR/_permission_features.json (for 'platform_apps').
API_FILES = [
+ "alarms.idl",
"app_window.idl",
"app_runtime.idl",
+ "bluetooth.idl",
+ "context_menus.json",
+ "file_system.idl",
+ "media_galleries.idl",
+ "media_galleries_private.idl",
+ "push_messaging.idl",
+ "serial.idl",
+ "socket.idl",
+ "sync_file_system.idl",
+ "system_indicator.idl",
+ "system_info_display.idl",
+ "usb.idl",
+ # TODO(sashab): Add experimental APIs here, too.
]
if __name__ == "__main__":
« no previous file with comments | « sdk/lib/chrome/dart2js/chrome_dart2js.dart ('k') | tools/dom/src/chrome/alarms.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698