OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 'external_ozone_platform_files': [], | |
9 'external_ozone_platform_deps': [], | |
10 }, | |
11 'targets': [ | |
12 { | |
13 'target_name': 'ozone', | |
14 'type': '<(component)', | |
15 'dependencies': [ | |
16 '<(DEPTH)/base/base.gyp:base', | |
17 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
18 '<(DEPTH)/skia/skia.gyp:skia', | |
19 '<@(external_ozone_platform_deps)', | |
20 ], | |
21 'defines': [ | |
22 'OZONE_IMPLEMENTATION', | |
23 ], | |
24 'sources': [ | |
25 'ozone_platform.cc', | |
26 'ozone_platform.h', | |
27 'ozone_switches.cc', | |
28 'ozone_switches.h', | |
29 'platform/dri/ozone_platform_dri.cc', | |
30 'platform/dri/ozone_platform_dri.h', | |
31 'platform/test/ozone_platform_test.cc', | |
32 'platform/test/ozone_platform_test.h', | |
33 '<@(external_ozone_platform_files)', | |
34 ], | |
35 'conditions': [ | |
36 ['ozone_platform != "dri"', { | |
37 'sources/': [ | |
38 ['exclude', '^platform/dri/'], | |
rjkroege
2013/10/28 15:48:19
you will explain to me in the fullness of time how
spang
2013/10/28 16:01:41
Maybe we can discuss on the new ozone-dev list.
| |
39 ] | |
40 }], | |
41 ['ozone_platform != "test"', { | |
42 'sources/': [ | |
43 ['exclude', '^platform/test/'], | |
44 ] | |
45 }], | |
46 ] | |
47 }, | |
48 ], | |
49 } | |
OLD | NEW |