Stop Parsing the Command Line in InitLogging
* Add dummy comments to blank files git5 patch does not seem to handle blank files well. This CL will allow the new CDM interface to be tested on iOS before it is officially merged in google3. * Stop Parsing the Command Line in InitLogging [ Merge of http://go/wvgerrit/14164 ] This change removes the parameters from InitLogging() and removes the code in the Linux implementation that was using them. Change-Id: I65849a89a2fac10cfc86eb16165bfcad468140aa
This commit is contained in:
@@ -23,7 +23,7 @@ extern LogPriority g_cutoff;
|
||||
// This function is supplied for cases where the system layer does not
|
||||
// initialize logging. This is also needed to initialize logging in
|
||||
// unit tests.
|
||||
void InitLogging(int argc, const char* const* argv);
|
||||
void InitLogging();
|
||||
|
||||
void Log(const char* file, int line, LogPriority level, const char* fmt, ...);
|
||||
|
||||
|
||||
@@ -22,11 +22,18 @@
|
||||
#include "log.h"
|
||||
#include <utils/Log.h>
|
||||
|
||||
/*
|
||||
* Uncomment the line below if you want to have the LOGV messages to print
|
||||
* IMPORTANT : this will affect all of CDM
|
||||
*/
|
||||
|
||||
// #define LOG_NDEBUG 0
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
LogPriority g_cutoff = LOG_VERBOSE;
|
||||
|
||||
void InitLogging(int /* argc */, const char* const* /* argv */) {}
|
||||
void InitLogging() {}
|
||||
|
||||
void Log(const char* /* file */, int /* line */, LogPriority level,
|
||||
const char* fmt, ...) {
|
||||
|
||||
1
libwvdrmengine/third_party/stringencoders/src/config.h
vendored
Normal file
1
libwvdrmengine/third_party/stringencoders/src/config.h
vendored
Normal file
@@ -0,0 +1 @@
|
||||
// dummy
|
||||
Reference in New Issue
Block a user