| # Copyright 2016 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/core/core.gni") |
| |
| blink_core_sources("fileapi") { |
| sources = [ |
| "blob.cc", |
| "blob.h", |
| "file.cc", |
| "file.h", |
| "file_error.cc", |
| "file_error.h", |
| "file_list.cc", |
| "file_list.h", |
| "file_reader.cc", |
| "file_reader.h", |
| "file_reader_loader.cc", |
| "file_reader_loader.h", |
| "file_reader_loader_client.h", |
| "file_reader_sync.cc", |
| "file_reader_sync.h", |
| "public_url_manager.cc", |
| "public_url_manager.h", |
| "url_file_api.cc", |
| "url_file_api.h", |
| "url_registry.h", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "file_list_test.cc", |
| "file_test.cc", |
| "public_url_manager_test.cc", |
| ] |
| |
| configs += [ |
| "//third_party/blink/renderer/core:blink_core_pch", |
| "//third_party/blink/renderer:config", |
| "//third_party/blink/renderer:inside_blink", |
| ] |
| |
| deps = [ |
| "//testing/gmock", |
| "//testing/gtest", |
| "//third_party/blink/renderer/core", |
| ] |
| } |