OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 26 matching lines...) Expand all Loading... |
37 'native_theme_base.h', | 37 'native_theme_base.h', |
38 'native_theme_mac.h', | 38 'native_theme_mac.h', |
39 'native_theme_mac.mm', | 39 'native_theme_mac.mm', |
40 'native_theme_observer.cc', | 40 'native_theme_observer.cc', |
41 'native_theme_observer.h', | 41 'native_theme_observer.h', |
42 'native_theme_switches.cc', | 42 'native_theme_switches.cc', |
43 'native_theme_switches.h', | 43 'native_theme_switches.h', |
44 'native_theme_win.cc', | 44 'native_theme_win.cc', |
45 'native_theme_win.h', | 45 'native_theme_win.h', |
46 ], | 46 ], |
| 47 'conditions': [ |
| 48 ['OS=="win"', { |
| 49 'sources': [ |
| 50 'native_theme_win_dark.cc', |
| 51 'native_theme_win_dark.h', |
| 52 ], |
| 53 }], |
| 54 ['use_aura==1', { |
| 55 'sources': [ |
| 56 'native_theme_aura_dark.cc', |
| 57 'native_theme_aura_dark.h', |
| 58 ], |
| 59 }], |
| 60 ], |
47 }, | 61 }, |
48 { | 62 { |
49 'target_name': 'native_theme_unittests', | 63 'target_name': 'native_theme_unittests', |
50 'type': '<(gtest_target_type)', | 64 'type': '<(gtest_target_type)', |
51 'dependencies': [ | 65 'dependencies': [ |
52 '../../base/base.gyp:base', | 66 '../../base/base.gyp:base', |
53 '../../base/base.gyp:test_support_base', | 67 '../../base/base.gyp:test_support_base', |
54 '../../skia/skia.gyp:skia', | 68 '../../skia/skia.gyp:skia', |
55 '../../testing/gtest.gyp:gtest', | 69 '../../testing/gtest.gyp:gtest', |
56 'native_theme', | 70 'native_theme', |
57 ], | 71 ], |
58 'sources': [ | 72 'sources': [ |
59 '../../base/test/run_all_unittests.cc', | 73 '../../base/test/run_all_unittests.cc', |
60 'native_theme_mac_unittest.cc', | 74 'native_theme_mac_unittest.cc', |
61 ], | 75 ], |
62 }, | 76 }, |
63 ], | 77 ], |
64 } | 78 } |
OLD | NEW |