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

Side by Side Diff: native_client_sdk/src/gonacl_appengine/src/earth/Makefile

Issue 1655873003: [NaCl SDK] Cleanup references to old newlib toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_pepper_50
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GNU Makefile based on shared rules provided by the Native Client SDK. 5 # GNU Makefile based on shared rules provided by the Native Client SDK.
6 # See README.Makefiles for more details. 6 # See README.Makefiles for more details.
7 7
8 VALID_TOOLCHAINS := newlib glibc pnacl 8 VALID_TOOLCHAINS := clang-newlib glibc pnacl
9 9
10 NACL_SDK_ROOT ?= $(abspath $(CURDIR)/../../..) 10 NACL_SDK_ROOT ?= $(abspath $(CURDIR)/../../..)
11 include $(NACL_SDK_ROOT)/tools/common.mk 11 include $(NACL_SDK_ROOT)/tools/common.mk
12 12
13 TARGET = earth 13 TARGET = earth
14 LIBS = $(DEPS) ppapi_simple nacl_io sdk_util ppapi_cpp ppapi pthread 14 LIBS = $(DEPS) ppapi_simple nacl_io sdk_util ppapi_cpp ppapi pthread
15 15
16 CFLAGS = -Wall -I.. 16 CFLAGS = -Wall -I..
17 SOURCES = earth.cc 17 SOURCES = earth.cc
18 18
19 # Build rules generated by macros from common.mk: 19 # Build rules generated by macros from common.mk:
20 20
21 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS)))) 21 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS))))
22 22
23 # The PNaCl workflow uses both an unstripped and finalized/stripped binary. 23 # The PNaCl workflow uses both an unstripped and finalized/stripped binary.
24 # On NaCl, only produce a stripped binary for Release configs (not Debug). 24 # On NaCl, only produce a stripped binary for Release configs (not Debug).
25 ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring Release,$(CONFIG)))) 25 ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring Release,$(CONFIG))))
26 $(eval $(call LINK_RULE,$(TARGET)_unstripped,$(SOURCES),$(LIBS),$(DEPS))) 26 $(eval $(call LINK_RULE,$(TARGET)_unstripped,$(SOURCES),$(LIBS),$(DEPS)))
27 $(eval $(call STRIP_RULE,$(TARGET),$(TARGET)_unstripped)) 27 $(eval $(call STRIP_RULE,$(TARGET),$(TARGET)_unstripped))
28 else 28 else
29 $(eval $(call LINK_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS))) 29 $(eval $(call LINK_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS)))
30 endif 30 endif
31 31
32 $(eval $(call NMF_RULE,$(TARGET),)) 32 $(eval $(call NMF_RULE,$(TARGET),))
OLDNEW
« no previous file with comments | « native_client_sdk/src/gonacl_appengine/src/cube/Makefile ('k') | native_client_sdk/src/gonacl_appengine/src/life/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698