Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: ui/display/display.gyp

Issue 2306743002: Nukes the gyp/gypi files in ui (Closed)
Patch Set: keep webui Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/content_accelerators/ui_content_accelerators.gyp ('k') | ui/events/blink/events_blink.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display.gyp
diff --git a/ui/display/display.gyp b/ui/display/display.gyp
deleted file mode 100644
index d0f82b7e1522355a4f8fbea6430a0da9308112dc..0000000000000000000000000000000000000000
--- a/ui/display/display.gyp
+++ /dev/null
@@ -1,294 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'chromium_code': 1,
- },
- 'targets': [
- {
- # GN version: //ui/display/types
- 'target_name': 'display_types',
- 'type': '<(component)',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- ],
- 'defines': [
- 'DISPLAY_TYPES_IMPLEMENTATION',
- ],
- 'sources': [
- # Note: file list duplicated in GN build.
- 'types/display_constants.h',
- 'types/display_mode.cc',
- 'types/display_mode.h',
- 'types/display_snapshot.cc',
- 'types/display_snapshot.h',
- 'types/display_types_export.h',
- 'types/gamma_ramp_rgb_entry.h',
- 'types/native_display_delegate.h',
- 'types/native_display_observer.h',
- ],
- },
- {
- # GN version: //ui/display
- 'target_name': 'display',
- 'type': '<(component)',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../ui/gfx/gfx.gyp:gfx',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- 'display_util',
- ],
- 'defines': [
- 'DISPLAY_IMPLEMENTATION',
- ],
- 'sources': [
- # Note: file list duplicated in GN build.
- 'android/screen_android.cc',
- 'chromeos/apply_content_protection_task.cc',
- 'chromeos/apply_content_protection_task.h',
- 'chromeos/configure_displays_task.cc',
- 'chromeos/configure_displays_task.h',
- 'chromeos/display_configurator.cc',
- 'chromeos/display_configurator.h',
- 'chromeos/display_layout_manager.h',
- 'chromeos/display_snapshot_virtual.cc',
- 'chromeos/display_snapshot_virtual.h',
- 'chromeos/display_util.cc',
- 'chromeos/display_util.h',
- 'chromeos/query_content_protection_task.cc',
- 'chromeos/query_content_protection_task.h',
- 'chromeos/update_display_configuration_task.cc',
- 'chromeos/update_display_configuration_task.h',
- 'chromeos/x11/display_mode_x11.cc',
- 'chromeos/x11/display_mode_x11.h',
- 'chromeos/x11/display_snapshot_x11.cc',
- 'chromeos/x11/display_snapshot_x11.h',
- 'chromeos/x11/display_util_x11.cc',
- 'chromeos/x11/display_util_x11.h',
- 'chromeos/x11/native_display_delegate_x11.cc',
- 'chromeos/x11/native_display_delegate_x11.h',
- 'chromeos/x11/native_display_event_dispatcher_x11.cc',
- 'chromeos/x11/native_display_event_dispatcher_x11.h',
- 'display.cc',
- 'display.h',
- 'display_change_notifier.cc',
- 'display_change_notifier.h',
- 'display_export.h',
- 'display_finder.cc',
- 'display_finder.h',
- 'display_observer.cc',
- 'display_observer.h',
- 'display_switches.cc',
- 'display_switches.h',
- 'ios/screen_ios.mm',
- 'mac/screen_mac.mm',
- 'manager/display_layout.cc',
- 'manager/display_layout.h',
- 'manager/display_layout_builder.cc',
- 'manager/display_layout_builder.h',
- 'screen.cc',
- 'screen.h',
- 'screen_aura.cc',
- 'win/display_info.cc',
- 'win/display_info.h',
- 'win/dpi.cc',
- 'win/dpi.h',
- 'win/scaling_util.cc',
- 'win/scaling_util.h',
- 'win/screen_win.cc',
- 'win/screen_win.h',
- 'win/screen_win_display.cc',
- 'win/screen_win_display.h',
- ],
- 'conditions': [
- ['use_x11 == 1', {
- 'dependencies': [
- '../../build/linux/system.gyp:x11',
- '../../build/linux/system.gyp:xext',
- '../../build/linux/system.gyp:xi',
- '../../build/linux/system.gyp:xrandr',
- '../../ui/events/platform/events_platform.gyp:events_platform',
- ],
- }],
- ['chromeos == 1', {
- 'dependencies': [
- 'display_types',
- ],
- }],
- ['chromeos == 1 and use_x11 == 1', {
- 'dependencies': [
- '../gfx/x/gfx_x11.gyp:gfx_x11',
- ],
- }],
- ['OS=="android" and use_aura==1', {
- 'sources!': [
- 'android/screen_android.cc',
- ],
- }],
- ],
- },
- {
- # GN version: //ui/display/util
- 'target_name': 'display_util',
- 'type': '<(component)',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- ],
- 'defines': [
- 'DISPLAY_UTIL_IMPLEMENTATION',
- ],
- 'sources': [
- # Note: file list shared with GN build.
- 'util/display_util.cc',
- 'util/display_util.h',
- 'util/display_util_export.h',
- 'util/edid_parser.cc',
- 'util/edid_parser.h',
- 'util/x11/edid_parser_x11.cc',
- 'util/x11/edid_parser_x11.h',
- ],
- 'conditions': [
- ['use_x11 == 1', {
- 'dependencies': [
- '../../build/linux/system.gyp:x11',
- '../../build/linux/system.gyp:xrandr',
- '../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
- ],
- }],
- ['chromeos == 1', {
- 'dependencies': [
- 'display_types',
- ],
- }],
- ],
- },
- {
- # Used to share stubs with code outside ui/display
- #
- # GN version: //ui/display:test_util
- 'target_name': 'display_test_util',
- 'type': '<(component)',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../ui/gfx/gfx.gyp:gfx',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- ],
- 'defines': [
- 'DISPLAY_IMPLEMENTATION',
- ],
- 'sources': [
- # Note: file list duplicated in GN build.
- 'chromeos/test/test_display_snapshot.cc',
- 'chromeos/test/test_display_snapshot.h',
- ],
- 'conditions': [
- ['chromeos == 1', {
- 'dependencies': [
- 'display_types',
- ],
- }],
- ],
- },
- # Internal utilities used by display_unittests
- {
- 'target_name': 'display_test_support',
- 'type': 'static_library',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../ui/gfx/gfx.gyp:gfx',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- ],
- 'sources': [
- 'chromeos/test/action_logger.cc',
- 'chromeos/test/action_logger.h',
- 'chromeos/test/action_logger_util.cc',
- 'chromeos/test/action_logger_util.h',
- 'chromeos/test/test_display_layout_manager.cc',
- 'chromeos/test/test_display_layout_manager.h',
- 'chromeos/test/test_native_display_delegate.cc',
- 'chromeos/test/test_native_display_delegate.h',
- 'test/display_test_util.h',
- 'test/test_screen.cc',
- 'test/test_screen.h',
- 'win/test/screen_util_win.h',
- 'win/test/screen_util_win.cc',
- ],
- },
- {
- # GN version: //ui/display:display_unittests
- 'target_name': 'display_unittests',
- 'type': 'executable',
- 'dependencies': [
- '../../base/base.gyp:run_all_unittests',
- '../../testing/gtest.gyp:gtest',
- '../../ui/gfx/gfx.gyp:gfx_geometry',
- '../../ui/gfx/gfx.gyp:gfx_test_support',
- 'display',
- 'display_util',
- ],
- 'include_dirs': [
- '../..',
- ],
- 'sources': [
- 'chromeos/apply_content_protection_task_unittest.cc',
- 'chromeos/configure_displays_task_unittest.cc',
- 'chromeos/display_configurator_unittest.cc',
- 'chromeos/query_content_protection_task_unittest.cc',
- 'chromeos/update_display_configuration_task_unittest.cc',
- 'chromeos/x11/display_util_x11_unittest.cc',
- 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc',
- 'display_change_notifier_unittest.cc',
- 'display_unittest.cc',
- 'manager/display_layout_builder_unittest.cc',
- 'manager/display_layout_unittest.cc',
- 'screen_unittest.cc',
- 'util/display_util_unittest.cc',
- 'util/edid_parser_unittest.cc',
- 'win/scaling_util_unittest.cc',
- 'win/screen_win_unittest.cc',
- ],
- 'conditions': [
- ['chromeos == 1', {
- 'dependencies': [
- 'display_test_support',
- 'display_test_util',
- 'display_types',
- ],
- }],
- ['use_aura==1', {
- 'sources!': [
- 'screen_unittest.cc',
- ],
- }],
- ['OS=="win"', {
- 'dependencies': [
- 'display_test_support',
- ]
- }],
- ],
- },
- ],
- 'conditions': [
- ['test_isolation_mode != "noop"', {
- 'targets': [
- {
- 'target_name': 'display_unittests_run',
- 'type': 'none',
- 'dependencies': [
- 'display_unittests',
- ],
- 'includes': [
- '../../build/isolate.gypi',
- ],
- 'sources': [
- 'display_unittests.isolate',
- ],
- },
- ],
- }],
- ],
-}
« no previous file with comments | « ui/content_accelerators/ui_content_accelerators.gyp ('k') | ui/events/blink/events_blink.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698