OLD | NEW |
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/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//third_party/protobuf/proto_library.gni") | 7 import("//third_party/protobuf/proto_library.gni") |
8 | 8 |
9 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") | 9 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
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("chromeos.gyp") ], | 12 [ rebase_path("chromeos.gyp") ], |
13 "scope", | 13 "scope", |
14 [ "chromeos.gyp" ]) | 14 [ "chromeos.gyp" ]) |
15 | 15 |
16 component("chromeos") { | 16 component("chromeos") { |
17 configs += [ "//net/third_party/nss/ssl:ssl_config" ] | 17 configs += [ "//net/third_party/nss/ssl:ssl_config" ] |
18 public_deps = [ | 18 public_deps = [ |
19 "//dbus", | 19 "//dbus", |
20 ] | 20 ] |
21 deps = [ | 21 deps = [ |
22 "//base", | 22 "//base", |
| 23 "//base:i18n", |
23 "//base:prefs", | 24 "//base:prefs", |
24 "//base/third_party/dynamic_annotations", | 25 "//base/third_party/dynamic_annotations", |
25 "//chromeos/ime:gencode", | 26 "//chromeos/ime:gencode", |
26 "//components/policy/proto", | 27 "//components/policy/proto", |
27 "//components/onc", | 28 "//components/onc", |
28 "//crypto", | 29 "//crypto", |
29 "//google_apis", | 30 "//google_apis", |
30 "//net/third_party/nss/ssl:libssl", | 31 "//net/third_party/nss/ssl:libssl", |
31 "//third_party/icu", | 32 "//third_party/icu", |
32 "//third_party/libxml", | 33 "//third_party/libxml", |
33 "//third_party/protobuf:protobuf_lite", | 34 "//third_party/protobuf:protobuf_lite", |
34 "//ui/accelerometer", | 35 "//ui/accelerometer", |
| 36 "//ui/gfx/geometry", |
35 "//url", | 37 "//url", |
36 ":cryptohome_proto", | 38 ":cryptohome_proto", |
37 ":power_manager_proto", | 39 ":power_manager_proto", |
38 ] | 40 ] |
39 sources = gypi_values.chromeos_sources | 41 sources = gypi_values.chromeos_sources |
40 defines = [ "CHROMEOS_IMPLEMENTATION" ] | 42 defines = [ "CHROMEOS_IMPLEMENTATION" ] |
41 } | 43 } |
42 | 44 |
43 static_library("test_support") { | 45 static_library("test_support") { |
44 testonly = true | 46 testonly = true |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 proto_out_dir = "chromeos/dbus/cryptohome" | 171 proto_out_dir = "chromeos/dbus/cryptohome" |
170 } | 172 } |
171 | 173 |
172 proto_library("cryptohome_signkey_proto") { | 174 proto_library("cryptohome_signkey_proto") { |
173 sources = [ | 175 sources = [ |
174 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 176 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
175 ] | 177 ] |
176 | 178 |
177 proto_out_dir = "chromeos/cryptohome" | 179 proto_out_dir = "chromeos/cryptohome" |
178 } | 180 } |
OLD | NEW |