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

Unified Diff: base/test/BUILD.gn

Issue 1497543006: GN: Build nacl_helper_nonsfi unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback incorporated Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: base/test/BUILD.gn
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn
index 4c9b7840354fe251c0bf635cb1fb71f587d96b1d..b4c462c92c8bd48d8b8ec5794b74f24fdcff43f6 100644
--- a/base/test/BUILD.gn
+++ b/base/test/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//build/config/nacl/config.gni")
Dirk Pranke 2015/12/04 00:22:41 is this import needed?
Petr Hosek 2015/12/04 05:57:46 This is for is_nacl_nonsfi.
if (is_android) {
import("//build/config/android/rules.gni")
@@ -190,6 +191,39 @@ source_set("test_support_perf") {
public_configs = [ ":perf_test_config" ]
}
+source_set("test_support_nonsfi") {
+ testonly = true
+ sources = [
+ "gtest_util.cc",
+ "gtest_util.h",
+ "gtest_xml_unittest_result_printer.cc",
+ "gtest_xml_unittest_result_printer.h",
+ "launcher/test_launcher.h",
+ "launcher/test_result.h",
+ "launcher/unit_test_launcher.h",
+ "launcher/unit_test_launcher_nacl_nonsfi.cc",
+ "test_switches.cc",
+ "test_switches.h",
+ ]
+ public_deps = [
+ "//base",
+ ]
+ deps = [
+ "//testing/gtest",
+ ]
+}
+
+source_set("test_launcher_nacl_nonsfi") {
+ testonly = true
+ sources = [
+ "launcher/test_launcher_nacl_nonsfi.cc",
+ "launcher/test_launcher_nacl_nonsfi.h",
+ ]
+ deps = [
+ ":test_support",
+ ]
+}
+
source_set("run_all_unittests") {
testonly = true
sources = [
« base/json/BUILD.gn ('K') | « base/json/BUILD.gn ('k') | components/nacl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698