Fix paths_efl.cc build warnings
authorPiotr Tworek <p.tworek@samsung.com>
Thu, 12 Mar 2015 13:50:49 +0000 (14:50 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
The kDataPath, kExePath, kLocalePath vars are only used when OS_TIZEN is
defined so also keep their declarations in the same ifdef.

Change-Id: I5ce4e68d5f783eae2ffe5f1df96d732cdfce639d
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/chromium_impl/content/common/paths_efl.cc

index 0521180..2c9477c 100644 (file)
 #endif
 
 namespace {
+#if defined(OS_TIZEN)
 const base::FilePath::CharType kDataPath[] = FILE_PATH_LITERAL(DATA_DIR);
 const base::FilePath::CharType kExePath[] = FILE_PATH_LITERAL(EXE_DIR);
 const base::FilePath::CharType kLocalePath[] = FILE_PATH_LITERAL(LOCALE_DIR);
-#if defined(OS_TIZEN)
 const base::FilePath::CharType kEdjeThemesDir[] = FILE_PATH_LITERAL("themes");
 const base::FilePath::CharType kApplicationDataDir[] = FILE_PATH_LITERAL("data");
 const base::FilePath::CharType kApplicationCacheDir[] = FILE_PATH_LITERAL("cache");