| Index: components/version_info/BUILD.gn
|
| diff --git a/components/version_info/BUILD.gn b/components/version_info/BUILD.gn
|
| index 1fe5cfb1cad536d2504482ea82cd8dd58f76b988..17b24f412aebba9198c717dd4a30eea65400ff77 100644
|
| --- a/components/version_info/BUILD.gn
|
| +++ b/components/version_info/BUILD.gn
|
| @@ -19,12 +19,24 @@ static_library("version_info") {
|
| deps = [
|
| ":generate_version_info",
|
| "//base",
|
| - "//components/strings",
|
| ]
|
|
|
| public_deps = [
|
| ":channel",
|
| ]
|
| +}
|
| +
|
| +# Isolate the //ui/base dependency in this target.
|
| +static_library("version_string") {
|
| + sources = [
|
| + "version_string.cc",
|
| + "version_string.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":version_info",
|
| + "//components/strings",
|
| + ]
|
|
|
| if (use_unofficial_version_number) {
|
| defines = [ "USE_UNOFFICIAL_VERSION_NUMBER" ]
|
| @@ -35,6 +47,8 @@ static_library("version_info") {
|
| source_set("channel") {
|
| sources = [
|
| "channel.h",
|
| + "channel_android.cc",
|
| + "channel_android.h",
|
| ]
|
| }
|
|
|
|
|