OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
| 11 # GN version: //ui/base |
11 'target_name': 'ui_base', | 12 'target_name': 'ui_base', |
12 'type': '<(component)', | 13 'type': '<(component)', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
15 '../../base/base.gyp:base_i18n', | 16 '../../base/base.gyp:base_i18n', |
16 '../../base/base.gyp:base_static', | 17 '../../base/base.gyp:base_static', |
17 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 18 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
18 '../../net/net.gyp:net', | 19 '../../net/net.gyp:net', |
19 '../../skia/skia.gyp:skia', | 20 '../../skia/skia.gyp:skia', |
20 '../../third_party/icu/icu.gyp:icui18n', | 21 '../../third_party/icu/icu.gyp:icui18n', |
21 '../../third_party/icu/icu.gyp:icuuc', | 22 '../../third_party/icu/icu.gyp:icuuc', |
22 '../../url/url.gyp:url_lib', | 23 '../../url/url.gyp:url_lib', |
23 '../events/events.gyp:events_base', | 24 '../events/events.gyp:events_base', |
24 '../events/platform/events_platform.gyp:events_platform', | 25 '../events/platform/events_platform.gyp:events_platform', |
25 '../gfx/gfx.gyp:gfx', | 26 '../gfx/gfx.gyp:gfx', |
26 '../gfx/gfx.gyp:gfx_geometry', | 27 '../gfx/gfx.gyp:gfx_geometry', |
27 '../resources/ui_resources.gyp:ui_resources', | 28 '../resources/ui_resources.gyp:ui_resources', |
28 '../strings/ui_strings.gyp:ui_strings', | 29 '../strings/ui_strings.gyp:ui_strings', |
29 ], | 30 ], |
30 'defines': [ | 31 'defines': [ |
31 'UI_BASE_IMPLEMENTATION', | 32 'UI_BASE_IMPLEMENTATION', |
32 ], | 33 ], |
33 'export_dependent_settings': [ | 34 'export_dependent_settings': [ |
34 '../../net/net.gyp:net', | 35 '../../net/net.gyp:net', |
35 '../gfx/gfx.gyp:gfx', | 36 '../gfx/gfx.gyp:gfx', |
36 ], | 37 ], |
37 'sources' : [ | 38 'sources' : [ |
| 39 # Note: file list duplicated in GN build. |
38 'accelerators/accelerator.cc', | 40 'accelerators/accelerator.cc', |
39 'accelerators/accelerator.h', | 41 'accelerators/accelerator.h', |
40 'accelerators/accelerator_manager.cc', | 42 'accelerators/accelerator_manager.cc', |
41 'accelerators/accelerator_manager.h', | 43 'accelerators/accelerator_manager.h', |
42 'accelerators/menu_label_accelerator_util_linux.cc', | 44 'accelerators/menu_label_accelerator_util_linux.cc', |
43 'accelerators/menu_label_accelerator_util_linux.h', | 45 'accelerators/menu_label_accelerator_util_linux.h', |
44 'accelerators/platform_accelerator.h', | 46 'accelerators/platform_accelerator.h', |
45 'accelerators/platform_accelerator_cocoa.h', | 47 'accelerators/platform_accelerator_cocoa.h', |
46 'accelerators/platform_accelerator_cocoa.mm', | 48 'accelerators/platform_accelerator_cocoa.mm', |
47 'android/ui_base_jni_registrar.cc', | 49 'android/ui_base_jni_registrar.cc', |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 }], | 575 }], |
574 ['use_system_icu==1', { | 576 ['use_system_icu==1', { |
575 # When using the system icu, the icu targets generate shim headers | 577 # When using the system icu, the icu targets generate shim headers |
576 # which are included by public headers in the ui target, so we need | 578 # which are included by public headers in the ui target, so we need |
577 # ui to be a hard dependency for all its users. | 579 # ui to be a hard dependency for all its users. |
578 'hard_dependency': 1, | 580 'hard_dependency': 1, |
579 }], | 581 }], |
580 ], | 582 ], |
581 }, | 583 }, |
582 { | 584 { |
| 585 # GN version: //ui/base:test_support |
583 'target_name': 'ui_base_test_support', | 586 'target_name': 'ui_base_test_support', |
584 'dependencies': [ | 587 'dependencies': [ |
585 '../../base/base.gyp:base', | 588 '../../base/base.gyp:base', |
586 '../../skia/skia.gyp:skia', | 589 '../../skia/skia.gyp:skia', |
587 '../../testing/gtest.gyp:gtest', | 590 '../../testing/gtest.gyp:gtest', |
588 '../gfx/gfx.gyp:gfx', | 591 '../gfx/gfx.gyp:gfx', |
589 '../gfx/gfx.gyp:gfx_geometry', | 592 '../gfx/gfx.gyp:gfx_geometry', |
590 ], | 593 ], |
591 'sources': [ | 594 'sources': [ |
| 595 # Note: file list duplicated in GN build. |
592 'test/ui_controls.h', | 596 'test/ui_controls.h', |
593 'test/ui_controls_aura.cc', | 597 'test/ui_controls_aura.cc', |
594 'test/ui_controls_internal_win.cc', | 598 'test/ui_controls_internal_win.cc', |
595 'test/ui_controls_internal_win.h', | 599 'test/ui_controls_internal_win.h', |
596 'test/ui_controls_mac.mm', | 600 'test/ui_controls_mac.mm', |
597 'test/ui_controls_win.cc', | 601 'test/ui_controls_win.cc', |
598 ], | 602 ], |
599 'include_dirs': [ | 603 'include_dirs': [ |
600 '../..', | 604 '../..', |
601 ], | 605 ], |
(...skipping 15 matching lines...) Expand all Loading... |
617 'test/ui_controls_win.cc', | 621 'test/ui_controls_win.cc', |
618 ], | 622 ], |
619 }], | 623 }], |
620 ], | 624 ], |
621 }, | 625 }, |
622 ], | 626 ], |
623 'conditions': [ | 627 'conditions': [ |
624 ['OS=="android"' , { | 628 ['OS=="android"' , { |
625 'targets': [ | 629 'targets': [ |
626 { | 630 { |
| 631 # GN version: //ui/base:ui_base_jni_headers |
627 'target_name': 'ui_base_jni_headers', | 632 'target_name': 'ui_base_jni_headers', |
628 'type': 'none', | 633 'type': 'none', |
629 'sources': [ | 634 'sources': [ |
| 635 # Note: file list duplicated in GN build. |
630 '../android/java/src/org/chromium/ui/base/Clipboard.java', | 636 '../android/java/src/org/chromium/ui/base/Clipboard.java', |
631 '../android/java/src/org/chromium/ui/base/DeviceFormFactor.java', | 637 '../android/java/src/org/chromium/ui/base/DeviceFormFactor.java', |
632 '../android/java/src/org/chromium/ui/base/LocalizationUtils.java', | 638 '../android/java/src/org/chromium/ui/base/LocalizationUtils.java', |
633 '../android/java/src/org/chromium/ui/base/SelectFileDialog.java', | 639 '../android/java/src/org/chromium/ui/base/SelectFileDialog.java', |
634 '../android/java/src/org/chromium/ui/base/TouchDevice.java', | 640 '../android/java/src/org/chromium/ui/base/TouchDevice.java', |
635 '../android/java/src/org/chromium/ui/base/ViewAndroid.java', | 641 '../android/java/src/org/chromium/ui/base/ViewAndroid.java', |
636 '../android/java/src/org/chromium/ui/base/WindowAndroid.java', | 642 '../android/java/src/org/chromium/ui/base/WindowAndroid.java', |
637 ], | 643 ], |
638 'variables': { | 644 'variables': { |
639 'jni_gen_package': 'ui', | 645 'jni_gen_package': 'ui', |
640 }, | 646 }, |
641 'includes': [ '../../build/jni_generator.gypi' ], | 647 'includes': [ '../../build/jni_generator.gypi' ], |
642 }, | 648 }, |
643 ], | 649 ], |
644 }], | 650 }], |
645 ], | 651 ], |
646 } | 652 } |
OLD | NEW |