Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/engine/main.cpp

Issue 10894013: Pass developmentBuild info to libadblockplus (Closed)
Patch Set: Created June 5, 2013, 9:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« AdblockPlusEngine.vcxproj ('K') | « AdblockPlusEngine.vcxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/main.cpp
===================================================================
--- a/src/engine/main.cpp
+++ b/src/engine/main.cpp
@@ -170,6 +170,9 @@
appInfo.name = "adblockplusie";
appInfo.platform = "msie";
appInfo.locale = ToUtf8String(locale);
+#ifdef ADBLOCK_PLUS_TEST_MODE
+ appInfo.developmentBuild = true;
Wladimir Palant 2013/06/05 09:54:05 Please add #else and set it to false explicitly in
Felix Dahlke 2013/06/05 10:12:36 Fair enough, wouldn't hurt.
+#endif
AdblockPlus::JsEnginePtr jsEngine = AdblockPlus::JsEngine::New(appInfo);
std::string dataPath = ToUtf8String(GetAppDataPath());
« AdblockPlusEngine.vcxproj ('K') | « AdblockPlusEngine.vcxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld