Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 7701e2dc4cfd4ce6627206384931d4599bc0843f..163abae0a9f725f9966b48813dd2b053292d6a5b 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -796,6 +796,7 @@ |
'enable_managed_users%': 0, |
'enable_task_manager%': 0, |
'use_system_libcxx%': 1, |
+ 'support_pre_M6_history_database%': 0, |
}], |
# Use GPU accelerated cross process image transport by default |
@@ -1037,6 +1038,9 @@ |
'google_default_client_secret%': '', |
# Native Client is enabled by default. |
'disable_nacl%': '0', |
+ |
+ # Set to 1 to support old history files |
+ 'support_pre_M6_history_database%': '1', |
}, |
# Copy conditionally-set variables out one scope. |
@@ -1177,6 +1181,7 @@ |
'gomadir%': '<(gomadir)', |
'video_hole%': '<(video_hole)', |
'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', |
+ 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', |
# Whether or not we are building the Athena shell. |
'use_athena%': '0', |
@@ -2305,6 +2310,9 @@ |
}], |
], |
+ # older history files use fts2 instead of fts3 |
+ 'sqlite_enable_fts2%': '<(support_pre_M6_history_database)', |
+ |
# The path to the ANGLE library. |
'angle_path': '<(DEPTH)/third_party/angle', |