OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'external_ozone_platforms': [], | 8 'external_ozone_platforms': [], |
9 'external_ozone_platform_files': [], | 9 'external_ozone_platform_files': [], |
10 'external_ozone_platform_deps': [], | 10 'external_ozone_platform_deps': [], |
(...skipping 14 matching lines...) Expand all Loading... |
25 'OZONE_IMPLEMENTATION', | 25 'OZONE_IMPLEMENTATION', |
26 ], | 26 ], |
27 'variables': { | 27 'variables': { |
28 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', | 28 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', |
29 'ozone_platforms': [ | 29 'ozone_platforms': [ |
30 '<@(external_ozone_platforms)', | 30 '<@(external_ozone_platforms)', |
31 ], | 31 ], |
32 }, | 32 }, |
33 'sources': [ | 33 'sources': [ |
34 '<(platform_list_file)', | 34 '<(platform_list_file)', |
| 35 # common/chromeos files are excluded automatically when building with |
| 36 # chromeos=0, by exclusion rules in filename_rules.gypi due to the |
| 37 # 'chromeos' folder name. |
| 38 'common/chromeos/native_display_delegate_ozone.cc', |
| 39 'common/chromeos/native_display_delegate_ozone.h', |
35 'ozone_platform.cc', | 40 'ozone_platform.cc', |
36 'ozone_platform.h', | 41 'ozone_platform.h', |
37 'ozone_switches.cc', | 42 'ozone_switches.cc', |
38 'ozone_switches.h', | 43 'ozone_switches.h', |
39 'platform/dri/ozone_platform_dri.cc', | 44 'platform/dri/ozone_platform_dri.cc', |
40 'platform/dri/ozone_platform_dri.h', | 45 'platform/dri/ozone_platform_dri.h', |
41 'platform/dri/cursor_factory_evdev_dri.cc', | 46 'platform/dri/cursor_factory_evdev_dri.cc', |
42 'platform/dri/cursor_factory_evdev_dri.h', | 47 'platform/dri/cursor_factory_evdev_dri.h', |
43 'platform/test/ozone_platform_test.cc', | 48 'platform/test/ozone_platform_test.cc', |
44 'platform/test/ozone_platform_test.h', | 49 'platform/test/ozone_platform_test.h', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 'variables': { | 90 'variables': { |
86 'ozone_platforms': [ | 91 'ozone_platforms': [ |
87 'test' | 92 'test' |
88 ], | 93 ], |
89 } | 94 } |
90 }, { # ozone_platform_test==0 | 95 }, { # ozone_platform_test==0 |
91 'sources/': [ | 96 'sources/': [ |
92 ['exclude', '^platform/test/'], | 97 ['exclude', '^platform/test/'], |
93 ] | 98 ] |
94 }], | 99 }], |
| 100 ['chromeos==1', { |
| 101 'dependencies': [ |
| 102 '<(DEPTH)/ui/display/display.gyp:display_types', |
| 103 ], |
| 104 }], |
95 ] | 105 ] |
96 }, | 106 }, |
97 ], | 107 ], |
98 } | 108 } |
OLD | NEW |