File: BUILD.gn

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (136 lines) | stat: -rw-r--r-- 4,357 bytes parent folder | download | duplicates (3)
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Copyright 2019 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/features.gni")

static_library("service") {
  sources = [
    "active_devices_provider.h",
    "backend_migrator.cc",
    "backend_migrator.h",
    "configure_context.cc",
    "configure_context.h",
    "data_type_controller.cc",
    "data_type_controller.h",
    "data_type_encryption_handler.h",
    "data_type_local_data_batch_uploader.cc",
    "data_type_local_data_batch_uploader.h",
    "data_type_manager.cc",
    "data_type_manager.h",
    "data_type_manager_impl.cc",
    "data_type_manager_impl.h",
    "data_type_manager_observer.h",
    "data_type_status_table.cc",
    "data_type_status_table.h",
    "get_all_nodes_request_barrier.cc",
    "get_all_nodes_request_barrier.h",
    "get_types_with_unsynced_data_request_barrier.cc",
    "get_types_with_unsynced_data_request_barrier.h",
    "glue/sync_engine_backend.cc",
    "glue/sync_engine_backend.h",
    "glue/sync_engine_impl.cc",
    "glue/sync_engine_impl.h",
    "glue/sync_transport_data_prefs.cc",
    "glue/sync_transport_data_prefs.h",
    "history_sync_session_durations_metrics_recorder.cc",
    "history_sync_session_durations_metrics_recorder.h",
    "local_data_description.cc",
    "local_data_description.h",
    "local_data_migration_item_queue.cc",
    "local_data_migration_item_queue.h",
    "model_load_manager.cc",
    "model_load_manager.h",
    "non_ui_syncable_service_based_data_type_controller.cc",
    "non_ui_syncable_service_based_data_type_controller.h",
    "passphrase_type_metrics_provider.cc",
    "passphrase_type_metrics_provider.h",
    "sync_auth_manager.cc",
    "sync_auth_manager.h",
    "sync_client.h",
    "sync_engine_factory.h",
    "sync_error.cc",
    "sync_error.h",
    "sync_feature_status_for_migrations_recorder.cc",
    "sync_feature_status_for_migrations_recorder.h",
    "sync_internals_util.cc",
    "sync_internals_util.h",
    "sync_policy_handler.cc",
    "sync_policy_handler.h",
    "sync_prefs.cc",
    "sync_prefs.h",
    "sync_prefs_policy_handler.cc",
    "sync_prefs_policy_handler.h",
    "sync_service.cc",
    "sync_service.h",
    "sync_service_crypto.cc",
    "sync_service_crypto.h",
    "sync_service_impl.cc",
    "sync_service_impl.h",
    "sync_service_observer.cc",
    "sync_service_observer.h",
    "sync_service_utils.cc",
    "sync_service_utils.h",
    "sync_session_durations_metrics_recorder.cc",
    "sync_session_durations_metrics_recorder.h",
    "sync_stopped_reporter.cc",
    "sync_stopped_reporter.h",
    "sync_token_status.h",
    "sync_user_settings.h",
    "sync_user_settings_impl.cc",
    "sync_user_settings_impl.h",
    "syncable_service_based_data_type_controller.cc",
    "syncable_service_based_data_type_controller.h",
    "trusted_vault_histograms.cc",
    "trusted_vault_histograms.h",
    "trusted_vault_synthetic_field_trial.cc",
    "trusted_vault_synthetic_field_trial.h",
    "type_status_map_for_debugging.h",
  ]

  public_deps = [
    "//base",
    "//components/sync/base",
    "//components/sync/engine",
    "//components/sync/model",
    "//components/sync/nigori",
    "//components/sync/protocol",
    "//components/sync/protocol:util",
    "//components/trusted_vault",
    "//components/url_formatter",
    "//net",
    "//url",
  ]
  deps = [
    "//base",
    "//base:i18n",
    "//components/keyed_service/core",
    "//components/metrics",
    "//components/os_crypt/sync",
    "//components/policy:generated",
    "//components/policy/core/browser",
    "//components/prefs",
    "//components/saved_tab_groups/public:prefs",
    "//components/signin/public/base",
    "//components/signin/public/identity_manager",
    "//components/strings:components_strings_grit",
    "//components/sync/invalidations",
    "//components/version_info",
    "//components/version_info:generate_version_info",
    "//crypto",
    "//extensions/buildflags",
    "//services/network/public/cpp",
    "//ui/base",
  ]

  if (is_android) {
    sources += [
      "../android/sync_feature_map.cc",
      "../android/sync_service_android_bridge.cc",
      "../android/sync_service_android_bridge.h",
    ]
    deps += [ "../android:jni_headers" ]
  }

  configs += [ "//build/config/compiler:wexit_time_destructors" ]
}