Rename GetIconID to GetIconId
[chromium-blink-merge.git] / components / filesystem / BUILD.gn
blob7579c0cc482f4de8c176d8a9ce378e1e9db52ecc
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//mojo/public/mojo_application.gni")
7 source_set("lib") {
8   sources = [
9     "directory_impl.cc",
10     "directory_impl.h",
11     "file_impl.cc",
12     "file_impl.h",
13     "file_system_app.cc",
14     "file_system_app.h",
15     "file_system_impl.cc",
16     "file_system_impl.h",
17     "util.cc",
18     "util.h",
19   ]
21   deps = [
22     "//base",
23     "//components/filesystem/public/interfaces",
24     "//mojo/application/public/cpp",
25     "//mojo/common",
26     "//mojo/platform_handle",
27   ]
30 mojo_native_application("filesystem") {
31   sources = [
32     "main.cc",
33   ]
35   deps = [
36     ":lib",
37     "//mojo/common",
38     "//mojo/environment:chromium",
39     "//mojo/platform_handle",
40     "//third_party/mojo/src/mojo/public/cpp/bindings",
41     "//third_party/mojo/src/mojo/public/cpp/system",
42   ]
45 mojo_native_application("apptests") {
46   output_name = "filesystem_apptests"
48   testonly = true
50   sources = [
51     "directory_impl_unittest.cc",
52     "file_impl_unittest.cc",
53     "files_test_base.cc",
54     "files_test_base.h",
55   ]
57   deps = [
58     "//base",
59     "//components/filesystem/public/interfaces",
60     "//mojo/application/public/cpp:test_support",
61     "//mojo/platform_handle",
62     "//third_party/mojo/src/mojo/public/cpp/bindings",
63   ]
65   data_deps = [ ":filesystem" ]