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

Unified Diff: mojo/tools/embed/rules.gni

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 3 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 | « mojo/public/cpp/system/tests/macros_unittest.cc ('k') | mojo/tools/mojob.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/embed/rules.gni
diff --git a/mojo/tools/embed/rules.gni b/mojo/tools/embed/rules.gni
index 6171812669126039d0104c0fb0e6acdb85c7832c..c4c806049e3351565f649cf67e8c8bddbbd96126 100644
--- a/mojo/tools/embed/rules.gni
+++ b/mojo/tools/embed/rules.gni
@@ -35,6 +35,11 @@ template("embed_file") {
}
}
+ config_target_name = "__${target_name}_config"
+ config(config_target_name) {
+ cflags = [ "-Wno-narrowing" ]
+ }
+
source_set(target_name) {
sources = generator_outputs
@@ -42,6 +47,8 @@ template("embed_file") {
testonly = invoker.testonly
}
+ configs += [ ":${config_target_name}" ]
+
deps = [
":${generator_target_name}",
]
« no previous file with comments | « mojo/public/cpp/system/tests/macros_unittest.cc ('k') | mojo/tools/mojob.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698