| Index: lib/dom/scripts/fremontcutbuilder.py
|
| diff --git a/lib/dom/scripts/fremontcutbuilder.py b/lib/dom/scripts/fremontcutbuilder.py
|
| index eb70421ff9105688210d299880b7e5a143263ad8..e6079cefc35d2b728914c8c6365984bb64b0494d 100755
|
| --- a/lib/dom/scripts/fremontcutbuilder.py
|
| +++ b/lib/dom/scripts/fremontcutbuilder.py
|
| @@ -149,9 +149,17 @@ def main():
|
| ('IDBDatabase', 'transaction', 'mode'),
|
| ]
|
|
|
| + # Assume standard Dart checkout.
|
| + webcore_path = os.path.join(current_dir, '..', '..', '..',
|
| + 'third_party', 'WebCore')
|
| +
|
| + if not os.path.exists(webcore_path):
|
| + # Dartium checkout.
|
| + webcore_path = os.path.join(current_dir, '..', '..', '..', '..',
|
| + 'third_party', 'WebKit', 'Source', 'WebCore')
|
| +
|
| for dir_name in webkit_dirs:
|
| - dir_path = os.path.join(current_dir, '..', '..', '..', '..',
|
| - 'third_party', 'WebKit', 'Source', 'WebCore', dir_name)
|
| + dir_path = os.path.join(webcore_path, dir_name)
|
| builder.import_idl_directory(dir_path, webkit_options)
|
|
|
| webkit_supplemental_options = databasebuilder.DatabaseBuilderOptions(
|
|
|