blob: fc1351072c59a23695282f616224afdf9636570b [file] [log] [blame]
# 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.
import("//third_party/blink/renderer/config.gni")
import("custom/custom.gni")
# Make the files absolute so they can be imported to anywhere.
bindings_modules_v8_files =
get_path_info(
[
"module_bindings_initializer.cc",
"module_bindings_initializer.h",
"serialization/serialized_script_value_for_modules_factory.cc",
"serialization/serialized_script_value_for_modules_factory.h",
"serialization/v8_script_value_deserializer_for_modules.cc",
"serialization/v8_script_value_deserializer_for_modules.h",
"serialization/v8_script_value_serializer_for_modules.cc",
"serialization/v8_script_value_serializer_for_modules.h",
"to_v8_for_modules.h",
"v8_binding_for_modules.cc",
"v8_binding_for_modules.h",
"v8_context_snapshot_external_references.h",
"webgl_any.cc",
"webgl_any.h",
],
"abspath") + bindings_modules_v8_custom_files
if (use_blink_v8_binding_new_idl_interface) {
bindings_modules_v8_files += get_path_info([
"v8_context_snapshot_impl.cc",
"v8_context_snapshot_impl.h",
],
"abspath")
}
bindings_modules_v8_unittest_files =
get_path_info(
[
"serialization/v8_script_value_serializer_for_modules_test.cc",
"v8_binding_for_modules_test.cc",
],
"abspath")