OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 assert(is_nacl, | 5 assert(is_nacl, |
6 "These targets must only be built using the untrusted NaCl toolchains.") | 6 "These targets must only be built using the untrusted NaCl toolchains.") |
7 | 7 |
8 import("//build/config/features.gni") | |
8 import("//remoting/remoting_srcs.gni") | 9 import("//remoting/remoting_srcs.gni") |
9 | 10 |
10 config("enable_linker_optimization") { | 11 config("enable_linker_optimization") { |
11 ldflags = [ "-Wl,-O1" ] | 12 ldflags = [ "-Wl,-O1" ] |
12 } | 13 } |
13 | 14 |
14 executable("remoting_client_plugin_newlib") { | 15 executable("remoting_client_plugin_newlib") { |
15 sources = | 16 sources = |
16 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, | 17 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, |
17 ".", | 18 ".", |
(...skipping 15 matching lines...) Expand all Loading... | |
33 "//remoting/client", | 34 "//remoting/client", |
34 "//remoting/codec", | 35 "//remoting/codec", |
35 "//remoting/protocol", | 36 "//remoting/protocol", |
36 "//third_party/libyuv", | 37 "//third_party/libyuv", |
37 "//third_party/webrtc/modules/desktop_capture:primitives", | 38 "//third_party/webrtc/modules/desktop_capture:primitives", |
38 "//ui/events:dom_keycode_converter", | 39 "//ui/events:dom_keycode_converter", |
39 ] | 40 ] |
40 | 41 |
41 include_dirs = [ "//ppapi/lib/gl/include" ] | 42 include_dirs = [ "//ppapi/lib/gl/include" ] |
42 } | 43 } |
44 | |
45 if (enable_pnacl && is_debug) { | |
Sergey Ulanov
2015/11/09 21:14:46
Duplicating the target like this makes it harder t
Roland McGrath
2015/11/09 21:30:21
The "unstripped" (pre-finalized) file doesn't get
| |
46 copy("remoting_client_plugin") { | |
47 public_deps = [ | |
48 ":remoting_client_plugin_newlib", | |
49 ] | |
50 sources = [ | |
51 "$root_out_dir/exe.unstripped/remoting_client_plugin_newlib.pexe", | |
52 ] | |
53 outputs = [ | |
54 "$root_out_dir/remoting_client_plugin_newlib.pexe.debug", | |
55 ] | |
56 } | |
57 } else { | |
58 group("remoting_client_plugin") { | |
59 public_deps = [ | |
60 ":remoting_client_plugin_newlib", | |
61 ] | |
62 } | |
63 } | |
OLD | NEW |