| OLD | NEW |
| 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 Loading... |
| 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),)) |
| OLD | NEW |