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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 lastchange_path = "//build/util/LASTCHANGE" | 101 lastchange_path = "//build/util/LASTCHANGE" |
102 version_path = "//chrome/VERSION" | 102 version_path = "//chrome/VERSION" |
103 template_input_path = "chrome_version_info_posix.h.version" | 103 template_input_path = "chrome_version_info_posix.h.version" |
104 if (is_chrome_branded) { | 104 if (is_chrome_branded) { |
105 branding_path = "//chrome/app/theme/google_chrome/BRANDING" | 105 branding_path = "//chrome/app/theme/google_chrome/BRANDING" |
106 } else { | 106 } else { |
107 branding_path = "//chrome/app/theme/chromium/BRANDING" | 107 branding_path = "//chrome/app/theme/chromium/BRANDING" |
108 } | 108 } |
109 | 109 |
110 source_prereqs = [ | 110 inputs = [ |
111 version_path, | 111 version_path, |
112 template_input_path, | 112 template_input_path, |
113 lastchange_path, | 113 lastchange_path, |
114 branding_path, | 114 branding_path, |
115 ] | 115 ] |
116 | 116 |
117 outfile = "$target_gen_dir/chrome_version_info_posix.h" | 117 outfile = "$target_gen_dir/chrome_version_info_posix.h" |
118 outputs = [ outfile ] | 118 outputs = [ outfile ] |
119 | 119 |
120 args = [ | 120 args = [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 deps = [ | 162 deps = [ |
163 "//base", | 163 "//base", |
164 "//base/third_party/dynamic_annotations", | 164 "//base/third_party/dynamic_annotations", |
165 "//third_party/widevine/cdm:version_h", | 165 "//third_party/widevine/cdm:version_h", |
166 # TODO(GYP) | 166 # TODO(GYP) |
167 #'../components/components.gyp:bookmarks_common', | 167 #'../components/components.gyp:bookmarks_common', |
168 #'../components/nacl.gyp:nacl_switches', | 168 #'../components/nacl.gyp:nacl_switches', |
169 ] | 169 ] |
170 } | 170 } |
OLD | NEW |