Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Side by Side Diff: chrome/browser/chromeos/BUILD.gn

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Synchronize with new version of gn patch Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//chrome/chrome_tests.gni") 7 import("//chrome/chrome_tests.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
11 gypi_values = exec_script("//build/gypi_to_gn.py", 11 gypi_values = exec_script("//build/gypi_to_gn.py",
12 [ rebase_path("../../chrome_browser_chromeos.gypi") ], 12 [ rebase_path("../../chrome_browser_chromeos.gypi") ],
13 "scope", 13 "scope",
14 [ "../../chrome_browser_chromeos.gypi" ]) 14 [ "../../chrome_browser_chromeos.gypi" ])
15 15
16 source_set("chromeos") { 16 source_set("chromeos") {
17 assert(enable_extensions, "ChromeOS Chrome has to be built with extensions") 17 assert(enable_extensions, "ChromeOS Chrome has to be built with extensions")
18 18
19 configs += [ "//build/config/compiler:wexit_time_destructors" ] 19 configs += [ "//build/config/compiler:wexit_time_destructors" ]
20 20
21 public_deps = [ 21 public_deps = [
22 "//ash/resources", 22 "//ash/resources",
23 "//ash/strings", 23 "//ash/strings",
24 "//chrome/app/resources:platform_locale_settings",
25 "//chrome/app/theme:theme_resources",
26 "//chrome:extra_resources", 24 "//chrome:extra_resources",
27 "//chrome:resources", 25 "//chrome:resources",
28 "//chrome:strings", 26 "//chrome:strings",
27 "//chrome/app/resources:platform_locale_settings",
28 "//chrome/app/theme:theme_resources",
29 "//components/wallpaper", 29 "//components/wallpaper",
30 "//content/app/resources", 30 "//content/app/resources",
31 "//ui/chromeos/resources", 31 "//ui/chromeos/resources",
32 "//ui/chromeos/strings", 32 "//ui/chromeos/strings",
33 "//ui/resources", 33 "//ui/resources",
34 "//ui/strings", 34 "//ui/strings",
35 ] 35 ]
36 36
37 deps = [ 37 deps = [
38 # TODO(tbarzic): Cleanup this list. 38 # TODO(tbarzic): Cleanup this list.
39 ":attestation_proto", 39 ":attestation_proto",
40 ":device_policy_proto", 40 ":device_policy_proto",
41 "//ash", 41 "//ash",
42 "//ash:ash_with_content", 42 "//ash:ash_with_content",
43 "//build/linux:fontconfig", 43 "//build/linux:fontconfig",
44 "//components/drive",
45 "//components/flags_ui",
46 "//components/login",
47 "//components/session_manager/core",
48 "//components/user_manager",
49 "//components/wifi_sync",
50 "//chrome/browser/devtools", 44 "//chrome/browser/devtools",
51 "//chrome/browser/extensions", 45 "//chrome/browser/extensions",
52 "//chrome/browser/safe_browsing:chunk_proto", 46 "//chrome/browser/safe_browsing:chunk_proto",
53 "//chrome/browser/safe_browsing:metadata_proto", 47 "//chrome/browser/safe_browsing:metadata_proto",
54 "//chrome/common", 48 "//chrome/common",
55 "//chrome/common/extensions/api", 49 "//chrome/common/extensions/api",
56 "//chrome/common/extensions/api:api_registration", 50 "//chrome/common/extensions/api:api_registration",
57 "//chrome/common/net", 51 "//chrome/common/net",
58 "//chrome/common/safe_browsing:proto", 52 "//chrome/common/safe_browsing:proto",
59 "//chrome/installer/util", 53 "//chrome/installer/util",
60 "//chromeos", 54 "//chromeos",
61 "//chromeos/ime:gencode",
62 "//chromeos:cryptohome_proto", 55 "//chromeos:cryptohome_proto",
63 "//chromeos:cryptohome_signkey_proto", 56 "//chromeos:cryptohome_signkey_proto",
64 "//chromeos:power_manager_proto", 57 "//chromeos:power_manager_proto",
58 "//chromeos/ime:gencode",
65 "//components/certificate_reporting:cert_logger_proto", 59 "//components/certificate_reporting:cert_logger_proto",
66 "//components/certificate_reporting:encrypted_cert_logger_proto", 60 "//components/certificate_reporting:encrypted_cert_logger_proto",
61 "//components/drive",
62 "//components/flags_ui",
63 "//components/login",
67 "//components/onc", 64 "//components/onc",
68 "//components/ownership", 65 "//components/ownership",
69 "//components/pairing", 66 "//components/pairing",
70 "//components/policy", 67 "//components/policy",
71 "//components/proxy_config", 68 "//components/proxy_config",
69 "//components/session_manager/core",
70 "//components/user_manager",
71 "//components/wifi_sync",
72 72
73 # This depends directly on the variations target, rather than just 73 # This depends directly on the variations target, rather than just
74 # transitively via the common target because the proto sources need to 74 # transitively via the common target because the proto sources need to
75 # be generated before code in this target can start building. 75 # be generated before code in this target can start building.
76 "//components/strings", 76 "//components/strings",
77 "//components/variations", 77 "//components/variations",
78 "//content/public/browser", 78 "//content/public/browser",
79 "//content/public/common", 79 "//content/public/common",
80 "//crypto", 80 "//crypto",
81 "//dbus", 81 "//dbus",
(...skipping 19 matching lines...) Expand all
101 "//third_party/protobuf:protobuf_lite", 101 "//third_party/protobuf:protobuf_lite",
102 "//third_party/protobuf:protoc($host_toolchain)", 102 "//third_party/protobuf:protoc($host_toolchain)",
103 "//third_party/re2", 103 "//third_party/re2",
104 "//third_party/zlib", 104 "//third_party/zlib",
105 "//ui/app_list", 105 "//ui/app_list",
106 "//ui/aura", 106 "//ui/aura",
107 "//ui/base", 107 "//ui/base",
108 "//ui/chromeos:ui_chromeos", 108 "//ui/chromeos:ui_chromeos",
109 "//ui/compositor", 109 "//ui/compositor",
110 "//ui/display", 110 "//ui/display",
111 "//ui/events:dom_keycode_converter",
111 "//ui/events/devices", 112 "//ui/events/devices",
112 "//ui/events/platform", 113 "//ui/events/platform",
113 "//ui/events:dom_keycode_converter",
114 "//ui/file_manager", 114 "//ui/file_manager",
115 "//ui/message_center", 115 "//ui/message_center",
116 "//ui/surface", 116 "//ui/surface",
117 "//ui/views", 117 "//ui/views",
118 "//ui/views/controls/webview", 118 "//ui/views/controls/webview",
119 "//ui/web_dialogs", 119 "//ui/web_dialogs",
120 "//url", 120 "//url",
121 "//v8", 121 "//v8",
122 ] 122 ]
123 123
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "//chrome") 167 "//chrome")
168 168
169 public_deps = [ 169 public_deps = [
170 ":chromeos", 170 ":chromeos",
171 ] 171 ]
172 deps = [ 172 deps = [
173 ":attestation_proto", 173 ":attestation_proto",
174 ":device_policy_proto", 174 ":device_policy_proto",
175 "//ash/resources", 175 "//ash/resources",
176 "//components/drive", 176 "//components/drive",
177 "//components/invalidation/public",
177 "//components/policy", 178 "//components/policy",
178 "//components/invalidation/public",
179 "//components/resources", 179 "//components/resources",
180 "//crypto:platform", 180 "//crypto:platform",
181 "//dbus", 181 "//dbus",
182 "//mojo/public/cpp/system:system", 182 "//mojo/public/cpp/system:system",
183 "//skia", 183 "//skia",
184 "//sync", 184 "//sync",
185 "//testing/gmock", 185 "//testing/gmock",
186 "//testing/gtest", 186 "//testing/gtest",
187 "//third_party/leveldatabase", 187 "//third_party/leveldatabase",
188 "//ui/chromeos/resources", 188 "//ui/chromeos/resources",
189 ] 189 ]
190 } 190 }
191 191
192 proto_library("device_policy_proto") { 192 proto_library("device_policy_proto") {
193 sources = [ 193 sources = [
194 "policy/proto/chrome_device_policy.proto", 194 "policy/proto/chrome_device_policy.proto",
195 "policy/proto/install_attributes.proto", 195 "policy/proto/install_attributes.proto",
196 ] 196 ]
197 } 197 }
198 198
199 proto_library("attestation_proto") { 199 proto_library("attestation_proto") {
200 sources = [ 200 sources = [
201 "attestation/attestation_key_payload.proto", 201 "attestation/attestation_key_payload.proto",
202 "attestation/attestation_signed_data.proto", 202 "attestation/attestation_signed_data.proto",
203 ] 203 ]
204 } 204 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698