OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
7 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 7 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 use_unofficial_version_number = !is_chrome_branded | 10 use_unofficial_version_number = !is_chrome_branded |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 if (use_unofficial_version_number) { | 29 if (use_unofficial_version_number) { |
30 defines = [ "USE_UNOFFICIAL_VERSION_NUMBER" ] | 30 defines = [ "USE_UNOFFICIAL_VERSION_NUMBER" ] |
31 deps += [ "//ui/base" ] | 31 deps += [ "//ui/base" ] |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 source_set("channel") { | 35 source_set("channel") { |
36 sources = [ | 36 sources = [ |
37 "channel.h", | 37 "channel.h", |
| 38 "channel_android.cc", |
| 39 "channel_android.h", |
38 ] | 40 ] |
39 } | 41 } |
40 | 42 |
41 process_version("generate_version_info") { | 43 process_version("generate_version_info") { |
42 template_file = "version_info_values.h.version" | 44 template_file = "version_info_values.h.version" |
43 sources = [ | 45 sources = [ |
44 "//build/util/LASTCHANGE", | 46 "//build/util/LASTCHANGE", |
45 "//chrome/VERSION", | 47 "//chrome/VERSION", |
46 branding_file_path, | 48 branding_file_path, |
47 ] | 49 ] |
48 output = "$target_gen_dir/version_info_values.h" | 50 output = "$target_gen_dir/version_info_values.h" |
49 } | 51 } |
OLD | NEW |