Chromium Code Reviews| Index: native_client_sdk/src/resources/Makefile.example.template |
| diff --git a/native_client_sdk/src/resources/Makefile.example.template b/native_client_sdk/src/resources/Makefile.example.template |
| index 1c0892a5bf806aca8d2308281759678c35f1d799..0a46e89f7ab87d894355d90b090c15df48928c49 100644 |
| --- a/native_client_sdk/src/resources/Makefile.example.template |
| +++ b/native_client_sdk/src/resources/Makefile.example.template |
| @@ -96,8 +96,14 @@ $(eval $(call SO_RULE,{{name}},$({{sources}}))) |
| [[ elif target['TYPE'] == 'so-standalone':]] |
| $(eval $(call SO_RULE,{{name}},$({{sources}}),,,1)) |
| [[ else:]] |
| +# The PNaCl workflow uses both an unstripped and finalized/stripped binary. |
| +# Or, only produce a stripped binary for Release configurations (not Debug). |
|
binji
2014/04/17 22:02:03
This sentence is a bit strange to me. Maybe "On Na
jvoung (off chromium)
2014/04/17 23:07:10
Done.
|
| +ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring Release,$(CONFIG)))) |
| $(eval $(call LINK_RULE,{{name}}_unstripped,$({{sources}}),$(LIBS),$(DEPS))) |
| $(eval $(call STRIP_RULE,{{name}},{{name}}_unstripped)) |
| +else |
| +$(eval $(call LINK_RULE,{{name}},$({{sources}}),$(LIBS),$(DEPS))) |
| +endif |
| [[]] |
| $(eval $(call NMF_RULE,$(TARGET),)){{post}} |