From 299eb63862f16469aa6548d0d947f930fa756de7 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Wed, 14 Mar 2012 16:04:11 +0000 Subject: mac make: Don't put host shared libraries into the product directory. With the components build, but host and target create a libbase.dylib. With the old code, both would end up directly in out/Release, creating conflicting build rules for out/Release/libbase.dylib. Instead, let the host version go into out/Release/obj.host/base/libbase.dylib BUG=chromium:90078 Review URL: https://chromiumcodereview.appspot.com/9700021 git-svn-id: http://gyp.googlecode.com/svn/trunk@1245 78cadc50-ecff-11dd-a971-7dbc132099af --- test/toolsets/toolsets.gyp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/toolsets') diff --git a/test/toolsets/toolsets.gyp b/test/toolsets/toolsets.gyp index e41b928d..286edf2f 100644 --- a/test/toolsets/toolsets.gyp +++ b/test/toolsets/toolsets.gyp @@ -34,5 +34,15 @@ 'main.cc', ], }, + # This tests that build systems can handle a shared library being build for + # both host and target. + { + 'target_name': 'janus', + 'type': 'shared_library', + 'toolsets': ['target', 'host'], + 'sources': [ + 'toolsets.cc', + ], + }, ], } -- cgit v1.2.3