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 "//ash/wm/common/resources", | |
28 ] | 27 ] |
29 deps = [ | 28 deps = [ |
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", |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 testonly = true | 184 testonly = true |
186 sources = gypi_values.ash_test_support_sources | 185 sources = gypi_values.ash_test_support_sources |
187 configs += [ "//build/config:precompiled_headers" ] | 186 configs += [ "//build/config:precompiled_headers" ] |
188 | 187 |
189 public_deps = [ | 188 public_deps = [ |
190 ":ash", | 189 ":ash", |
191 ] | 190 ] |
192 deps = [ | 191 deps = [ |
193 ":test_support_with_content", # TODO(beng): reverse this direction. | 192 ":test_support_with_content", # TODO(beng): reverse this direction. |
194 "//ash/resources", | 193 "//ash/resources", |
195 "//ash/wm/common/resources", | |
196 "//base:i18n", | 194 "//base:i18n", |
197 "//base/test:test_support", | 195 "//base/test:test_support", |
198 "//components/signin/core/account_id", | 196 "//components/signin/core/account_id", |
199 "//components/user_manager:user_manager", | 197 "//components/user_manager:user_manager", |
200 "//content/public/browser", | 198 "//content/public/browser", |
201 "//content/test:test_support", | 199 "//content/test:test_support", |
202 "//device/bluetooth", | 200 "//device/bluetooth", |
203 "//skia", | 201 "//skia", |
204 "//testing/gtest", | 202 "//testing/gtest", |
205 "//ui/accessibility", | 203 "//ui/accessibility", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 static_library("ash_shell_lib") { | 274 static_library("ash_shell_lib") { |
277 testonly = true | 275 testonly = true |
278 sources = gypi_values.ash_shell_lib_sources | 276 sources = gypi_values.ash_shell_lib_sources |
279 | 277 |
280 deps = [ | 278 deps = [ |
281 ":ash", | 279 ":ash", |
282 ":ash_with_content", | 280 ":ash_with_content", |
283 ":test_support", | 281 ":test_support", |
284 "//ash/resources", | 282 "//ash/resources", |
285 "//ash/strings", | 283 "//ash/strings", |
286 "//ash/wm/common/resources", | |
287 "//base", | 284 "//base", |
288 "//base:i18n", | 285 "//base:i18n", |
289 "//components/user_manager", | 286 "//components/user_manager", |
290 "//net", | 287 "//net", |
291 "//skia", | 288 "//skia", |
292 "//third_party/icu", | 289 "//third_party/icu", |
293 "//ui/app_list/presenter", | 290 "//ui/app_list/presenter", |
294 "//ui/aura", | 291 "//ui/aura", |
295 "//ui/base", | 292 "//ui/base", |
296 "//ui/base/ime", | 293 "//ui/base/ime", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 sources = gypi_values.ash_unittests_sources | 341 sources = gypi_values.ash_unittests_sources |
345 configs += [ "//build/config:precompiled_headers" ] | 342 configs += [ "//build/config:precompiled_headers" ] |
346 | 343 |
347 deps = [ | 344 deps = [ |
348 ":ash", | 345 ":ash", |
349 ":ash_with_content", | 346 ":ash_with_content", |
350 ":test_support", | 347 ":test_support", |
351 ":test_support_with_content", | 348 ":test_support_with_content", |
352 "//ash/resources", | 349 "//ash/resources", |
353 "//ash/strings", | 350 "//ash/strings", |
354 "//ash/wm/common/resources", | |
355 "//base", | 351 "//base", |
356 "//base/test:test_support", | 352 "//base/test:test_support", |
357 "//components/signin/core/account_id", | 353 "//components/signin/core/account_id", |
358 "//components/user_manager", | 354 "//components/user_manager", |
359 "//content/public/browser", | 355 "//content/public/browser", |
360 "//content/test:test_support", | 356 "//content/test:test_support", |
361 "//skia", | 357 "//skia", |
362 "//testing/gtest", | 358 "//testing/gtest", |
363 "//third_party/icu", | 359 "//third_party/icu", |
364 "//ui/accessibility", | 360 "//ui/accessibility", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 configs += [ "//build/config/win:windowed" ] | 478 configs += [ "//build/config/win:windowed" ] |
483 deps += [ "//sandbox" ] | 479 deps += [ "//sandbox" ] |
484 } | 480 } |
485 | 481 |
486 if (is_chromeos) { | 482 if (is_chromeos) { |
487 deps += [ "//device/bluetooth" ] | 483 deps += [ "//device/bluetooth" ] |
488 } | 484 } |
489 } | 485 } |
490 # When adding support for isolates, please have a look at run-time dependencies | 486 # When adding support for isolates, please have a look at run-time dependencies |
491 # in the ash_unittests_run target in ash.gyp. | 487 # in the ash_unittests_run target in ash.gyp. |
OLD | NEW |