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

Unified Diff: content/test/BUILD.gn

Issue 2659843005: Compile content_unittests service catalog directly into the binary (Closed)
Patch Set: . Created 3 years, 11 months 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: content/test/BUILD.gn
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index 1fcd658f657421aeaefaed0f25c958cb3dfd1217..8ec7ac0441f4582146d87d8bacaffc34ca96fc66 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -1411,6 +1411,7 @@ test("content_unittests") {
deps = [
":content_test_mojo_bindings",
+ ":content_unittests_catalog_source",
":test_support",
"//base/test:test_support",
"//base/third_party/dynamic_annotations",
@@ -1502,7 +1503,6 @@ test("content_unittests") {
]
data_deps = [
- ":content_unittests_catalog_copy",
"//components/filesystem:filesystem",
"//third_party/mesa:osmesa",
]
@@ -1757,14 +1757,9 @@ catalog("content_unittests_catalog") {
embedded_services = [ ":content_unittests_manifest" ]
}
-copy("content_unittests_catalog_copy") {
- sources = get_target_outputs(":content_unittests_catalog")
- outputs = [
- "${root_out_dir}/content_unittests_catalog.json",
- ]
- deps = [
- ":content_unittests_catalog",
- ]
+catalog_cpp_source("content_unittests_catalog_source") {
+ catalog = ":content_unittests_catalog"
+ generated_function_name = "content::CreateContentUnittestsCatalog"
}
test("content_perftests") {
« no previous file with comments | « content/browser/dom_storage/local_storage_context_mojo_unittest.cc ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698