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("//build/gypi_to_gn.py", | 7 gypi_values = exec_script("//build/gypi_to_gn.py", |
8 [ rebase_path("../chrome_common.gypi") ], | 8 [ rebase_path("../chrome_common.gypi") ], |
9 "scope", | 9 "scope", |
10 [ "../chrome_common.gypi" ]) | 10 [ "../chrome_common.gypi" ]) |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 "//chrome") | 233 "//chrome") |
234 } | 234 } |
235 if (safe_browsing_mode == 2) { | 235 if (safe_browsing_mode == 2) { |
236 defines += [ "MOBILE_SAFE_BROWSING" ] | 236 defines += [ "MOBILE_SAFE_BROWSING" ] |
237 } | 237 } |
238 } | 238 } |
239 | 239 |
240 import("//chrome/version.gni") | 240 import("//chrome/version.gni") |
241 process_version("version") { | 241 process_version("version") { |
242 visibility = [ ":common" ] | 242 visibility = [ ":common" ] |
243 source = "chrome_version_info_values.h.version" | 243 template_file = "chrome_version_info_values.h.version" |
244 output = "$target_gen_dir/chrome_version_info_values.h" | 244 output = "$target_gen_dir/chrome_version_info_values.h" |
245 } | 245 } |
246 | 246 |
247 process_version("make_chrome_version") { | 247 process_version("make_chrome_version") { |
248 source = "chrome_version.cc.version" | 248 template_file = "chrome_version.cc.version" |
249 output = "$target_gen_dir/chrome_version.cc" | 249 output = "$target_gen_dir/chrome_version.cc" |
250 } | 250 } |
251 | 251 |
252 # GN version: chrome/common_constants.gyp:common_constants | 252 # GN version: chrome/common_constants.gyp:common_constants |
253 static_library("constants") { | 253 static_library("constants") { |
254 sources = [ | 254 sources = [ |
255 "chrome_constants.cc", | 255 "chrome_constants.cc", |
256 "chrome_constants.h", | 256 "chrome_constants.h", |
257 "chrome_icon_resources_win.cc", | 257 "chrome_icon_resources_win.cc", |
258 "chrome_icon_resources_win.h", | 258 "chrome_icon_resources_win.h", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 316 |
317 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 317 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
318 | 318 |
319 if (enable_extensions) { | 319 if (enable_extensions) { |
320 sources += [ | 320 sources += [ |
321 "extensions/extension_test_util.cc", | 321 "extensions/extension_test_util.cc", |
322 "extensions/extension_test_util.h", | 322 "extensions/extension_test_util.h", |
323 ] | 323 ] |
324 } | 324 } |
325 } | 325 } |
OLD | NEW |