Commit ce3666ac authored by Joe Mason's avatar Joe Mason Committed by Commit Bot

Move args from chrome_cleaner/constants/BUILD.gn to a .gni file.

This lets the args be included from other directories.

Also fix the license in REPORTER_BRANDING and CLEANER_BRANDING.

R=csharp

Bug: 830892
Change-Id: Ia753c988579ee65a969aa07103677b80da0eede4
Reviewed-on: https://chromium-review.googlesource.com/1216707Reviewed-by: default avatarChris Sharp <csharp@chromium.org>
Commit-Queue: Joe Mason <joenotcharles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590305}
parent 778fe83a
......@@ -3,15 +3,8 @@
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
import("//build/util/lastchange.gni")
import("//build/util/process_version.gni")
declare_args() {
reporter_branding_path = "REPORTER_BRANDING"
cleaner_branding_path = "CLEANER_BRANDING"
version_path = "VERSION"
lastchange_path = lastchange_file
}
import("//chrome/chrome_cleaner/constants/args.gni")
process_version("version_header") {
sources = [
......
......@@ -4,4 +4,4 @@ PRODUCT_FULLNAME=Chrome Cleanup Tool
PRODUCT_SHORTNAME=Chrome Cleanup Tool
PRODUCT_INSTALLER_FULLNAME=Chrome Cleanup Tool Installer
PRODUCT_INSTALLER_SHORTNAME=Chrome Cleanup Tool Installer
COPYRIGHT=Copyright 2015 Google Inc. All Rights Reserved.
COPYRIGHT=Copyright 2018 The Chromium Authors. All rights reserved.
......@@ -4,4 +4,4 @@ PRODUCT_FULLNAME=Software Reporter Tool
PRODUCT_SHORTNAME=Software Reporter Tool
PRODUCT_INSTALLER_FULLNAME=Software Reporter Tool Installer
PRODUCT_INSTALLER_SHORTNAME=Software Reporter Tool Installer
COPYRIGHT=Copyright 2015 Google Inc. All Rights Reserved.
COPYRIGHT=Copyright 2018 The Chromium Authors. All rights reserved.
# Copyright 2018 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.
import("//build/util/lastchange.gni")
declare_args() {
reporter_branding_path = "//chrome/chrome_cleaner/constants/REPORTER_BRANDING"
cleaner_branding_path = "//chrome/chrome_cleaner/constants/CLEANER_BRANDING"
version_path = "//chrome/chrome_cleaner/constants/VERSION"
lastchange_path = lastchange_file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment