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

Side by Side Diff: native_client_sdk/src/resources/Makefile.library.template

Issue 1269623004: [NaCl SDK] Remove support for bionic toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 [[def ExpandDict(key, value_in, pre_list=[], post_list=[]):]] 4 [[def ExpandDict(key, value_in, pre_list=[], post_list=[]):]]
5 [[ value = value_in or [] ]] 5 [[ value = value_in or [] ]]
6 [[ pre = pre_list or [] ]] 6 [[ pre = pre_list or [] ]]
7 [[ post = post_list or [] ]] 7 [[ post = post_list or [] ]]
8 [[ if type(value) is not dict:]] 8 [[ if type(value) is not dict:]]
9 [[ out = pre]] 9 [[ out = pre]]
10 [[ out.extend(value)]] 10 [[ out.extend(value)]]
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 # Build rules generated by macros from common.mk: 62 # Build rules generated by macros from common.mk:
63 63
64 [[if targets[0].get('DEPS'):]] 64 [[if targets[0].get('DEPS'):]]
65 $(foreach dep,$(DEPS),$(eval $(call DEPEND_RULE,$(dep)))) 65 $(foreach dep,$(DEPS),$(eval $(call DEPEND_RULE,$(dep))))
66 [[]] 66 [[]]
67 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS)))) 67 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS))))
68 $(eval $(call LIB_RULE,$(TARGET),$(SOURCES))) 68 $(eval $(call LIB_RULE,$(TARGET),$(SOURCES)))
69 69
70 [[if target['TYPE'] != 'static-lib':]] 70 [[if target['TYPE'] != 'static-lib':]]
71 ifneq (,$(findstring $(TOOLCHAIN),glibc bionic)) 71 ifneq (,$(findstring $(TOOLCHAIN),glibc))
72 $(eval $(call SO_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS))) 72 $(eval $(call SO_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS)))
73 endif 73 endif
74 [[]] 74 [[]]
75 {{post}} 75 {{post}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698