tor-browser

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

BUILD.gn (988B)


      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("//base/allocator/allocator.gni")
      6 import("//testing/test.gni")
      7 
      8 executable("test_cpp_including_rust") {
      9   sources = [ "main.cc" ]
     10   deps = [ "//chromium/build/rust/tests/test_rust_static_library" ]
     11 }
     12 
     13 test("test_cpp_including_rust_unittests") {
     14   sources = [ "static_unittests.cc" ]
     15   deps = [
     16     "//base",
     17     "//base/allocator:buildflags",
     18     "//base/test:run_all_unittests",
     19     "//chromium/build/rust/tests/test_rust_static_library",
     20     "//testing/gmock",
     21     "//testing/gtest",
     22   ]
     23 }
     24 
     25 if (is_component_build) {
     26   test("test_cpp_including_rust_dylib_unittests") {
     27     sources = [ "shared_unittests.cc" ]
     28     deps = [
     29       "//base",
     30       "//base/allocator:buildflags",
     31       "//base/test:run_all_unittests",
     32       "//chromium/build/rust/tests/test_rust_shared_library",
     33       "//testing/gmock",
     34       "//testing/gtest",
     35     ]
     36   }
     37 }