BUILD.gn (483B)
1 # Copyright 2021 The Chromium Authors 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 # This should be the simplest possible exe with no dependencies, 6 # to make it easy to investigate build problems. 7 # For this reason it uses 'executable' directly rather than 8 # //build/rust/rust_executable.gni. 9 executable("test_simple_rust_exe") { 10 crate_root = "main.rs" 11 sources = [ crate_root ] 12 deps = [ "//chromium/build/rust/std" ] 13 }