1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- # Copyright 2020 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("//build/config/chromeos/ui_mode.gni")
- assert(is_chromeos_ash, "File Manager is ash-chrome only")
- static_library("constants") {
- sources = [
- "url_constants.cc",
- "url_constants.h",
- ]
- }
- static_library("file_manager_untrusted_ui") {
- sources = [
- "file_manager_untrusted_ui.cc",
- "file_manager_untrusted_ui.h",
- "url_constants.cc",
- "url_constants.h",
- ]
- deps = [
- "//ash/webui/file_manager/untrusted_resources:file_manager_untrusted_resources",
- "//base",
- "//content/public/browser",
- "//content/public/common",
- "//ui/webui",
- "//url",
- ]
- }
- static_library("file_manager_ui") {
- sources = [
- "file_manager_page_handler.cc",
- "file_manager_page_handler.h",
- "file_manager_ui.cc",
- "file_manager_ui.h",
- "file_manager_ui_delegate.h",
- "resource_loader.cc",
- "resource_loader.h",
- "url_constants.cc",
- "url_constants.h",
- ]
- deps = [
- ":constants",
- ":file_manager_untrusted_ui",
- "//ash/webui/file_manager/mojom",
- "//ash/webui/file_manager/resources:file_manager_swa_resources",
- "//base",
- "//content/public/browser",
- "//ui/file_manager:file_manager_gen_resources",
- "//ui/file_manager:resources",
- "//ui/web_dialogs",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [ "resource_loader_unittest.cc" ]
- deps = [
- ":file_manager_ui",
- "//content/test:test_support",
- ]
- }
|