Index: remoting/client/plugin/BUILD.gn |
diff --git a/remoting/client/plugin/BUILD.gn b/remoting/client/plugin/BUILD.gn |
index 9f3d8ceb5057e381d7082f976cfc75b2d6852439..01432fdb0982a10dafd915a330e8905c78a6bb8c 100644 |
--- a/remoting/client/plugin/BUILD.gn |
+++ b/remoting/client/plugin/BUILD.gn |
@@ -5,6 +5,7 @@ |
assert(is_nacl, |
"These targets must only be built using the untrusted NaCl toolchains.") |
+import("//build/config/features.gni") |
import("//remoting/remoting_srcs.gni") |
config("enable_linker_optimization") { |
@@ -40,3 +41,17 @@ executable("remoting_client_plugin_newlib") { |
include_dirs = [ "//ppapi/lib/gl/include" ] |
} |
+ |
+if (enable_pnacl && is_debug) { |
+ copy("remoting_client_plugin_newlib_debug") { |
+ public_deps = [ |
+ ":remoting_client_plugin_newlib", |
+ ] |
+ sources = [ |
+ "$root_out_dir/exe.unstripped/remoting_client_plugin_newlib.pexe", |
+ ] |
+ outputs = [ |
+ "$root_out_dir/remoting_client_plugin_newlib.pexe.debug", |
+ ] |
+ } |
+} |