diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/win/idl-includedirs')
4 files changed, 60 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/hello.cc b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/hello.cc new file mode 100644 index 000000000..9dc3c94f3 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/hello.cc @@ -0,0 +1,7 @@ +// Copyright (c) 2014 Google Inc. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +int main() { + return 0; +} diff --git a/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/idl-includedirs.gyp b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/idl-includedirs.gyp new file mode 100644 index 000000000..fcec063a9 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/idl-includedirs.gyp @@ -0,0 +1,26 @@ +# Copyright (c) 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'test_midl_include_dirs', + 'type': 'executable', + 'sources': [ + 'hello.cc', + 'subdir/foo.idl', + 'subdir/bar.idl', + ], + 'midl_include_dirs': [ + 'subdir', + ], + 'msvs_settings': { + 'VCMIDLTool': { + 'OutputDirectory': '<(INTERMEDIATE_DIR)', + 'DLLDataFileName': '$(InputName)_dlldata.h', + }, + }, + }, + ], +} diff --git a/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/bar.idl b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/bar.idl new file mode 100644 index 000000000..d4e6cbb3e --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/bar.idl @@ -0,0 +1,13 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import "oaidl.idl"; + +[ + object, + uuid(A03D1421-B1EC-11D0-8C3A-00C04FC31D3F), +] +interface Bar : IUnknown { + HRESULT BarFunction(); +}; diff --git a/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/foo.idl b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/foo.idl new file mode 100644 index 000000000..c8c65b9be --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/idl-includedirs/subdir/foo.idl @@ -0,0 +1,14 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import "oaidl.idl"; +import "bar.idl"; + +[ + object, + uuid(9C1100DD-51D4-4827-AE9F-3B8FAC4AED72), +] +interface Foo : IUnknown { + HRESULT FooFunction(Bar* bar); +}; |