| 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': [], |
| 11 }, | 11 }, |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'ozone', | 14 'target_name': 'ozone', |
| 15 'type': '<(component)', | 15 'type': '<(component)', |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '<(DEPTH)/base/base.gyp:base', | 17 '<(DEPTH)/base/base.gyp:base', |
| 18 '<(DEPTH)/media/media.gyp:media_types', |
| 18 '<(DEPTH)/ui/events/events.gyp:events', | 19 '<(DEPTH)/ui/events/events.gyp:events', |
| 19 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
| 20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 21 '<(DEPTH)/skia/skia.gyp:skia', | 22 '<(DEPTH)/skia/skia.gyp:skia', |
| 22 '<@(external_ozone_platform_deps)', | 23 '<@(external_ozone_platform_deps)', |
| 23 ], | 24 ], |
| 24 'defines': [ | 25 'defines': [ |
| 25 'OZONE_IMPLEMENTATION', | 26 'OZONE_IMPLEMENTATION', |
| 26 ], | 27 ], |
| 27 'variables': { | 28 'variables': { |
| 28 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', | 29 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', |
| 29 'ozone_platforms': [ | 30 'ozone_platforms': [ |
| 30 '<@(external_ozone_platforms)', | 31 '<@(external_ozone_platforms)', |
| 31 ], | 32 ], |
| 32 }, | 33 }, |
| 33 'sources': [ | 34 'sources': [ |
| 34 '<(platform_list_file)', | 35 '<(platform_list_file)', |
| 35 # common/chromeos files are excluded automatically when building with | 36 # common/chromeos files are excluded automatically when building with |
| 36 # chromeos=0, by exclusion rules in filename_rules.gypi due to the | 37 # chromeos=0, by exclusion rules in filename_rules.gypi due to the |
| 37 # 'chromeos' folder name. | 38 # 'chromeos' folder name. |
| 38 'common/chromeos/native_display_delegate_ozone.cc', | 39 'common/chromeos/native_display_delegate_ozone.cc', |
| 39 'common/chromeos/native_display_delegate_ozone.h', | 40 'common/chromeos/native_display_delegate_ozone.h', |
| 41 'media/video_decode_factory_ozone.cc', |
| 42 'media/video_decode_factory_ozone.h', |
| 40 'ozone_platform.cc', | 43 'ozone_platform.cc', |
| 41 'ozone_platform.h', | 44 'ozone_platform.h', |
| 42 'ozone_switches.cc', | 45 'ozone_switches.cc', |
| 43 'ozone_switches.h', | 46 'ozone_switches.h', |
| 44 'platform/dri/chromeos/display_mode_dri.cc', | 47 'platform/dri/chromeos/display_mode_dri.cc', |
| 45 'platform/dri/chromeos/display_mode_dri.h', | 48 'platform/dri/chromeos/display_mode_dri.h', |
| 46 'platform/dri/chromeos/display_snapshot_dri.cc', | 49 'platform/dri/chromeos/display_snapshot_dri.cc', |
| 47 'platform/dri/chromeos/display_snapshot_dri.h', | 50 'platform/dri/chromeos/display_snapshot_dri.h', |
| 48 'platform/dri/chromeos/native_display_delegate_dri.cc', | 51 'platform/dri/chromeos/native_display_delegate_dri.cc', |
| 49 'platform/dri/chromeos/native_display_delegate_dri.h', | 52 'platform/dri/chromeos/native_display_delegate_dri.h', |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 }], | 131 }], |
| 129 ['use_udev == 0', { | 132 ['use_udev == 0', { |
| 130 'sources/': [ | 133 'sources/': [ |
| 131 ['exclude', '_udev\\.(h|cc)$'], | 134 ['exclude', '_udev\\.(h|cc)$'], |
| 132 ], | 135 ], |
| 133 }], | 136 }], |
| 134 ] | 137 ] |
| 135 }, | 138 }, |
| 136 ], | 139 ], |
| 137 } | 140 } |
| OLD | NEW |