Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: ash/BUILD.gn

Issue 2118223004: ash: Refactor touch hud drawing to ash/touch_hud as a separate component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a comment. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ash/touch/touch_hud_projection.h » ('j') | ash/touch/touch_hud_projection.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/touch_hud",
sadrul 2016/07/11 18:41:05 This shouldn't need to be a public-dependency.
riajiang 2016/07/11 20:39:34 Done.
27 ] 28 ]
28 deps = [ 29 deps = [
29 "//base", 30 "//base",
30 "//base:i18n", 31 "//base:i18n",
31 "//base/third_party/dynamic_annotations", 32 "//base/third_party/dynamic_annotations",
32 "//cc", 33 "//cc",
33 "//components/device_event_log", 34 "//components/device_event_log",
34 "//components/onc", 35 "//components/onc",
35 "//components/signin/core/account_id", 36 "//components/signin/core/account_id",
36 "//components/user_manager", 37 "//components/user_manager",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 testonly = true 186 testonly = true
186 sources = gypi_values.ash_test_support_sources 187 sources = gypi_values.ash_test_support_sources
187 configs += [ "//build/config:precompiled_headers" ] 188 configs += [ "//build/config:precompiled_headers" ]
188 189
189 public_deps = [ 190 public_deps = [
190 ":ash", 191 ":ash",
191 ] 192 ]
192 deps = [ 193 deps = [
193 ":test_support_with_content", # TODO(beng): reverse this direction. 194 ":test_support_with_content", # TODO(beng): reverse this direction.
194 "//ash/resources", 195 "//ash/resources",
196 "//ash/touch_hud",
195 "//base:i18n", 197 "//base:i18n",
196 "//base/test:test_support", 198 "//base/test:test_support",
197 "//components/signin/core/account_id", 199 "//components/signin/core/account_id",
198 "//components/user_manager:user_manager", 200 "//components/user_manager:user_manager",
199 "//content/public/browser", 201 "//content/public/browser",
200 "//content/test:test_support", 202 "//content/test:test_support",
201 "//device/bluetooth", 203 "//device/bluetooth",
202 "//skia", 204 "//skia",
203 "//testing/gtest", 205 "//testing/gtest",
204 "//ui/accessibility", 206 "//ui/accessibility",
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 configs += [ "//build/config/win:windowed" ] 482 configs += [ "//build/config/win:windowed" ]
481 deps += [ "//sandbox" ] 483 deps += [ "//sandbox" ]
482 } 484 }
483 485
484 if (is_chromeos) { 486 if (is_chromeos) {
485 deps += [ "//device/bluetooth" ] 487 deps += [ "//device/bluetooth" ]
486 } 488 }
487 } 489 }
488 # When adding support for isolates, please have a look at run-time dependencies 490 # When adding support for isolates, please have a look at run-time dependencies
489 # in the ash_unittests_run target in ash.gyp. 491 # in the ash_unittests_run target in ash.gyp.
OLDNEW
« no previous file with comments | « no previous file | ash/touch/touch_hud_projection.h » ('j') | ash/touch/touch_hud_projection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698