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

Side by Side Diff: components/ui_devtools/views/BUILD.gn

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: . Created 3 years, 6 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 | « components/ui_devtools/string_util.h ('k') | components/ui_devtools/views/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 import("//build/config/ui.gni")
2
3 source_set("views") {
4 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
5
6 cflags = []
7 if (is_win) {
8 cflags += [ "/wd4800" ] # Value forced to bool.
9 }
10
11 sources = [
12 "ui_devtools_css_agent.cc",
13 "ui_devtools_css_agent.h",
14 "ui_devtools_dom_agent.cc",
15 "ui_devtools_dom_agent.h",
16 "ui_element.cc",
17 "ui_element.h",
18 "ui_element_delegate.h",
19 "view_element.cc",
20 "view_element.h",
21 "widget_element.cc",
22 "widget_element.h",
23 "window_element.cc",
24 "window_element.h",
25 ]
26
27 deps = [
28 "//components/ui_devtools",
29 "//skia",
30 "//ui/aura",
31 "//ui/views",
32 "//ui/wm:wm",
33 ]
34 }
35
36 source_set("unit_tests") {
37 testonly = true
38
39 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
40
41 cflags = []
42 if (is_win) {
43 cflags += [ "/wd4800" ] # Value forced to bool.
44 }
45
46 sources = [
47 "ui_devtools_unittest.cc",
48 ]
49
50 deps = [
51 ":views",
52 "//components/ui_devtools",
sadrul 2017/06/08 22:08:01 Can you remove this dependency, and remove the UI_
thanhph 2017/06/14 01:35:53 Done, thanks! I use component build as we discusse
53 "//skia",
54 "//testing/gtest",
55 "//ui/aura",
56 "//ui/views",
57 "//ui/views:test_support",
58 "//ui/wm:wm",
59 ]
60
61 configs += [ "//build/config:precompiled_headers" ]
62 }
OLDNEW
« no previous file with comments | « components/ui_devtools/string_util.h ('k') | components/ui_devtools/views/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698