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

Side by Side Diff: native_client_sdk/src/build_tools/template.mk

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # 5 #
6 # GNU Make based build file. For details on GNU Make see: 6 # GNU Make based build file. For details on GNU Make see:
7 # http://www.gnu.org/software/make/manual/make.html 7 # http://www.gnu.org/software/make/manual/make.html
8 # 8 #
9 # 9 #
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 $(foreach src,$({{name}}_SOURCES),$(eval $(call COMPILE_RULE,$(src),{{flags}}))) 84 $(foreach src,$({{name}}_SOURCES),$(eval $(call COMPILE_RULE,$(src),{{flags}})))
85 [[]] 85 [[]]
86 86
87 # 87 #
88 # Use the link macro for this target on the list of sources. 88 # Use the link macro for this target on the list of sources.
89 # 89 #
90 [[for target in targets:]] 90 [[for target in targets:]]
91 [[ name = target['NAME'] ]] 91 [[ name = target['NAME'] ]]
92 [[ if target['TYPE'] == 'so':]] 92 [[ if target['TYPE'] == 'so':]]
93 $(eval $(call SO_RULE,{{name}},$({{name}}_SOURCES))) 93 $(eval $(call SO_RULE,{{name}},$({{name}}_SOURCES)))
94 [[ elif target['TYPE'] == 'so-standalone':]]
95 $(eval $(call SO_RULE,{{name}},$({{name}}_SOURCES),,,1))
94 [[ else:]] 96 [[ else:]]
95 $(eval $(call LINK_RULE,{{name}},$({{name}}_SOURCES),$(LIBS),$(DEPS))) 97 $(eval $(call LINK_RULE,{{name}},$({{name}}_SOURCES),$(LIBS),$(DEPS)))
96 [[]] 98 [[]]
97 99
98 # 100 #
99 # Specify the NMF to be created with no additional arguments. 101 # Specify the NMF to be created with no additional arguments.
100 # 102 #
101 $(eval $(call NMF_RULE,$(TARGET),)) 103 $(eval $(call NMF_RULE,$(TARGET),))
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/generate_make.py ('k') | native_client_sdk/src/examples/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698