OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ui.gni") |
| 6 |
| 7 source_set("views") { |
| 8 cflags = [] |
| 9 if (is_win) { |
| 10 cflags += [ "/wd4800" ] # Value forced to bool. |
| 11 } |
| 12 |
| 13 sources = [ |
| 14 "ui_devtools_css_agent.cc", |
| 15 "ui_devtools_css_agent.h", |
| 16 "ui_devtools_dom_agent.cc", |
| 17 "ui_devtools_dom_agent.h", |
| 18 "ui_element.cc", |
| 19 "ui_element.h", |
| 20 "ui_element_delegate.h", |
| 21 "view_element.cc", |
| 22 "view_element.h", |
| 23 "widget_element.cc", |
| 24 "widget_element.h", |
| 25 "window_element.cc", |
| 26 "window_element.h", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 "//components/ui_devtools", |
| 31 "//skia", |
| 32 "//ui/aura", |
| 33 "//ui/views", |
| 34 "//ui/wm:wm", |
| 35 ] |
| 36 } |
| 37 |
| 38 source_set("unit_tests") { |
| 39 testonly = true |
| 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", |
| 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 |