Chromium Code Reviews| 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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 | 10 |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 295 template_file = "chrome_version.h.in" | 295 template_file = "chrome_version.h.in" |
| 296 | 296 |
| 297 output = "$target_gen_dir/chrome_version.h" | 297 output = "$target_gen_dir/chrome_version.h" |
| 298 } | 298 } |
| 299 | 299 |
| 300 # GYP version: chrome/common_constants.gyp:common_constants | 300 # GYP version: chrome/common_constants.gyp:common_constants |
| 301 static_library("constants") { | 301 static_library("constants") { |
| 302 sources = [ | 302 sources = [ |
| 303 "chrome_constants.cc", | 303 "chrome_constants.cc", |
| 304 "chrome_constants.h", | 304 "chrome_constants.h", |
| 305 "chrome_constants_util_win.cc", | |
| 306 "chrome_constants_util_win.h", | |
| 305 "chrome_features.cc", | 307 "chrome_features.cc", |
| 306 "chrome_features.h", | 308 "chrome_features.h", |
| 307 "chrome_icon_resources_win.cc", | 309 "chrome_icon_resources_win.cc", |
| 308 "chrome_icon_resources_win.h", | 310 "chrome_icon_resources_win.h", |
| 309 "chrome_paths.cc", | 311 "chrome_paths.cc", |
| 310 "chrome_paths.h", | 312 "chrome_paths.h", |
| 311 "chrome_paths_android.cc", | 313 "chrome_paths_android.cc", |
| 312 "chrome_paths_internal.h", | 314 "chrome_paths_internal.h", |
| 313 "chrome_paths_linux.cc", | 315 "chrome_paths_linux.cc", |
| 314 "chrome_paths_mac.mm", | 316 "chrome_paths_mac.mm", |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 342 # | 344 # |
| 343 # On Windows, //chrome/installer/util depends on this target to get | 345 # On Windows, //chrome/installer/util depends on this target to get |
| 344 # constants. That target is in turn used in a number of installer helper | 346 # constants. That target is in turn used in a number of installer helper |
| 345 # targets independent of Chrome that we want to keep small. So we don't | 347 # targets independent of Chrome that we want to keep small. So we don't |
| 346 # want something large like //ui/base. | 348 # want something large like //ui/base. |
| 347 # | 349 # |
| 348 # Android doesn't have this structure and corresponding size limitation | 350 # Android doesn't have this structure and corresponding size limitation |
| 349 # on this target. On that platform one of the Chrome paths forwards to one | 351 # on this target. On that platform one of the Chrome paths forwards to one |
| 350 # implemented in //ui/base, so we need that dependency. | 352 # implemented in //ui/base, so we need that dependency. |
| 351 deps += [ "//ui/base" ] | 353 deps += [ "//ui/base" ] |
| 354 } else if (is_win) { | |
| 355 deps += [ ":installer_util" ] | |
|
grt (UTC plus 2)
2016/03/08 15:44:47
circular dependency: is this okay?
| |
| 352 } | 356 } |
| 353 } | 357 } |
| 354 | 358 |
| 355 source_set("test_support") { | 359 source_set("test_support") { |
| 356 testonly = true | 360 testonly = true |
| 357 visibility = [ "//chrome/test:test_support" ] | 361 visibility = [ "//chrome/test:test_support" ] |
| 358 | 362 |
| 359 sources = [] | 363 sources = [] |
| 360 | 364 |
| 361 deps = [ | 365 deps = [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 396 ":constants", | 400 ":constants", |
| 397 "//base", | 401 "//base", |
| 398 ] | 402 ] |
| 399 } | 403 } |
| 400 | 404 |
| 401 mojom("mojo_bindings") { | 405 mojom("mojo_bindings") { |
| 402 sources = [ | 406 sources = [ |
| 403 "resource_usage_reporter.mojom", | 407 "resource_usage_reporter.mojom", |
| 404 ] | 408 ] |
| 405 } | 409 } |
| OLD | NEW |