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") |
| 10 |
9 gypi_values = exec_script( | 11 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 12 "//build/gypi_to_gn.py", |
11 [ rebase_path("chromeos.gyp") ], | 13 [ rebase_path("chromeos.gyp") ], |
12 "scope", | 14 "scope", |
13 [ "chromeos.gyp" ]) | 15 [ "chromeos.gyp" ]) |
14 | 16 |
15 component("chromeos") { | 17 component("chromeos") { |
16 configs += [ | 18 configs += [ |
17 "//build/config/linux:dbus", | 19 "//build/config/linux:dbus", |
18 "//net/third_party/nss/ssl:ssl_config", | 20 "//net/third_party/nss/ssl:ssl_config", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 proto_out_dir = "chromeos/dbus/cryptohome" | 186 proto_out_dir = "chromeos/dbus/cryptohome" |
185 } | 187 } |
186 | 188 |
187 proto_library("cryptohome_signkey_proto") { | 189 proto_library("cryptohome_signkey_proto") { |
188 sources = [ | 190 sources = [ |
189 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 191 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
190 ] | 192 ] |
191 | 193 |
192 proto_out_dir = "chromeos/cryptohome" | 194 proto_out_dir = "chromeos/cryptohome" |
193 } | 195 } |
OLD | NEW |