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

Unified Diff: third_party/tcmalloc/BUILD.gn

Issue 2996903002: [infra] Translate _sources.gypi files to _sources.gni files (Closed)
Patch Set: Fix script Created 3 years, 4 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
« no previous file with comments | « sdk/lib/vmservice/vmservice_sources.gypi ('k') | third_party/tcmalloc/tcmalloc_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/BUILD.gn
diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn
index c1b9f102ed4a7d915e9063a5f4b9cafde3bee1e3..42073e29e233488d9d5afff602427759a57df58d 100644
--- a/third_party/tcmalloc/BUILD.gn
+++ b/third_party/tcmalloc/BUILD.gn
@@ -2,6 +2,8 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
+import("tcmalloc_sources.gni")
+
config("internal_config") {
visibility = [ ":*" ] # Only targets in this file can depend on this.
cflags = [
@@ -62,11 +64,6 @@ source_set("dynamic_annotations") {
]
}
-tcmalloc_sources_list = exec_script("../../tools/gypi_to_gn.py",
- [ rebase_path("tcmalloc_sources.gypi") ],
- "scope",
- [ "tcmalloc_sources.gypi" ])
-
source_set("tcmalloc") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ ":internal_config" ]
@@ -128,5 +125,5 @@ source_set("tcmalloc") {
"gperftools/src/profiler.cc",
])
- sources = tcmalloc_sources_list.sources
+ sources = tcmalloc_sources
}
« no previous file with comments | « sdk/lib/vmservice/vmservice_sources.gypi ('k') | third_party/tcmalloc/tcmalloc_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698