• ssid's avatar
    [clean-up] Remove allocator.gyp dependency from library targets · fccd31cc
    ssid authored
    This CL does a refactoring of the dependencies and do not change any
    behavior. The diff between the ninja files is presented in link:
    http://pastebin.com/aG6eq5cb.
    
    The test_support_gpu.gypi included allocator.gyp for no reason, and the
    only other target that uses this file is content_browsertests, which
    already includes allocatpor.gyp with same conditions. So, removing
    this dependency here.
    
    target:browser_ui - depends on allocator.gyp in windows
    targets that depend on browser_ui:
      chrome_android_core: not used in windows
    
      Dependency on allocator.gyp exists already for:
      All, browser (explained below)
    
    target:browser - depends on allocator.gyp in windows
    targets that depend on browser:
      chrome_android_core: only android
      chromevox_tests: added dependency to allocator.gyp for windows
    
      Dependency on allocator.gyp exists already for:
        All, interactive_ui_tests, browser_tests, performance_browser_tests
        chrome_main_dll, chrome_initial, unit_tests, chrome_app_unittests
    
        test_support_sync_integration's executables:
          sync_integration_tests, browser_tests, sync_performance_tests
    
        test_support_common's executables:
          interactive_ui_tests, browser_tests, performance_browser_tests
    
        test_support_unit's executables:
          unit_tests
    
    target:renderer - depends and exports dependency on allocator.gyp in
    windows
    targets that depend on renderer:
      chrome_android_core: not used in windows
      chromevox_tests: added dependency to allocator.gyp for windows
        chrome_child_dll - added dependency.
    
      Dependency on allocator.gyp exists already for:
        interactive_ui_tests, browser_tests, performance_browser_tests
        sync_integration_tests, chrome_main_dll, chrome_initial, unit_tests
        chrome_app_unittests
    
        test_support_common - explained earlier.
    
    target:browser_extensions - depends on allocator.gyp in windows
    targets that depend on browser_extensions:
      apps - browser (explained above)
      browser_ui (explained above)
      browser_chromeos
        browser (explained above)
        browser_tests
        apps - browser (explained above)
    
    target:web_cache_browser - depends on allocator.gyp in windows
    All the targets that depend on web_cache_browser already have
    dependency on allocator.gyp:
      browser*, components_unittests
    
      extensions_browser
        extensions_unittests, browser_extensions*, apps*
    
        media_router
          browser_ui*, browser*, native_app_window - browser_ui*
          javascript_dialog_extensions_client - browser_ui*
          media_router_test_support
            browser_tests, test_support_unit*, unit_tests
    
        app_shell_lib
          extensions_browsertests, app_shell, app_shell_unittests
    
        extensions_test_support
          extensions_unittests, extensions_browsertests, app_shell_unittests
          test_support_common*
    
    * - see previous sections for why it is fine for the target to not
    depend on allocator.gyp
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1462853002
    
    Cr-Commit-Position: refs/heads/master@{#361381}
    fccd31cc
test_support_gpu.gypi 1.53 KB