BUILD.gn 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 2018 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # Make the GCP installer.
  5. # TODO(https://crbug.com/1143303): Get this working in cross builds.
  6. if (host_os == "win") {
  7. action("gcp_installer") {
  8. script = "build/make_setup.py"
  9. outputs = [ "$root_out_dir/gcp_installer.exe" ]
  10. args = [
  11. rebase_path("//", root_build_dir),
  12. rebase_path(".", root_build_dir),
  13. rebase_path(root_out_dir, root_build_dir),
  14. rebase_path(target_gen_dir, root_build_dir),
  15. ]
  16. deps = [
  17. "//chrome/credential_provider/eventlog:gcp_eventlog_provider",
  18. "//chrome/credential_provider/extension:gcpw_extension",
  19. "//chrome/credential_provider/gaiacp:gaia1_0",
  20. "//chrome/credential_provider/setup:gcp_setup",
  21. "//chrome/credential_provider/setup:gcp_sfx",
  22. ]
  23. }
  24. }
  25. group("credential_provider") {
  26. # TODO(https://crbug.com/1143303): Get this working in cross builds.
  27. if (host_os == "win") {
  28. deps = [ ":gcp_installer" ]
  29. }
  30. }