| OLD | NEW |
| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("native_theme") { | 8 component("native_theme") { |
| 9 sources = [ | 9 sources = [ |
| 10 "common_theme.cc", | 10 "common_theme.cc", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 ] | 53 ] |
| 54 } | 54 } |
| 55 } | 55 } |
| 56 | 56 |
| 57 if (is_win) { | 57 if (is_win) { |
| 58 component("native_theme_browser") { | 58 component("native_theme_browser") { |
| 59 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] | 59 defines = [ "NATIVE_THEME_IMPLEMENTATION" ] |
| 60 | 60 |
| 61 # These files cannot work in the renderer on Windows. | 61 # These files cannot work in the renderer on Windows. |
| 62 sources = [ | 62 sources = [ |
| 63 "native_theme_dark_win.cc", | |
| 64 "native_theme_dark_win.h", | |
| 65 "native_theme_win.cc", | 63 "native_theme_win.cc", |
| 66 "native_theme_win.h", | 64 "native_theme_win.h", |
| 67 ] | 65 ] |
| 68 | 66 |
| 69 deps = [ | 67 deps = [ |
| 70 ":native_theme", | 68 ":native_theme", |
| 71 "//base", | 69 "//base", |
| 72 "//ui/base", | 70 "//ui/base", |
| 73 "//ui/display", | 71 "//ui/display", |
| 74 "//ui/gfx", | 72 "//ui/gfx", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 93 deps = [ | 91 deps = [ |
| 94 ":native_theme", | 92 ":native_theme", |
| 95 "//base/test:run_all_unittests", | 93 "//base/test:run_all_unittests", |
| 96 "//base/test:test_support", | 94 "//base/test:test_support", |
| 97 "//skia:skia", | 95 "//skia:skia", |
| 98 "//testing/gtest", | 96 "//testing/gtest", |
| 99 "//ui/base", | 97 "//ui/base", |
| 100 "//ui/gfx/geometry:geometry", | 98 "//ui/gfx/geometry:geometry", |
| 101 ] | 99 ] |
| 102 } | 100 } |
| OLD | NEW |