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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 344 # targets independent of Chrome that we want to keep small. So we don't | 344 # targets independent of Chrome that we want to keep small. So we don't |
| 345 # want something large like //ui/base. | 345 # want something large like //ui/base. |
| 346 # | 346 # |
| 347 # Android doesn't have this structure and corresponding size limitation | 347 # Android doesn't have this structure and corresponding size limitation |
| 348 # on this target. On that platform one of the Chrome paths forwards to one | 348 # on this target. On that platform one of the Chrome paths forwards to one |
| 349 # implemented in //ui/base, so we need that dependency. | 349 # implemented in //ui/base, so we need that dependency. |
| 350 deps += [ "//ui/base" ] | 350 deps += [ "//ui/base" ] |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 | 353 |
| 354 # GYP version: chrome/chrome_common.gypi:metrics_constants_util_win | |
|
grt (UTC plus 2)
2016/04/15 15:29:32
how about defining this in an is_win block?
gab
2016/04/15 18:14:07
Done. The dependency for chrome_initial target was
| |
| 355 source_set("metrics_constants_util_win") { | |
| 356 sources = [ | |
| 357 "metrics_constants_util_win.cc", | |
| 358 "metrics_constants_util_win.h", | |
| 359 ] | |
| 360 | |
| 361 deps = [ | |
| 362 "//base", | |
| 363 "//chrome/installer/util:with_no_strings", | |
| 364 ] | |
| 365 } | |
| 366 | |
| 354 source_set("test_support") { | 367 source_set("test_support") { |
| 355 testonly = true | 368 testonly = true |
| 356 visibility = [ "//chrome/test:test_support" ] | 369 visibility = [ "//chrome/test:test_support" ] |
| 357 | 370 |
| 358 sources = [] | 371 sources = [] |
| 359 | 372 |
| 360 deps = [ | 373 deps = [ |
| 361 ":common", | 374 ":common", |
| 362 "//base", | 375 "//base", |
| 363 "//testing/gtest", | 376 "//testing/gtest", |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 375 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 388 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 376 | 389 |
| 377 if (enable_extensions) { | 390 if (enable_extensions) { |
| 378 sources += [ | 391 sources += [ |
| 379 "extensions/extension_test_util.cc", | 392 "extensions/extension_test_util.cc", |
| 380 "extensions/extension_test_util.h", | 393 "extensions/extension_test_util.h", |
| 381 ] | 394 ] |
| 382 } | 395 } |
| 383 } | 396 } |
| 384 | 397 |
| 385 # GN version: chrome/chrome.gyp:app_mode_app_support | 398 # GYP version: chrome/chrome.gyp:app_mode_app_support |
| 386 source_set("app_mode_app_support") { | 399 source_set("app_mode_app_support") { |
| 387 sources = [ | 400 sources = [ |
| 388 "mac/app_mode_chrome_locator.h", | 401 "mac/app_mode_chrome_locator.h", |
| 389 "mac/app_mode_chrome_locator.mm", | 402 "mac/app_mode_chrome_locator.mm", |
| 390 "mac/app_mode_common.h", | 403 "mac/app_mode_common.h", |
| 391 "mac/app_mode_common.mm", | 404 "mac/app_mode_common.mm", |
| 392 ] | 405 ] |
| 393 | 406 |
| 394 deps = [ | 407 deps = [ |
| 395 ":constants", | 408 ":constants", |
| 396 "//base", | 409 "//base", |
| 397 ] | 410 ] |
| 398 } | 411 } |
| 399 | 412 |
| 400 mojom("mojo_bindings") { | 413 mojom("mojo_bindings") { |
| 401 sources = [ | 414 sources = [ |
| 402 "image_decoder.mojom", | 415 "image_decoder.mojom", |
| 403 "resource_usage_reporter.mojom", | 416 "resource_usage_reporter.mojom", |
| 404 ] | 417 ] |
| 405 | 418 |
| 406 public_deps = [ | 419 public_deps = [ |
| 407 "//skia/public/interfaces", | 420 "//skia/public/interfaces", |
| 408 ] | 421 ] |
| 409 } | 422 } |
| OLD | NEW |