| Index: sky/engine/bindings-dart/core/dart/shared_lib/DartLibraryMain.cpp
|
| diff --git a/sky/engine/bindings/tests/idls/TestInterfaceDocument.idl b/sky/engine/bindings-dart/core/dart/shared_lib/DartLibraryMain.cpp
|
| similarity index 86%
|
| copy from sky/engine/bindings/tests/idls/TestInterfaceDocument.idl
|
| copy to sky/engine/bindings-dart/core/dart/shared_lib/DartLibraryMain.cpp
|
| index 2a687e871a44bace871a2d7b65243bbbdedc7339..e1a73345da4fccf48c166e464d0a6d980a43cf4a 100644
|
| --- a/sky/engine/bindings/tests/idls/TestInterfaceDocument.idl
|
| +++ b/sky/engine/bindings-dart/core/dart/shared_lib/DartLibraryMain.cpp
|
| @@ -28,5 +28,12 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -interface TestInterfaceDocument : Document {
|
| -};
|
| +#if !defined(DART_SHARED_LIB)
|
| +#error This is only intended to be used when Dart is used as a shared library.
|
| +#endif
|
| +
|
| +// Unused entry point for a shared library containing the Dart VM.
|
| +int main(int argc, char** argv)
|
| +{
|
| + return 0;
|
| +}
|
|
|