aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-12 20:30:58 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-12 20:30:58 +0000
commit84c1a4c05c8de55071ceb92af170cb06e656732e (patch)
treeaac7779e1e2c33b6a594b05e7d752df11a3d5264
parent3aeee94d77c864be17f65b0fa0315308213babce (diff)
parent047ba30b7efc12dbec70938fcc216f76e21a263b (diff)
downloadnetsim-84c1a4c05c8de55071ceb92af170cb06e656732e.tar.gz
Snap for 11438001 from 047ba30b7efc12dbec70938fcc216f76e21a263b to emu-34-releaseemu-34-release
Change-Id: I21dc5d05bc9da9d67af84757bcb5e900a89e3cea
-rw-r--r--CMakeLists.txt12
-rw-r--r--rust/daemon/src/args.rs4
2 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc63212..ca4453d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,13 +36,13 @@ endif()
add_subdirectory(proto)
add_subdirectory(src)
-add_subdirectory(ui)
+# add_subdirectory(ui)
if(TARGET Rust::Rustc)
- android_add_executable(
- TARGET netsim LICENSE Apache-2.0 INSTALL . SRC rust/netsim.cc
- DEPS frontend-client grpc++ netsim-cli-proto-lib netsim-cli-rust-lib
- protobuf::libprotobuf util-lib)
+ # android_add_executable(
+ # TARGET netsim LICENSE Apache-2.0 INSTALL . SRC rust/netsim.cc
+ # DEPS frontend-client grpc++ netsim-cli-proto-lib netsim-cli-rust-lib
+ # protobuf::libprotobuf util-lib)
android_add_executable(
TARGET netsimd
@@ -85,7 +85,7 @@ if(TARGET Rust::Rustc)
# Link NtDll to netsim executables.
if(WIN32)
- target_link_libraries(netsim PRIVATE ntdll)
+ # target_link_libraries(netsim PRIVATE ntdll)
target_link_libraries(netsimd PRIVATE ntdll)
target_link_libraries(netsim-test PRIVATE ntdll)
android_license(TARGET "ntdll" LIBNAME None SPDX None LICENSE None
diff --git a/rust/daemon/src/args.rs b/rust/daemon/src/args.rs
index 91af563..72856f0 100644
--- a/rust/daemon/src/args.rs
+++ b/rust/daemon/src/args.rs
@@ -21,11 +21,11 @@ pub struct NetsimdArgs {
pub fd_startup_str: Option<String>,
/// Disable grpc server for CLI
- #[arg(long, alias = "no_cli_ui")]
+ #[arg(long, alias = "no_cli_ui", default_value = "true")]
pub no_cli_ui: bool,
/// Disable web server
- #[arg(long, alias = "no_web_ui")]
+ #[arg(long, alias = "no_web_ui", default_value = "true")]
pub no_web_ui: bool,
/// Enable packet capture