Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build/config/win/manifest.gni") | 7 import("//build/config/win/manifest.gni") |
| 8 import("//build/util/version.gni") | 8 import("//build/util/version.gni") |
| 9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
| 10 import("//remoting/remoting_enable.gni") | 10 import("//remoting/remoting_enable.gni") |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 980 ] | 980 ] |
| 981 | 981 |
| 982 if (is_mac && is_chrome_branded && is_official_build) { | 982 if (is_mac && is_chrome_branded && is_official_build) { |
| 983 defines = [ "REMOTING_ENABLE_BREAKPAD" ] | 983 defines = [ "REMOTING_ENABLE_BREAKPAD" ] |
| 984 } | 984 } |
| 985 | 985 |
| 986 deps = [ | 986 deps = [ |
| 987 ":credits", | 987 ":credits", |
| 988 ":remoting_me2me_host_static", | 988 ":remoting_me2me_host_static", |
| 989 "//build/config/sanitizers:deps", | 989 "//build/config/sanitizers:deps", |
| 990 "//remoting/base:breakpad", | |
| 990 "//remoting/resources", | 991 "//remoting/resources", |
| 991 ] | 992 ] |
| 992 if (is_mac) { | 993 if (is_mac) { |
| 993 foreach(locale, remoting_locales_with_underscores) { | 994 foreach(locale, remoting_locales_with_underscores) { |
| 994 deps += [ | 995 deps += [ |
| 995 ":remoting_host_locale_${locale}_bundle_data", | 996 ":remoting_host_locale_${locale}_bundle_data", |
| 996 ":remoting_me2me_host_strings_${locale}_bundle_data", | 997 ":remoting_me2me_host_strings_${locale}_bundle_data", |
| 997 ] | 998 ] |
| 998 } | 999 } |
| 999 deps += [ | 1000 deps += [ |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1226 "$root_out_dir/remoting_native_messaging_host.exe", | 1227 "$root_out_dir/remoting_native_messaging_host.exe", |
| 1227 "$root_out_dir/remoting_start_host.exe", | 1228 "$root_out_dir/remoting_start_host.exe", |
| 1228 "$root_gen_dir/remoting/CREDITS.txt", | 1229 "$root_gen_dir/remoting/CREDITS.txt", |
| 1229 "$root_out_dir/remoting/com.google.chrome.remote_assistance.json ", | 1230 "$root_out_dir/remoting/com.google.chrome.remote_assistance.json ", |
| 1230 "$root_out_dir/remoting/com.google.chrome.remote_desktop.json", | 1231 "$root_out_dir/remoting/com.google.chrome.remote_desktop.json", |
| 1231 "$root_out_dir/icudtl.dat", | 1232 "$root_out_dir/icudtl.dat", |
| 1232 ], | 1233 ], |
| 1233 root_build_dir) | 1234 root_build_dir) |
| 1234 _extra_files = [] | 1235 _extra_files = [] |
| 1235 | 1236 |
| 1236 args = [ | 1237 args = |
| 1237 rebase_path("$root_gen_dir/installation", root_build_dir), | 1238 [ |
| 1238 rebase_path(_output, root_build_dir), | 1239 rebase_path("$root_gen_dir/remoting_installation", root_build_dir), |
|
Dirk Pranke
2016/07/12 20:57:39
The GYP build actually uses SHARED_INTERMEDIATE_DI
| |
| 1239 "--source-file-roots", | 1240 rebase_path(_output, root_build_dir), |
| 1240 rebase_path("//remoting/host/installer/win"), | 1241 "--source-file-roots", |
| 1241 "--source-files", | 1242 rebase_path("//remoting/host/installer/win"), |
| 1242 rebase_path("//remoting/host/installer/win/chromoting.wxs"), | 1243 "--source-files", |
| 1243 rebase_path("//remoting/host/installer/win/parameters.json"), | 1244 rebase_path("//remoting/host/installer/win/chromoting.wxs"), |
| 1245 rebase_path("//remoting/host/installer/win/parameters.json"), | |
| 1244 | 1246 |
| 1245 # Input files | 1247 # Input files |
| 1246 "--generated-files", | 1248 "--generated-files", |
| 1247 ] + _generated_files + | 1249 ] + _generated_files + |
| 1248 [ | 1250 [ |
| 1249 rebase_path("//remoting/resources/chromoting.ico"), | 1251 rebase_path("//remoting/resources/chromoting.ico"), |
| 1250 | 1252 |
| 1251 # Position of files in zip file | 1253 # Position of files in zip file |
| 1252 "--generated-files-dst", | 1254 "--generated-files-dst", |
| 1253 "files/remote_assistance_host.exe", | 1255 "files/remote_assistance_host.exe", |
| 1254 "files/remote_security_key.exe", | 1256 "files/remote_security_key.exe", |
| 1255 "files/remoting_core.dll", | 1257 "files/remoting_core.dll", |
| 1256 "files/remoting_desktop.exe", | 1258 "files/remoting_desktop.exe", |
| 1257 "files/remoting_host.exe", | 1259 "files/remoting_host.exe", |
| 1258 "files/remoting_native_messaging_host.exe", | 1260 "files/remoting_native_messaging_host.exe", |
| 1259 "files/remoting_start_host.exe", | 1261 "files/remoting_start_host.exe", |
| 1260 "files/CREDITS.txt", | 1262 "files/CREDITS.txt", |
| 1261 "files/com.google.chrome.remote_assistance.json", | 1263 "files/com.google.chrome.remote_assistance.json", |
| 1262 "files/com.google.chrome.remote_desktop.json", | 1264 "files/com.google.chrome.remote_desktop.json", |
| 1263 "files/chromoting.ico", | 1265 "files/chromoting.ico", |
| 1264 "files/icudtl.dat", | 1266 "files/icudtl.dat", |
| 1265 ] + _extra_files + # Defs | 1267 ] + _extra_files + # Defs |
| 1266 [ | 1268 [ |
| 1267 "--defs", | 1269 "--defs", |
| 1268 "BRANDING=$_branding", | 1270 "BRANDING=$_branding", |
| 1269 "DAEMON_CONTROLLER_CLSID={$daemon_controller_clsid}", | 1271 "DAEMON_CONTROLLER_CLSID={$daemon_controller_clsid}", |
| 1270 "RDP_DESKTOP_SESSION_CLSID={$rdp_desktop_session_clsid}", | 1272 "RDP_DESKTOP_SESSION_CLSID={$rdp_desktop_session_clsid}", |
| 1271 "VERSION=$chrome_version_full", | 1273 "VERSION=$chrome_version_full", |
| 1272 "OFFICIAL_BUILD=$_official_build", | 1274 "OFFICIAL_BUILD=$_official_build", |
| 1273 ] | 1275 ] |
| 1274 } | 1276 } |
| 1275 } else if (is_mac) { | 1277 } else if (is_mac) { |
| 1276 import("//build/config/zip.gni") | 1278 import("//build/config/zip.gni") |
| 1277 | 1279 |
| 1278 action("remoting_me2me_host_archive") { | 1280 action("remoting_me2me_host_archive") { |
| 1279 # TODO(GYP) TODO(crbug.com/622415) This needs work and testing. | 1281 # TODO(GYP) TODO(crbug.com/622415) This needs work and testing. |
| 1280 | 1282 |
| 1281 # TODO(GYP) At the very least, we need to add in the localized strings. | 1283 # TODO(GYP) At the very least, we need to add in the localized strings. |
| 1282 | 1284 |
| 1283 _installer_mac_files = [ | 1285 _installer_mac_files = [ |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 1304 ] | 1306 ] |
| 1305 | 1307 |
| 1306 script = "installer/build-installer-archive.py" | 1308 script = "installer/build-installer-archive.py" |
| 1307 | 1309 |
| 1308 # TODO(GYP) TODO(crbug.com/622415): Fill these in. | 1310 # TODO(GYP) TODO(crbug.com/622415): Fill these in. |
| 1309 host_name_nospace = host_name | 1311 host_name_nospace = host_name |
| 1310 host_service_name_nospace = host_service_name | 1312 host_service_name_nospace = host_service_name |
| 1311 host_uninstaller_name_nospace = host_uninstaller_name | 1313 host_uninstaller_name_nospace = host_uninstaller_name |
| 1312 | 1314 |
| 1313 args = [ | 1315 args = [ |
| 1314 rebase_path(target_gen_dir, root_build_dir), | 1316 rebase_path("$target_gen_dir/remoting_installation", |
| 1317 root_build_dir), | |
|
Dirk Pranke
2016/07/12 20:57:39
This uses target_gen_dir instead of root_gen_dir,
| |
| 1315 rebase_path(zip_path, root_build_dir), | 1318 rebase_path(zip_path, root_build_dir), |
| 1316 "--source-file-roots", | 1319 "--source-file-roots", |
| 1317 rebase_path("installer/mac/", root_build_dir), | 1320 rebase_path("installer/mac/", root_build_dir), |
| 1318 rebase_path("//chrome/installer/mac", root_build_dir), | 1321 rebase_path("//chrome/installer/mac", root_build_dir), |
| 1319 "--source-files", | 1322 "--source-files", |
| 1320 ] + rebase_path(_installer_mac_files, root_build_dir) + [ | 1323 ] + rebase_path(_installer_mac_files, root_build_dir) + [ |
| 1321 "--generated-files", | 1324 "--generated-files", |
| 1322 "remoting_host_prefpane.prefPane", | 1325 "remoting_host_prefpane.prefPane", |
| 1323 "remoting_me2me_host.app", | 1326 "remoting_me2me_host.app", |
| 1324 "native_messaging_host.app", | 1327 "native_messaging_host.app", |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1538 "//remoting/host:remoting_me2me_host_archive", | 1541 "//remoting/host:remoting_me2me_host_archive", |
| 1539 ] | 1542 ] |
| 1540 script = "../tools/zip2msi.py" | 1543 script = "../tools/zip2msi.py" |
| 1541 outputs = [ | 1544 outputs = [ |
| 1542 "$root_out_dir/chromoting.msi", | 1545 "$root_out_dir/chromoting.msi", |
| 1543 ] | 1546 ] |
| 1544 args = [ | 1547 args = [ |
| 1545 "--wix_path", | 1548 "--wix_path", |
| 1546 rebase_path("//third_party/wix"), | 1549 rebase_path("//third_party/wix"), |
| 1547 "--intermediate_dir", | 1550 "--intermediate_dir", |
| 1548 rebase_path("$root_gen_dir/installation", root_build_dir), | 1551 rebase_path("$root_gen_dir/remoting_installation", root_build_dir), |
| 1549 "--target_arch", | 1552 "--target_arch", |
| 1550 msi_script_arch, | 1553 msi_script_arch, |
| 1551 rebase_path("$root_out_dir/remoting-me2me-host-$current_os.zip", | 1554 rebase_path("$root_out_dir/remoting-me2me-host-$current_os.zip", |
| 1552 root_build_dir), | 1555 root_build_dir), |
| 1553 rebase_path(outputs[0], root_build_dir), | 1556 rebase_path(outputs[0], root_build_dir), |
| 1554 ] | 1557 ] |
| 1555 } | 1558 } |
| 1556 } else { | 1559 } else { |
| 1557 group("remoting_host_installation") { | 1560 group("remoting_host_installation") { |
| 1558 } | 1561 } |
| 1559 } | 1562 } |
| 1560 } | 1563 } |
| 1561 } | 1564 } |
| OLD | NEW |