OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 'android/java/src/org/chromium/ui/base/WindowAndroid.java', | 623 'android/java/src/org/chromium/ui/base/WindowAndroid.java', |
624 ], | 624 ], |
625 'variables': { | 625 'variables': { |
626 'jni_gen_package': 'ui', | 626 'jni_gen_package': 'ui', |
627 'jni_generator_ptr_type': 'long', | 627 'jni_generator_ptr_type': 'long', |
628 }, | 628 }, |
629 'includes': [ '../build/jni_generator.gypi' ], | 629 'includes': [ '../build/jni_generator.gypi' ], |
630 }, | 630 }, |
631 ], | 631 ], |
632 }], | 632 }], |
633 ['OS=="mac"', { | |
634 'targets': [ | |
635 { | |
636 'target_name': 'ui_cocoa_third_party_toolkits', | |
637 'type': '<(component)', | |
638 'sources': [ | |
639 # Build the necessary GTM sources | |
640 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.h', | |
641 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.m', | |
642 '../third_party/GTM/AppKit/GTMIBArray.h', | |
643 '../third_party/GTM/AppKit/GTMIBArray.m', | |
644 '../third_party/GTM/AppKit/GTMKeyValueAnimation.h', | |
645 '../third_party/GTM/AppKit/GTMKeyValueAnimation.m', | |
646 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.h', | |
647 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.m', | |
648 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.h', | |
649 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.m', | |
650 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h', | |
651 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m', | |
652 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m', | |
653 '../third_party/GTM/AppKit/GTMUILocalizer.h', | |
654 '../third_party/GTM/AppKit/GTMUILocalizer.m', | |
655 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h', | |
656 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.m', | |
657 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.h', | |
658 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.m', | |
659 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h', | |
660 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.m', | |
661 ], | |
662 'include_dirs': [ | |
663 '..', | |
664 '../third_party/GTM', | |
665 '../third_party/GTM/AppKit', | |
666 '../third_party/GTM/DebugUtils', | |
667 '../third_party/GTM/Foundation', | |
668 ], | |
669 'link_settings': { | |
670 'libraries': [ | |
671 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | |
672 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
673 ], | |
674 }, | |
675 'conditions': [ | |
676 ['component=="shared_library"', { | |
677 # GTM is third-party code, so we don't want to add _EXPORT | |
678 # annotations to it, so build it without -fvisibility=hidden | |
679 # (else the interface class symbols will be hidden in a 64bit | |
680 # build). Only do this in a component build, so that the shipping | |
681 # chrome binary doesn't end up with unnecessarily exported | |
682 # symbols. | |
683 'xcode_settings': { | |
684 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | |
685 }, | |
686 }], | |
687 ], | |
688 }, | |
689 ], | |
690 }], | |
691 ], | 633 ], |
692 } | 634 } |
OLD | NEW |