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

Unified Diff: build/common.gypi

Issue 606033002: Make FTS2 inclusion in SQLite optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 | « no previous file | sql/sql.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « no previous file | sql/sql.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698