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

Side by Side Diff: mojo/rust/BUILD.gn

Issue 2213563002: Rust: Add encoder/decoder tests (Closed) Base URL: git@github.com:domokit/mojo.git@decoding
Patch Set: Test with changes Created 4 years, 4 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 | « mojo/public/rust/tests/util/mojom_validation.rs ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("rules.gni") 5 import("rules.gni")
6 6
7 group("rust") { 7 group("rust") {
8 testonly = true 8 testonly = true
9 deps = [ 9 deps = [
10 ":rust_embedder", 10 ":rust_embedder",
(...skipping 18 matching lines...) Expand all
29 assert(rustdoc_tool != "") 29 assert(rustdoc_tool != "")
30 30
31 cargo_out_dir = "debug" 31 cargo_out_dir = "debug"
32 if (!is_debug) { 32 if (!is_debug) {
33 cargo_out_dir = "release" 33 cargo_out_dir = "release"
34 } 34 }
35 manifest = "//mojo/public/rust/Cargo.toml" 35 manifest = "//mojo/public/rust/Cargo.toml"
36 lib_name = "lib" + target_name + ".rlib" 36 lib_name = "lib" + target_name + ".rlib"
37 deps = [ 37 deps = [
38 "//mojo:system_thunks", 38 "//mojo:system_thunks",
39 "//mojo/public/interfaces/bindings/tests:validation_parser",
39 "//mojo/rust:rust_embedder", 40 "//mojo/rust:rust_embedder",
40 ] 41 ]
41 script = "//mojo/rust/cargo.py" 42 script = "//mojo/rust/cargo.py"
42 inputs = [ 43 inputs = [
43 manifest, 44 manifest,
44 ] 45 ]
45 inputs += rust_mojo_sources 46 inputs += rust_mojo_sources
46 args = [ 47 args = [
47 rust_cargo_tool, 48 rust_cargo_tool,
48 "test", 49 "test",
(...skipping 23 matching lines...) Expand all
72 sources = [ 73 sources = [
73 "//mojo/rust/c_embedder/c_embedder.cc", 74 "//mojo/rust/c_embedder/c_embedder.cc",
74 "//mojo/rust/c_embedder/c_embedder.h", 75 "//mojo/rust/c_embedder/c_embedder.h",
75 ] 76 ]
76 deps = [ 77 deps = [
77 "//mojo/edk/base_edk", 78 "//mojo/edk/base_edk",
78 "//mojo/edk/system", 79 "//mojo/edk/system",
79 "//mojo/public/interfaces/bindings/tests:test_interfaces", 80 "//mojo/public/interfaces/bindings/tests:test_interfaces",
80 ] 81 ]
81 } 82 }
OLDNEW
« no previous file with comments | « mojo/public/rust/tests/util/mojom_validation.rs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698