Chromium Code Reviews| Index: remoting/host/setup/BUILD.gn |
| diff --git a/remoting/host/setup/BUILD.gn b/remoting/host/setup/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..af91fe03266d9d606ea43df359ada853eea5c86c |
| --- /dev/null |
| +++ b/remoting/host/setup/BUILD.gn |
| @@ -0,0 +1,50 @@ |
| +# 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. |
| + |
| +source_set("setup") { |
|
kelvinp
2015/02/27 21:00:57
Can we define the source files in a gypi file like
|
| + sources = [ |
| + "daemon_controller.cc", |
| + "daemon_controller.h", |
| + "daemon_controller_delegate_linux.cc", |
| + "daemon_controller_delegate_linux.h", |
| + "daemon_controller_delegate_mac.h", |
| + "daemon_controller_delegate_mac.mm", |
| + "daemon_controller_delegate_win.cc", |
| + "daemon_controller_delegate_win.h", |
| + "me2me_native_messaging_host.cc", |
| + "me2me_native_messaging_host.h", |
| + "oauth_client.cc", |
| + "oauth_client.h", |
| + "oauth_helper.cc", |
| + "oauth_helper.h", |
| + "pin_validator.cc", |
| + "pin_validator.h", |
| + "service_client.cc", |
| + "service_client.h", |
| + "test_util.cc", |
| + "test_util.h", |
| + "win/auth_code_getter.cc", |
| + "win/auth_code_getter.h", |
| + ] |
| + |
| + configs += [ |
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| + "//build/config/compiler:no_size_t_to_int_warning", |
| + "//build/config/compiler:wexit_time_destructors", |
| + "//remoting:version", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//google_apis", |
| + "//remoting/host", |
| + ] |
| + |
| + if (is_win) { |
| + deps += [ |
| + #remoting_lib_idl", TODO(GYP) Windows target for remoting. |
| + "//google_update", |
| + ] |
| + } |
| +} |