tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

BUILD.gn (764B)


      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 import("//chromium/build/rust/rust_static_library.gni")
      6 import("//testing/test.gni")
      7 
      8 rust_static_library("test_serde_json_lenient_rs") {
      9   crate_root = "lib.rs"
     10   allow_unsafe = true
     11   sources = [ "lib.rs" ]
     12   cxx_bindings = [ "lib.rs" ]
     13   deps = [ "//third_party/rust/serde_json_lenient/v0_2:lib" ]
     14 }
     15 
     16 # TODO(crbug.com/40809974) - convert to a pure-
     17 # Rust unit test when that's supported on all platforms.
     18 test("test_serde_json_lenient") {
     19   sources = [ "unittests.cc" ]
     20   deps = [
     21     ":test_serde_json_lenient_rs",
     22     "//base",
     23     "//base/test:run_all_unittests",
     24     "//testing/gmock",
     25     "//testing/gtest",
     26   ]
     27 }