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("//build/config/features.gni") |
9 import("//remoting/remoting_srcs.gni") | |
10 | 9 |
11 config("enable_linker_optimization") { | 10 config("enable_linker_optimization") { |
12 ldflags = [ "-Wl,-O1" ] | 11 ldflags = [ "-Wl,-O1" ] |
13 } | 12 } |
14 | 13 |
15 executable("remoting_client_plugin_newlib") { | 14 executable("remoting_client_plugin_newlib") { |
16 sources = | 15 sources = [ |
17 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, | 16 "chromoting_instance.cc", |
18 ".", | 17 "chromoting_instance.h", |
19 "//remoting") | 18 "delegating_signal_strategy.cc", |
| 19 "delegating_signal_strategy.h", |
| 20 "pepper_address_resolver.cc", |
| 21 "pepper_address_resolver.h", |
| 22 "pepper_audio_player.cc", |
| 23 "pepper_audio_player.h", |
| 24 "pepper_cursor_setter.cc", |
| 25 "pepper_cursor_setter.h", |
| 26 "pepper_input_handler.cc", |
| 27 "pepper_input_handler.h", |
| 28 "pepper_main_thread_task_runner.cc", |
| 29 "pepper_main_thread_task_runner.h", |
| 30 "pepper_module.cc", |
| 31 "pepper_mouse_locker.cc", |
| 32 "pepper_mouse_locker.h", |
| 33 "pepper_network_manager.cc", |
| 34 "pepper_network_manager.h", |
| 35 "pepper_packet_socket_factory.cc", |
| 36 "pepper_packet_socket_factory.h", |
| 37 "pepper_port_allocator_factory.cc", |
| 38 "pepper_port_allocator_factory.h", |
| 39 "pepper_url_request.cc", |
| 40 "pepper_url_request.h", |
| 41 "pepper_util.cc", |
| 42 "pepper_util.h", |
| 43 "pepper_video_renderer.h", |
| 44 "pepper_video_renderer_2d.cc", |
| 45 "pepper_video_renderer_2d.h", |
| 46 "pepper_video_renderer_3d.cc", |
| 47 "pepper_video_renderer_3d.h", |
| 48 ] |
20 | 49 |
21 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 50 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
22 | 51 |
23 if (is_debug) { | 52 if (is_debug) { |
24 # Always enable link-time optimization in debug builds to workaround | 53 # Always enable link-time optimization in debug builds to workaround |
25 # crbug.com/538243 . | 54 # crbug.com/538243 . |
26 configs += [ ":enable_linker_optimization" ] | 55 configs += [ ":enable_linker_optimization" ] |
27 } | 56 } |
28 | 57 |
29 deps = [ | 58 deps = [ |
(...skipping 18 matching lines...) Expand all Loading... |
48 ":remoting_client_plugin_newlib", | 77 ":remoting_client_plugin_newlib", |
49 ] | 78 ] |
50 sources = [ | 79 sources = [ |
51 "$root_out_dir/exe.unstripped/remoting_client_plugin_newlib.pexe", | 80 "$root_out_dir/exe.unstripped/remoting_client_plugin_newlib.pexe", |
52 ] | 81 ] |
53 outputs = [ | 82 outputs = [ |
54 "$root_out_dir/remoting_client_plugin_newlib.pexe.debug", | 83 "$root_out_dir/remoting_client_plugin_newlib.pexe.debug", |
55 ] | 84 ] |
56 } | 85 } |
57 } | 86 } |
OLD | NEW |