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

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

Issue 13106002: [NaCl SDK] A bunch of spelling fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix presubmit 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
11 11
12 # 12 #
13 # Default configuration 13 # Default configuration
14 # 14 #
15 # By default we will build a Debug configuration using the GCC newlib toolcahin 15 # By default we will build a Debug configuration using the GCC newlib toolchain
16 # to override this, specify TOOLCHAIN=newlib|glibc or CONFIG=Debug|Release on 16 # to override this, specify TOOLCHAIN=newlib|glibc or CONFIG=Debug|Release on
17 # the make command-line or in this file prior to including common.mk. The 17 # the make command-line or in this file prior to including common.mk. The
18 # toolchain we use by default will be the first valid one listed 18 # toolchain we use by default will be the first valid one listed
19 VALID_TOOLCHAINS:={{' '.join(tools)}} 19 VALID_TOOLCHAINS:={{' '.join(tools)}}
20 20
21 21
22 {{pre}} 22 {{pre}}
23 23
24 # 24 #
25 # Get pepper directory for toolchain and includes. 25 # Get pepper directory for toolchain and includes.
(...skipping 29 matching lines...) Expand all
55 # 55 #
56 # List of libraries to link against. Unlike some tools, the GCC and LLVM 56 # List of libraries to link against. Unlike some tools, the GCC and LLVM
57 # based tools require libraries to be specified in the correct order. The 57 # based tools require libraries to be specified in the correct order. The
58 # order should be symbol reference followed by symbol definition, with direct 58 # order should be symbol reference followed by symbol definition, with direct
59 # sources to the link (object files) are left most. In this case: 59 # sources to the link (object files) are left most. In this case:
60 # hello_world -> ppapi_main -> ppapi_cpp -> ppapi -> pthread -> libc 60 # hello_world -> ppapi_main -> ppapi_cpp -> ppapi -> pthread -> libc
61 # Notice that libc is implied and come last through standard compiler/link 61 # Notice that libc is implied and come last through standard compiler/link
62 # switches. 62 # switches.
63 # 63 #
64 # We break this list down into two parts, the set we need to rebuild (DEPS) 64 # We break this list down into two parts, the set we need to rebuild (DEPS)
65 # and the set we do not. This example does not havea any additional library 65 # and the set we do not. This example does not have a any additional library
66 # dependencies. 66 # dependencies.
67 # 67 #
68 DEPS={{' '.join(targets[0].get('DEPS', []))}} 68 DEPS={{' '.join(targets[0].get('DEPS', []))}}
69 LIBS=$(DEPS) {{' '.join(targets[0].get('LIBS'))}} 69 LIBS=$(DEPS) {{' '.join(targets[0].get('LIBS'))}}
70 70
71 71
72 # 72 #
73 # Use the library dependency macro for each dependency 73 # Use the library dependency macro for each dependency
74 # 74 #
75 $(foreach dep,$(DEPS),$(eval $(call DEPEND_RULE,$(dep)))) 75 $(foreach dep,$(DEPS),$(eval $(call DEPEND_RULE,$(dep))))
(...skipping 13 matching lines...) Expand all
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 [[ else:]] 94 [[ else:]]
95 $(eval $(call LINK_RULE,{{name}},$({{name}}_SOURCES),$(LIBS),$(DEPS))) 95 $(eval $(call LINK_RULE,{{name}},$({{name}}_SOURCES),$(LIBS),$(DEPS)))
96 [[]] 96 [[]]
97 97
98 # 98 #
99 # Specify the NMF to be created with no additional arugments. 99 # Specify the NMF to be created with no additional arguments.
100 # 100 #
101 $(eval $(call NMF_RULE,$(TARGET),)) 101 $(eval $(call NMF_RULE,$(TARGET),))
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_tools/set_nacl_env.py ('k') | native_client_sdk/src/examples/debugging/string_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698