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/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 sources += [ | |
|
tdanderson
2016/08/19 21:23:35
Lines 21-25 are only included for this WIP CL. The
sadrul
2016/08/22 15:14:05
Consider creating a gn template instead (https://c
tdanderson
2016/08/25 21:54:32
Will re-visit this idea afterwards.
| |
| 22 "common/resources/vector_icons.cc", | |
| 23 "common/resources/vector_icons.h", | |
| 24 ] | |
| 25 | |
| 21 configs += [ "//build/config:precompiled_headers" ] | 26 configs += [ "//build/config:precompiled_headers" ] |
| 22 defines = [ "ASH_IMPLEMENTATION" ] | 27 defines = [ "ASH_IMPLEMENTATION" ] |
| 23 | 28 |
| 24 public_deps = [ | 29 public_deps = [ |
| 25 "//ash/common/strings", | 30 "//ash/common/strings", |
| 26 "//ash/resources", | 31 "//ash/resources", |
| 27 ] | 32 ] |
| 28 deps = [ | 33 deps = [ |
| 29 "//ash/autoclick/common:autoclick", | 34 "//ash/autoclick/common:autoclick", |
| 30 "//ash/touch_hud", | 35 "//ash/touch_hud", |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 488 configs += [ "//build/config/win:windowed" ] | 493 configs += [ "//build/config/win:windowed" ] |
| 489 deps += [ "//sandbox" ] | 494 deps += [ "//sandbox" ] |
| 490 } | 495 } |
| 491 | 496 |
| 492 if (is_chromeos) { | 497 if (is_chromeos) { |
| 493 deps += [ "//device/bluetooth" ] | 498 deps += [ "//device/bluetooth" ] |
| 494 } | 499 } |
| 495 } | 500 } |
| 496 # When adding support for isolates, please have a look at run-time dependencies | 501 # When adding support for isolates, please have a look at run-time dependencies |
| 497 # in the ash_unittests_run target in ash.gyp. | 502 # in the ash_unittests_run target in ash.gyp. |
| OLD | NEW |