OLD | NEW |
---|---|
(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 } | |
OLD | NEW |