OLD | NEW |
---|---|
(Empty) | |
1 import("//build/config/ui.gni") | |
2 | |
3 source_set("devtools") { | |
sadrul
2017/06/05 21:37:42
Rename this directory: //components/ui_devtools/vi
thanhph
2017/06/06 20:45:53
Done.
| |
4 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ] | |
sadrul
2017/06/05 21:37:42
You should not need this.
thanhph
2017/06/06 20:45:53
We need this to compile the code in window. You ca
| |
5 | |
6 cflags = [] | |
7 if (is_win) { | |
8 cflags += [ "/wd4800" ] # Value forced to bool. | |
9 } | |
10 if (toolkit_views && use_aura) { | |
sadrul
2017/06/05 21:37:42
Don't need these checks here.
thanhph
2017/06/06 20:45:53
Done.
| |
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 deps = [ | |
27 "//components/ui_devtools", | |
28 "//skia", | |
29 "//ui/aura", | |
30 "//ui/views", | |
31 "//ui/wm:wm", | |
32 ] | |
33 } | |
34 } | |
35 | |
36 source_set("unit_tests") { | |
37 testonly = true | |
38 | |
39 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ] | |
sadrul
2017/06/05 21:37:42
You should not need this.
thanhph
2017/06/06 20:45:53
We need this to compile the code in window.
| |
40 | |
41 cflags = [] | |
42 if (is_win) { | |
43 cflags += [ "/wd4800" ] # Value forced to bool. | |
44 } | |
45 if (toolkit_views && use_aura) { | |
sadrul
2017/06/05 21:37:42
Don't need these checks here.
thanhph
2017/06/06 20:45:53
Done.
| |
46 sources = [ | |
47 "ui_devtools_unittest.cc", | |
48 ] | |
49 deps = [ | |
50 ":devtools", | |
51 "//components/ui_devtools", | |
52 "//skia", | |
53 "//testing/gtest", | |
54 "//ui/aura", | |
55 "//ui/views", | |
56 "//ui/views:test_support", | |
57 "//ui/wm:wm", | |
58 ] | |
59 } | |
60 configs += [ "//build/config:precompiled_headers" ] | |
61 } | |
OLD | NEW |