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

Unified Diff: native_client_sdk/src/tools/common.mk

Issue 14235010: [NaCl SDK] Disable nodosfilewarning warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/common.mk
diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
index 1082bd50e29d42d2026b8aeeeb6030938b91231a..893fcf1de0bc85113447b3278ab657763632542b 100644
--- a/native_client_sdk/src/tools/common.mk
+++ b/native_client_sdk/src/tools/common.mk
@@ -6,7 +6,7 @@
# GNU Make based build file. For details on GNU Make see:
# http://www.gnu.org/software/make/manual/make.html
#
-#
+
#
# Toolchain
@@ -26,6 +26,13 @@ TOP_MAKE:=$(word 1,$(MAKEFILE_LIST))
#
+# Figure out which OS we are running on.
+#
+GETOS=python $(NACL_SDK_ROOT)/tools/getos.py
+OSNAME:=$(shell $(GETOS))
+
+
+#
# Verify we selected a valid toolchain for this example
#
ifeq (,$(findstring $(TOOLCHAIN),$(VALID_TOOLCHAINS)))
@@ -44,6 +51,7 @@ endif
CONFIG?=Debug
+#
# Note for Windows:
# The GCC and LLVM toolchains (include the version of Make.exe that comes
# with the SDK) expect and are capable of dealing with the '/' seperator.
@@ -115,8 +123,6 @@ endif
#
# Compute path to requested NaCl Toolchain
#
-GETOS=python $(NACL_SDK_ROOT)/tools/getos.py
-OSNAME:=$(shell $(GETOS))
TC_PATH:=$(abspath $(NACL_SDK_ROOT)/toolchain)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698