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

Unified Diff: gyp/lua.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment Created 6 years, 10 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
Index: gyp/lua.gyp
diff --git a/gyp/lua.gyp b/gyp/lua.gyp
index 704b8e46a416825f2831c9fd7e1db4a1c285fb65..8628b9fe1d1ce752095de8a6dabb40e2340cff97 100644
--- a/gyp/lua.gyp
+++ b/gyp/lua.gyp
@@ -56,8 +56,19 @@
'../third_party/lua/src/',
],
},
- 'defines': [
- "getlocaledecpoint()='.'"
+ 'conditions': [
+ ['skia_os == "win"',
+ {
+ 'defines': [
+ "getlocaledecpoint()='.'",
+ ],
+ }, { # 'skia_os != "win"'
+ 'defines': [
+ "getlocaledecpoint()='.'",
scroggo 2014/02/18 21:46:24 Since this is common to both, what if we instead h
hal.canary 2014/02/19 15:21:03 Done.
+ 'LUA_USE_POSIX', # Fix warning re dangerous tmpnam.
+ ],
+ }
+ ],
],
},
],

Powered by Google App Engine
This is Rietveld 408576698