OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//remoting/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
6 | 6 |
7 source_set("constants") { | 7 source_set("constants") { |
8 defines = [ | 8 defines = [ |
9 "HOST_BUNDLE_NAME=\"" + host_bundle_name + "\"", | 9 "HOST_BUNDLE_NAME=\"" + host_bundle_name + "\"", |
10 "PREFPANE_BUNDLE_NAME=\"" + prefpane_bundle_name + "\"", | 10 "PREFPANE_BUNDLE_NAME=\"" + prefpane_bundle_name + "\"", |
11 ] | 11 ] |
12 | 12 |
13 sources = [ | 13 sources = [ |
14 "constants_mac.cc", | 14 "constants_mac.cc", |
15 "constants_mac.h", | 15 "constants_mac.h", |
16 ] | 16 ] |
| 17 |
| 18 deps = [ "//remoting/host:remoting_version" ] |
17 } | 19 } |
18 | 20 |
19 # remoting_me2me_host-InfoPlist.strings | 21 # remoting_me2me_host-InfoPlist.strings |
20 foreach(locale, remoting_locales_with_underscores) { | 22 foreach(locale, remoting_locales_with_underscores) { |
21 bundle_data("remoting_me2me_host_strings_${locale}_bundle_data") { | 23 bundle_data("remoting_me2me_host_strings_${locale}_bundle_data") { |
22 sources = [ | 24 sources = [ |
23 "$root_gen_dir/remoting/host/remoting_me2me_host-InfoPlist.strings/$locale
.lproj/InfoPlist.strings", | 25 "$root_gen_dir/remoting/host/remoting_me2me_host-InfoPlist.strings/$locale
.lproj/InfoPlist.strings", |
24 ] | 26 ] |
25 outputs = [ | 27 outputs = [ |
26 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", | 28 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 } | 277 } |
276 } | 278 } |
277 | 279 |
278 mac_xib_bundle_data("remoting_host_prefpane_xibs") { | 280 mac_xib_bundle_data("remoting_host_prefpane_xibs") { |
279 sources = [ | 281 sources = [ |
280 "me2me_preference_pane.xib", | 282 "me2me_preference_pane.xib", |
281 "me2me_preference_pane_confirm_pin.xib", | 283 "me2me_preference_pane_confirm_pin.xib", |
282 "me2me_preference_pane_disable.xib", | 284 "me2me_preference_pane_disable.xib", |
283 ] | 285 ] |
284 } | 286 } |
OLD | NEW |