# 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. # All paths in this file should be absolute so it can be imported into # different contexts. import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") bindings_core_v8_files = get_path_info([ "core/v8/custom/V8CSSStyleDeclarationCustom.cpp", "core/v8/custom/V8CustomXPathNSResolver.cpp", "core/v8/custom/V8CustomXPathNSResolver.h", "core/v8/custom/V8DevToolsHostCustom.cpp", "core/v8/custom/V8DocumentCustom.cpp", "core/v8/custom/V8ElementCustom.cpp", "core/v8/custom/V8ErrorEventCustom.cpp", "core/v8/custom/V8EventTargetCustom.cpp", "core/v8/custom/V8HTMLAllCollectionCustom.cpp", "core/v8/custom/V8HTMLPlugInElementCustom.cpp", "core/v8/custom/V8MessageChannelCustom.cpp", "core/v8/custom/V8MessageEventCustom.cpp", "core/v8/custom/V8PopStateEventCustom.cpp", "core/v8/custom/V8PromiseRejectionEventCustom.cpp", "core/v8/custom/V8ShadowRootCustom.cpp", "core/v8/custom/V8WindowCustom.cpp", "core/v8/custom/V8XMLHttpRequestCustom.cpp", "core/v8/ActiveScriptWrappable.h", "core/v8/ArrayValue.cpp", "core/v8/ArrayValue.h", "core/v8/BindingSecurity.cpp", "core/v8/BindingSecurity.h", "core/v8/CallbackPromiseAdapter.h", "core/v8/Dictionary.cpp", "core/v8/Dictionary.h", "core/v8/DictionaryHelperForBindings.h", "core/v8/DictionaryHelperForCore.cpp", "core/v8/DictionaryIterator.cpp", "core/v8/DictionaryIterator.h", "core/v8/ExceptionMessages.cpp", "core/v8/ExceptionMessages.h", "core/v8/ExceptionState.cpp", "core/v8/ExceptionState.h", "core/v8/GeneratedCodeHelper.cpp", "core/v8/GeneratedCodeHelper.h", "core/v8/IDLDictionaryBase.cpp", "core/v8/IDLDictionaryBase.h", "core/v8/IDLTypes.h", "core/v8/IDLTypesBase.h", "core/v8/Iterable.h", "core/v8/LocalWindowProxy.cpp", "core/v8/LocalWindowProxy.h", "core/v8/Maplike.h", "core/v8/NativeValueTraits.h", "core/v8/NativeValueTraitsImpl.h", "core/v8/Nullable.h", "core/v8/ReferrerScriptInfo.cpp", "core/v8/ReferrerScriptInfo.h", "core/v8/RejectedPromises.cpp", "core/v8/RejectedPromises.h", "core/v8/RemoteWindowProxy.cpp", "core/v8/RemoteWindowProxy.h", "core/v8/RetainedDOMInfo.cpp", "core/v8/RetainedDOMInfo.h", "core/v8/RetainedObjectInfo.h", "core/v8/ScheduledAction.cpp", "core/v8/ScheduledAction.h", "core/v8/ScriptController.cpp", "core/v8/ScriptController.h", "core/v8/ScriptCustomElementDefinition.cpp", "core/v8/ScriptCustomElementDefinition.h", "core/v8/ScriptCustomElementDefinitionBuilder.cpp", "core/v8/ScriptCustomElementDefinitionBuilder.h", "core/v8/ScriptEventListener.cpp", "core/v8/ScriptEventListener.h", "core/v8/ScriptFunction.cpp", "core/v8/ScriptFunction.h", "core/v8/ScriptModule.cpp", "core/v8/ScriptModule.h", "core/v8/ScriptPromise.cpp", "core/v8/ScriptPromise.h", "core/v8/ScriptPromiseProperty.h", "core/v8/ScriptPromisePropertyBase.cpp", "core/v8/ScriptPromisePropertyBase.h", "core/v8/ScriptPromiseResolver.cpp", "core/v8/ScriptPromiseResolver.h", "core/v8/ScriptRegexp.cpp", "core/v8/ScriptRegexp.h", "core/v8/ScriptSourceCode.cpp", "core/v8/ScriptSourceCode.h", "core/v8/ScriptSourceLocationType.h", "core/v8/ScriptStreamer.cpp", "core/v8/ScriptStreamer.h", "core/v8/ScriptStreamerThread.cpp", "core/v8/ScriptStreamerThread.h", "core/v8/ScriptString.cpp", "core/v8/ScriptString.h", "core/v8/ScriptValue.cpp", "core/v8/ScriptValue.h", "core/v8/SourceLocation.cpp", "core/v8/SourceLocation.h", "core/v8/ToV8ForCore.cpp", "core/v8/ToV8ForCore.h", "core/v8/UseCounterCallback.cpp", "core/v8/UseCounterCallback.h", "core/v8/V0CustomElementConstructorBuilder.cpp", "core/v8/V0CustomElementConstructorBuilder.h", "core/v8/V8AbstractEventListener.cpp", "core/v8/V8AbstractEventListener.h", "core/v8/V8BindingForCore.cpp", "core/v8/V8BindingForCore.h", "core/v8/V8CacheOptions.h", "core/v8/V8CrossOriginSetterInfo.h", "core/v8/V8DOMConfiguration.cpp", "core/v8/V8DOMConfiguration.h", "core/v8/V8ErrorHandler.cpp", "core/v8/V8ErrorHandler.h", "core/v8/V8EventListener.cpp", "core/v8/V8EventListener.h", "core/v8/V8EventListenerHelper.cpp", "core/v8/V8EventListenerHelper.h", "core/v8/V8EventListenerInfo.h", "core/v8/V8GCController.cpp", "core/v8/V8GCController.h", "core/v8/V8GCForContextDispose.cpp", "core/v8/V8GCForContextDispose.h", "core/v8/V8HTMLConstructor.cpp", "core/v8/V8HTMLConstructor.h", "core/v8/V8IdleTaskRunner.h", "core/v8/V8Initializer.cpp", "core/v8/V8Initializer.h", "core/v8/V8IntersectionObserverDelegate.cpp", "core/v8/V8IntersectionObserverDelegate.h", "core/v8/V8ThrowDOMException.cpp", "core/v8/V8ThrowDOMException.h", "core/v8/V8IteratorResultValue.cpp", "core/v8/V8IteratorResultValue.h", "core/v8/V8LazyEventListener.cpp", "core/v8/V8LazyEventListener.h", "core/v8/V8NodeFilterCondition.cpp", "core/v8/V8NodeFilterCondition.h", "core/v8/V8ObjectBuilder.cpp", "core/v8/V8ObjectBuilder.h", "core/v8/V8PagePopupControllerBinding.cpp", "core/v8/V8PagePopupControllerBinding.h", "core/v8/V8PersistentValueVector.h", "core/v8/V8ScriptRunner.cpp", "core/v8/V8ScriptRunner.h", "core/v8/V8ContextSnapshot.cpp", "core/v8/V8ContextSnapshot.h", "core/v8/V8StringResource.h", "core/v8/V8V0CustomElementLifecycleCallbacks.cpp", "core/v8/V8V0CustomElementLifecycleCallbacks.h", "core/v8/V8WorkerOrWorkletEventListener.cpp", "core/v8/V8WorkerOrWorkletEventListener.h", "core/v8/WindowProxy.cpp", "core/v8/WindowProxy.h", "core/v8/WindowProxyManager.cpp", "core/v8/WindowProxyManager.h", "core/v8/WorkerOrWorkletScriptController.cpp", "core/v8/WorkerOrWorkletScriptController.h", "core/v8/serialization/SerializedColorParams.cpp", "core/v8/serialization/SerializedColorParams.h", "core/v8/serialization/SerializationTag.h", "core/v8/serialization/SerializedScriptValue.cpp", "core/v8/serialization/SerializedScriptValue.h", "core/v8/serialization/SerializedScriptValueFactory.cpp", "core/v8/serialization/SerializedScriptValueFactory.h", "core/v8/serialization/Transferables.h", "core/v8/serialization/UnpackedSerializedScriptValue.cpp", "core/v8/serialization/UnpackedSerializedScriptValue.h", "core/v8/serialization/V8ScriptValueDeserializer.cpp", "core/v8/serialization/V8ScriptValueDeserializer.h", "core/v8/serialization/V8ScriptValueSerializer.cpp", "core/v8/serialization/V8ScriptValueSerializer.h", ], "abspath") bindings_dir = get_path_info(".", "abspath") blink_output_dir = "$root_gen_dir/blink" bindings_output_dir = "$root_gen_dir/blink/bindings" bindings_core_v8_output_dir = "$bindings_output_dir/core/v8" bindings_unittest_files = get_path_info( [ "core/v8/ActivityLoggerTest.cpp", "core/v8/BindingSecurityTest.cpp", "core/v8/DictionaryTest.cpp", "core/v8/DOMWrapperWorldTest.cpp", "core/v8/IDLTypesTest.cpp", "core/v8/NativeValueTraitsImplTest.cpp", "core/v8/NativeValueTraitsTest.cpp", "core/v8/ReferrerScriptInfoTest.cpp", "core/v8/ScriptModuleTest.cpp", "core/v8/ScriptPromisePropertyTest.cpp", "core/v8/ScriptPromiseResolverTest.cpp", "core/v8/ScriptPromiseTest.cpp", "core/v8/ScriptStreamerTest.cpp", "core/v8/ScriptWrappableVisitorTest.cpp", "core/v8/ToV8Test.cpp", "core/v8/TraceWrapperMemberTest.cpp", "core/v8/V8BindingForTesting.cpp", "core/v8/V8BindingForTesting.h", "core/v8/WindowProxyTest.cpp", "core/v8/V8BindingTest.cpp", "core/v8/V8ObjectBuilderTest.cpp", "core/v8/V8ScriptRunnerTest.cpp", "core/v8/serialization/SerializedScriptValueTest.cpp", "core/v8/serialization/SerializedScriptValueThreadedTest.cpp", "core/v8/serialization/V8ScriptValueSerializerTest.cpp", ], "abspath") bindings_unittest_files += bindings_modules_v8_unittest_files