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

Side by Side Diff: chromeos/BUILD.gn

Issue 1927133003: Check includes in src/chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.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
(...skipping 21 matching lines...) Expand all
32 "//components/device_event_log", 32 "//components/device_event_log",
33 "//components/onc", 33 "//components/onc",
34 "//components/policy/proto", 34 "//components/policy/proto",
35 "//components/prefs", 35 "//components/prefs",
36 "//components/proxy_config", 36 "//components/proxy_config",
37 "//components/signin/core/account_id", 37 "//components/signin/core/account_id",
38 "//components/user_manager", 38 "//components/user_manager",
39 "//crypto", 39 "//crypto",
40 "//crypto:platform", 40 "//crypto:platform",
41 "//google_apis", 41 "//google_apis",
42 "//net",
42 "//third_party/icu", 43 "//third_party/icu",
43 "//third_party/libxml", 44 "//third_party/libxml",
44 "//third_party/protobuf:protobuf_lite", 45 "//third_party/protobuf:protobuf_lite",
45 "//url", 46 "//url",
46 ] 47 ]
47 sources = gypi_values.chromeos_sources 48 sources = gypi_values.chromeos_sources
48 defines = [ "CHROMEOS_IMPLEMENTATION" ] 49 defines = [ "CHROMEOS_IMPLEMENTATION" ]
49 if (target_cpu == "arm" || target_cpu == "x86") { 50 if (target_cpu == "arm" || target_cpu == "x86") {
50 defines += [ "BINDER_IPC_32BIT" ] 51 defines += [ "BINDER_IPC_32BIT" ]
51 } 52 }
52 } 53 }
53 54
54 # TYhis must be a static library instead of a source set because some of the 55 # TYhis must be a static library instead of a source set because some of the
55 # files pull in things with dependencies that aren't linked in all cases. 56 # files pull in things with dependencies that aren't linked in all cases.
56 # 57 #
57 # TODO this should probably be changed such that it links in all cases and 58 # TODO this should probably be changed such that it links in all cases and
58 # can be converted to a source set. 59 # can be converted to a source set.
59 static_library("test_support") { 60 static_library("test_support") {
60 testonly = true 61 testonly = true
61 configs += [ "//build/config/linux/dbus" ] 62 configs += [ "//build/config/linux/dbus" ]
62 public_deps = [ 63 public_deps = [
63 ":chromeos", 64 ":chromeos",
64 ":cryptohome_proto", 65 ":cryptohome_proto",
65 ":power_manager_proto", 66 ":power_manager_proto",
67 ]
68 deps = [
66 ":test_support_without_gmock", 69 ":test_support_without_gmock",
70 "//components/signin/core/account_id",
71 "//dbus:test_support",
72 "//google_apis",
73 "//net:test_support",
67 "//testing/gmock", 74 "//testing/gmock",
75 "//testing/gtest",
68 ] 76 ]
69 sources = [ 77 sources = [
70 "attestation/mock_attestation_flow.cc", 78 "attestation/mock_attestation_flow.cc",
71 "attestation/mock_attestation_flow.h", 79 "attestation/mock_attestation_flow.h",
72 "chromeos_test_utils.cc", 80 "chromeos_test_utils.cc",
73 "chromeos_test_utils.h", 81 "chromeos_test_utils.h",
74 "cryptohome/mock_async_method_caller.cc", 82 "cryptohome/mock_async_method_caller.cc",
75 "cryptohome/mock_async_method_caller.h", 83 "cryptohome/mock_async_method_caller.h",
76 "cryptohome/mock_homedir_methods.cc", 84 "cryptohome/mock_homedir_methods.cc",
77 "cryptohome/mock_homedir_methods.h", 85 "cryptohome/mock_homedir_methods.h",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 proto_out_dir = "chromeos/dbus/cryptohome" 199 proto_out_dir = "chromeos/dbus/cryptohome"
192 } 200 }
193 201
194 proto_library("cryptohome_signkey_proto") { 202 proto_library("cryptohome_signkey_proto") {
195 sources = [ 203 sources = [
196 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", 204 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto",
197 ] 205 ]
198 206
199 proto_out_dir = "chromeos/cryptohome" 207 proto_out_dir = "chromeos/cryptohome"
200 } 208 }
OLDNEW
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698