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)/ui/events/events.gyp:events', |
| 19 '<(DEPTH)/skia/skia.gyp:skia', |
| 20 '<@(external_ozone_platform_deps)', |
| 21 ], |
| 22 'defines': [ |
| 23 'OZONE_IMPLEMENTATION', |
| 24 ], |
| 25 'sources': [ |
| 26 'ozone_platform.cc', |
| 27 'ozone_platform.h', |
| 28 'ozone_switches.cc', |
| 29 'ozone_switches.h', |
| 30 'platform/dri/ozone_platform_dri.cc', |
| 31 'platform/dri/ozone_platform_dri.h', |
| 32 'platform/test/ozone_platform_test.cc', |
| 33 'platform/test/ozone_platform_test.h', |
| 34 '<@(external_ozone_platform_files)', |
| 35 ], |
| 36 'conditions': [ |
| 37 ['ozone_platform != "dri"', { |
| 38 'sources/': [ |
| 39 ['exclude', '^platform/dri/'], |
| 40 ] |
| 41 }], |
| 42 ['ozone_platform != "test"', { |
| 43 'sources/': [ |
| 44 ['exclude', '^platform/test/'], |
| 45 ] |
| 46 }], |
| 47 ] |
| 48 }, |
| 49 ], |
| 50 } |
OLD | NEW |