| # Copyright 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. |
| |
| { |
| 'includes': [ |
| 'dart-native-extensions.gypi', |
| ], |
| 'variables': { |
| 'dart_dir': '../../../../../../dart', |
| 'bindings_core_dart_dir': '.', |
| 'bindings_core_dart_files': [ |
| 'DartApplicationLoader.cpp', |
| 'DartApplicationLoader.h', |
| 'DartCallback.cpp', |
| 'DartCallback.h', |
| 'DartBindingsCommonIncludes.h', |
| 'DartController.cpp', |
| 'DartController.h', |
| 'DartCustomBindings.h', |
| 'DartCustomBindings.cpp', |
| 'DartScriptDebugServer.cpp', |
| 'DartScriptDebugServer.h', |
| 'DartDOMData.cpp', |
| 'DartDOMData.h', |
| 'DartDOMWrapper.cpp', |
| 'DartDOMWrapper.h', |
| 'DartEventListener.cpp', |
| 'DartEventListener.h', |
| 'DartExceptionState.h', |
| 'DartExceptionState.cpp', |
| 'DartHandleProxy.cpp', |
| 'DartHandleProxy.h', |
| 'DartInjectedScript.cpp', |
| 'DartInjectedScript.h', |
| 'DartInjectedScriptManager.cpp', |
| 'DartInjectedScriptManager.h', |
| 'DartInspectorConsoleMessage.h', |
| 'DartInspectorConsoleMessage.cpp', |
| 'DartInspectorDebuggerAgent.h', |
| 'DartInspectorDebuggerAgent.cpp', |
| 'DartInspectorRuntimeAgent.h', |
| 'DartInspectorRuntimeAgent.cpp', |
| 'DartIsolateDestructionObserver.cpp', |
| 'DartIsolateDestructionObserver.h', |
| 'DartJsInterop.h', |
| 'DartJsInterop.cpp', |
| 'DartJsInteropData.h', |
| 'DartJsInteropData.cpp', |
| 'DartNativeUtilities.cpp', |
| 'DartNativeUtilities.h', |
| 'DartPageDebuggerAgent.cpp', |
| 'DartPageDebuggerAgent.h', |
| 'DartScriptDebugListener.h', |
| 'DartScriptState.cpp', |
| 'DartScriptState.h', |
| 'DartPersistentValue.cpp', |
| 'DartPersistentValue.h', |
| 'DartService.cpp', |
| 'DartService.h', |
| 'DartStringCache.cpp', |
| 'DartStringCache.h', |
| 'DartUtilities.cpp', |
| 'DartUtilities.h', |
| 'DartWebkitClassIds.h', |
| 'DartWebkitClassIds.cpp', |
| 'ThreadSafeDartIsolateWrapper.cpp', |
| 'ThreadSafeDartIsolateWrapper.h', |
| 'V8Converter.cpp', |
| 'V8Converter.h', |
| # FIXMEDART: These don't really belong here. But where? |
| # FIXMEDART: Add these back when generated as well as the |
| # blink_DartResolver.cpp. |
| 'DartSnapshot.bytes', |
| ], |
| 'additional_target_deps': [ |
| '<(dart_dir)/runtime/dart-runtime.gyp:libvmservice_io#target', |
| ], |
| 'conditions': [ |
| ['enable_dart_native_extensions==1', { |
| 'bindings_core_dart_files': [ |
| 'shared_lib/DartNativeExtensions.cpp', |
| 'shared_lib/DartNativeExtensions.h', |
| 'shared_lib/DartNativeExtensionsPosix.cpp', |
| 'shared_lib/DartNativeExtensionsWin.cpp', |
| ], |
| }], |
| ], |
| # FIXMEDART: Add unittests! |
| 'bindings_core_dart_unittest_files': [ |
| ], |
| }, |
| } |