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

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

Issue 19820007: Fixes for Blink roll. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minors fixes Created 7 years, 5 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
Index: tools/dom/scripts/fremontcutbuilder.py
diff --git a/tools/dom/scripts/fremontcutbuilder.py b/tools/dom/scripts/fremontcutbuilder.py
index f95e6bc750138e245bd1c2ef678c0a3409f56e96..b8881072d5334ead191edf3c95e584e3015b93c1 100755
--- a/tools/dom/scripts/fremontcutbuilder.py
+++ b/tools/dom/scripts/fremontcutbuilder.py
@@ -115,8 +115,15 @@ def main(parallel=False):
idl_files = []
+ # Check default location in a regular dart enlistment.
webcore_dir = os.path.join(current_dir, '..', '..', '..', 'third_party',
'WebCore')
+
+ if not os.path.exists(webcore_dir):
+ # Check default location in a dartium enlistment.
+ webcore_dir = os.path.join(current_dir, '..', '..', '..', '..',
+ 'third_party', 'WebKit', 'Source')
+
if not os.path.exists(webcore_dir):
raise RuntimeError('directory not found: %s' % webcore_dir)
@@ -125,6 +132,7 @@ def main(parallel=False):
'testing', # IDLs to expose testing APIs
'networkinfo', # Not yet used in Blink yet
'vibration', # Not yet used in Blink yet
+ 'inspector',
]
def visitor(arg, dir_name, names):

Powered by Google App Engine
This is Rietveld 408576698