| 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/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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "//third_party/protobuf:protobuf_lite", | 45 "//third_party/protobuf:protobuf_lite", |
| 46 "//url", | 46 "//url", |
| 47 ] | 47 ] |
| 48 sources = gypi_values.chromeos_sources | 48 sources = gypi_values.chromeos_sources |
| 49 defines = [ "CHROMEOS_IMPLEMENTATION" ] | 49 defines = [ "CHROMEOS_IMPLEMENTATION" ] |
| 50 if (current_cpu == "arm" || current_cpu == "x86") { | 50 if (current_cpu == "arm" || current_cpu == "x86") { |
| 51 defines += [ "BINDER_IPC_32BIT" ] | 51 defines += [ "BINDER_IPC_32BIT" ] |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 # This 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 |
| 56 # 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. |
| 57 # | 57 # |
| 58 # 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 |
| 59 # can be converted to a source set. | 59 # can be converted to a source set. |
| 60 static_library("test_support") { | 60 static_library("test_support") { |
| 61 testonly = true | 61 testonly = true |
| 62 configs += [ "//build/config/linux/dbus" ] | 62 configs += [ "//build/config/linux/dbus" ] |
| 63 public_deps = [ | 63 public_deps = [ |
| 64 ":chromeos", | 64 ":chromeos", |
| 65 ":cryptohome_proto", | 65 ":cryptohome_proto", |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 proto_out_dir = "chromeos/dbus/cryptohome" | 203 proto_out_dir = "chromeos/dbus/cryptohome" |
| 204 } | 204 } |
| 205 | 205 |
| 206 proto_library("cryptohome_signkey_proto") { | 206 proto_library("cryptohome_signkey_proto") { |
| 207 sources = [ | 207 sources = [ |
| 208 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 208 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
| 209 ] | 209 ] |
| 210 | 210 |
| 211 proto_out_dir = "chromeos/cryptohome" | 211 proto_out_dir = "chromeos/cryptohome" |
| 212 } | 212 } |
| OLD | NEW |