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

Unified Diff: remoting/tools/build/message_compiler.gni

Issue 1440693003: Unify mc.exe calling in GN, set environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « remoting/host/BUILD.gn ('k') | remoting/tools/build/message_compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/build/message_compiler.gni
diff --git a/remoting/tools/build/message_compiler.gni b/remoting/tools/build/message_compiler.gni
deleted file mode 100644
index 20eae1399eed57a54022d08145d35d4f40274745..0000000000000000000000000000000000000000
--- a/remoting/tools/build/message_compiler.gni
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-assert(is_win, "This only runs on Windows.")
-
-# Runs mc.exe over a list of sources.
-#
-# sources
-# List of .mc files to process.
-template("message_compiler") {
- action_name = "${target_name}_mc"
- source_set_name = target_name
-
- action_foreach(action_name) {
- visibility = [ ":$source_set_name" ]
- script = "//remoting/tools/build/message_compiler.py"
-
- sources = invoker.sources
-
- outputs = [
- "$target_gen_dir/{{source_name_part}}.h",
- "$target_gen_dir/{{source_name_part}}.rc",
- ]
-
- args = [
- # Where to put the header.
- "-h",
- rebase_path(target_gen_dir, root_build_dir),
-
- # Where to put the .rc file.
- "-r",
- rebase_path(target_gen_dir, root_build_dir),
-
- # Input is Unicode.
- "-u",
- "{{source}}",
- ]
-
- if (defined(invoker.deps)) {
- deps = invoker.deps
- }
- }
-
- source_set(source_set_name) {
- sources = get_target_outputs(":$action_name")
- deps = [
- ":$action_name",
- ]
- }
-}
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/tools/build/message_compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698