| 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/common/strings", | 25 "//ash/common/strings", |
| 26 "//ash/resources", | 26 "//ash/resources", |
| 27 "//ash/resources/vector_icons", |
| 27 ] | 28 ] |
| 28 deps = [ | 29 deps = [ |
| 29 "//ash/autoclick/common:autoclick", | 30 "//ash/autoclick/common:autoclick", |
| 30 "//ash/touch_hud", | 31 "//ash/touch_hud", |
| 31 "//base", | 32 "//base", |
| 32 "//base:i18n", | 33 "//base:i18n", |
| 33 "//base/third_party/dynamic_annotations", | 34 "//base/third_party/dynamic_annotations", |
| 34 "//cc", | 35 "//cc", |
| 35 "//components/device_event_log", | 36 "//components/device_event_log", |
| 36 "//components/onc", | 37 "//components/onc", |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 configs += [ "//build/config/win:windowed" ] | 492 configs += [ "//build/config/win:windowed" ] |
| 492 deps += [ "//sandbox" ] | 493 deps += [ "//sandbox" ] |
| 493 } | 494 } |
| 494 | 495 |
| 495 if (is_chromeos) { | 496 if (is_chromeos) { |
| 496 deps += [ "//device/bluetooth" ] | 497 deps += [ "//device/bluetooth" ] |
| 497 } | 498 } |
| 498 } | 499 } |
| 499 # When adding support for isolates, please have a look at run-time dependencies | 500 # When adding support for isolates, please have a look at run-time dependencies |
| 500 # in the ash_unittests_run target in ash.gyp. | 501 # in the ash_unittests_run target in ash.gyp. |
| OLD | NEW |