Index: remoting/host/installer/win/generate_clsids.gni |
diff --git a/remoting/host/installer/win/generate_clsids.gni b/remoting/host/installer/win/generate_clsids.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a39509dbc4d3dbcad92aa1fd9e7af0dd3370d24 |
--- /dev/null |
+++ b/remoting/host/installer/win/generate_clsids.gni |
@@ -0,0 +1,19 @@ |
+# Copyright 2016 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. |
+ |
+import("//remoting/build/config/remoting_build.gni") |
+ |
+# TODO(brettw) these should not be generated via exec_script. This should be |
+# part of the build process rather than the metabuild. Instead, a script |
+# should generate a header containing the #defines for this as well as the |
+# IDL file with the values. |
+clsids = exec_script("//remoting/host/win/get_clsids.py", |
+ [ |
+ daemon_controller_guid, |
+ rdp_desktop_session_guid, |
+ chrome_version_full, |
+ ], |
+ "value") |
+daemon_controller_clsid = clsids[0] |
+rdp_desktop_session_clsid = clsids[1] |