File: BUILD.gn

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (98 lines) | stat: -rw-r--r-- 2,106 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright 2024 The Chromium Authors
# 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)

static_library("operations") {
  sources = [
    "abort.cc",
    "abort.h",
    "add_watcher.cc",
    "add_watcher.h",
    "close_file.cc",
    "close_file.h",
    "configure.cc",
    "configure.h",
    "copy_entry.cc",
    "copy_entry.h",
    "create_directory.cc",
    "create_directory.h",
    "create_file.cc",
    "create_file.h",
    "delete_entry.cc",
    "delete_entry.h",
    "execute_action.cc",
    "execute_action.h",
    "get_actions.cc",
    "get_actions.h",
    "get_metadata.cc",
    "get_metadata.h",
    "move_entry.cc",
    "move_entry.h",
    "open_file.cc",
    "open_file.h",
    "operation.cc",
    "operation.h",
    "read_directory.cc",
    "read_directory.h",
    "read_file.cc",
    "read_file.h",
    "remove_watcher.cc",
    "remove_watcher.h",
    "truncate.cc",
    "truncate.h",
    "unmount.cc",
    "unmount.h",
    "write_file.cc",
    "write_file.h",
  ]

  deps = [
    "//base",
    "//chrome/common",
    "//extensions/browser",
    "//storage/browser",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [
    "abort_unittest.cc",
    "add_watcher_unittest.cc",
    "close_file_unittest.cc",
    "configure_unittest.cc",
    "copy_entry_unittest.cc",
    "create_directory_unittest.cc",
    "create_file_unittest.cc",
    "delete_entry_unittest.cc",
    "execute_action_unittest.cc",
    "get_actions_unittest.cc",
    "get_metadata_unittest.cc",
    "move_entry_unittest.cc",
    "open_file_unittest.cc",
    "read_directory_unittest.cc",
    "read_file_unittest.cc",
    "remove_watcher_unittest.cc",
    "test_util.cc",
    "test_util.h",
    "truncate_unittest.cc",
    "unmount_unittest.cc",
    "write_file_unittest.cc",
  ]

  deps = [
    ":operations",
    "//base",
    "//chrome/browser/ash/file_system_provider",
    "//chrome/common",
    "//extensions/browser",
    "//net",
    "//storage/browser",
    "//testing/gtest",
  ]
}