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/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
9 | 9 |
10 assert(use_aura) | 10 assert(use_aura) |
11 assert(enable_hidpi) | 11 assert(enable_hidpi) |
12 | 12 |
13 gypi_values = exec_script("//build/gypi_to_gn.py", | 13 gypi_values = exec_script("//build/gypi_to_gn.py", |
14 [ rebase_path("ash.gyp") ], | 14 [ rebase_path("ash.gyp") ], |
15 "scope", | 15 "scope", |
16 [ "ash.gyp" ]) | 16 [ "ash.gyp" ]) |
17 | 17 |
18 component("ash") { | 18 component("ash") { |
19 sources = gypi_values.ash_sources | 19 sources = gypi_values.ash_sources |
20 | 20 |
21 configs += [ "//build/config:precompiled_headers" ] | 21 configs += [ "//build/config:precompiled_headers" ] |
22 defines = [ "ASH_IMPLEMENTATION" ] | 22 defines = [ "ASH_IMPLEMENTATION" ] |
23 | 23 |
24 public_deps = [ | 24 public_deps = [ |
25 "//ash/resources", | 25 "//ash/resources", |
26 "//ash/strings", | 26 "//ash/strings", |
27 ] | 27 ] |
28 deps = [ | 28 deps = [ |
29 "//ash/touch_hud", | |
30 "//base", | 29 "//base", |
31 "//base:i18n", | 30 "//base:i18n", |
32 "//base/third_party/dynamic_annotations", | 31 "//base/third_party/dynamic_annotations", |
33 "//cc", | 32 "//cc", |
34 "//components/device_event_log", | 33 "//components/device_event_log", |
35 "//components/onc", | 34 "//components/onc", |
36 "//components/signin/core/account_id", | 35 "//components/signin/core/account_id", |
37 "//components/user_manager", | 36 "//components/user_manager", |
38 "//components/wallpaper", | 37 "//components/wallpaper", |
39 "//media", | 38 "//media", |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 sources = gypi_values.ash_unittests_sources | 342 sources = gypi_values.ash_unittests_sources |
344 configs += [ "//build/config:precompiled_headers" ] | 343 configs += [ "//build/config:precompiled_headers" ] |
345 | 344 |
346 deps = [ | 345 deps = [ |
347 ":ash", | 346 ":ash", |
348 ":ash_with_content", | 347 ":ash_with_content", |
349 ":test_support", | 348 ":test_support", |
350 ":test_support_with_content", | 349 ":test_support_with_content", |
351 "//ash/resources", | 350 "//ash/resources", |
352 "//ash/strings", | 351 "//ash/strings", |
353 "//ash/touch_hud", | |
354 "//base", | 352 "//base", |
355 "//base/test:test_support", | 353 "//base/test:test_support", |
356 "//components/signin/core/account_id", | 354 "//components/signin/core/account_id", |
357 "//components/user_manager", | 355 "//components/user_manager", |
358 "//content/public/browser", | 356 "//content/public/browser", |
359 "//content/test:test_support", | 357 "//content/test:test_support", |
360 "//mojo/edk/system", | 358 "//mojo/edk/system", |
361 "//skia", | 359 "//skia", |
362 "//testing/gtest", | 360 "//testing/gtest", |
363 "//third_party/icu", | 361 "//third_party/icu", |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 configs += [ "//build/config/win:windowed" ] | 480 configs += [ "//build/config/win:windowed" ] |
483 deps += [ "//sandbox" ] | 481 deps += [ "//sandbox" ] |
484 } | 482 } |
485 | 483 |
486 if (is_chromeos) { | 484 if (is_chromeos) { |
487 deps += [ "//device/bluetooth" ] | 485 deps += [ "//device/bluetooth" ] |
488 } | 486 } |
489 } | 487 } |
490 # When adding support for isolates, please have a look at run-time dependencies | 488 # When adding support for isolates, please have a look at run-time dependencies |
491 # in the ash_unittests_run target in ash.gyp. | 489 # in the ash_unittests_run target in ash.gyp. |
OLD | NEW |