• tapted@chromium.org's avatar
    MacViews: Changes to allow app_list_unittests to compile · b7994506
    tapted@chromium.org authored
    It needs a better compositor setup for the tests to actually pass, but
    it compiles now. Changes were to fix the concept of "parent", which is a
    container aura::Window in Ash, and NULL on other platforms. However, the
    parent type for Widgets is a NativeView, not a NativeWindow.
    
    Gyp changes are required to resolve undefined symbols
    "ui::{Terminate,Initialize}ContextFactoryForTests()". This is called
    from ViewsTestBase in views_test_support, but views_test_support is
    missing the dependency on compositor_test_support where these are
    defined. On other platforms, this leaks in via aura stuff.
    
    BUG=365977, 399191
    TBR=sky@chromium.org
    
    Review URL: https://codereview.chromium.org/438533002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287291 0039d316-1c4b-4281-b951-d872f2087c98
    b7994506
BUILD.gn 5.69 KB