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.
8 'external_ozone_platforms': [],
9 'external_ozone_platform_files': [],
10 'external_ozone_platform_deps': [],
11 'internal_ozone_platforms': [],
12 'internal_ozone_platform_deps': [],
16 'target_name': 'ozone',
17 'type': '<(component)',
19 '<(DEPTH)/base/base.gyp:base',
20 '<(DEPTH)/ui/events/events.gyp:events',
21 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone',
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
24 '<(DEPTH)/ui/gfx/ozone/gfx_ozone.gyp:gfx_ozone',
25 '<(DEPTH)/skia/skia.gyp:skia',
26 '<@(external_ozone_platform_deps)',
27 '<@(internal_ozone_platform_deps)',
30 'OZONE_IMPLEMENTATION',
33 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platform_list.cc',
35 '<@(external_ozone_platforms)',
36 '<@(internal_ozone_platforms)',
40 '<(platform_list_file)',
41 # common/chromeos files are excluded automatically when building with
42 # chromeos=0, by exclusion rules in filename_rules.gypi due to the
43 # 'chromeos' folder name.
44 'common/chromeos/native_display_delegate_ozone.cc',
45 'common/chromeos/native_display_delegate_ozone.h',
50 '<@(external_ozone_platform_files)',
54 'action_name': 'generate_ozone_platform_list',
56 'generator_path': 'generate_ozone_platform_list.py',
62 '<(platform_list_file)',
67 '--output_file=<(platform_list_file)',
68 '--default=<(ozone_platform)',
69 '<@(ozone_platforms)',
76 ['exclude', '_udev\\.(h|cc)$'],
81 '<(DEPTH)/ui/display/display.gyp:display_types',
88 ['<(ozone_platform_caca) == 1', {
90 'platform/caca/caca.gypi',
93 ['<(ozone_platform_dri) == 1', {
95 'platform/dri/dri.gypi',
98 ['<(ozone_platform_egltest) == 1', {
100 'platform/egltest/egltest.gypi',
103 ['<(ozone_platform_test) == 1', {
105 'platform/test/test.gypi',