Home | History | Annotate | Download | only in gpu
      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
      3 # found in the LICENSE file.
      4 
      5 # This file is meant to be included into targets which run gpu tests.
      6 {
      7   'variables': {
      8      'test_list_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/test/gpu',
      9      'src_dir': '../../..',
     10   },
     11   'defines': [
     12     'HAS_OUT_OF_PROC_TEST_RUNNER',
     13   ],
     14   'include_dirs': [
     15     '<(src_dir)',
     16     '<(test_list_out_dir)',
     17   ],
     18   # hard_dependency is necessary for this target because it has actions
     19   # that generate a header file included by dependent targets. The header
     20   # file must be generated before the dependents are compiled. The usual
     21   # semantics are to allow the two targets to build concurrently.
     22   'hard_dependency': 1,
     23   'conditions': [
     24     ['OS=="win"', {
     25       'include_dirs': [
     26         '<(DEPTH)/third_party/wtl/include',
     27       ],
     28       'sources': [
     29         '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc',
     30         '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
     31         '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
     32       ],
     33       'conditions': [
     34         ['win_use_allocator_shim==1', {
     35           'dependencies': [
     36             '../base/allocator/allocator.gyp:allocator',
     37           ],
     38         }],
     39       ],
     40       'configurations': {
     41         'Debug': {
     42           'msvs_settings': {
     43             'VCLinkerTool': {
     44               'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
     45             },
     46           },
     47         },
     48       },
     49     }],
     50     ['OS=="mac"', {
     51       # See comments about "xcode_settings" elsewhere in this file.
     52       'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
     53     }],
     54     ['chromeos==1 or (OS=="linux" and use_aura==1)', {
     55       'dependencies': [
     56         '<(src_dir)/build/linux/system.gyp:ssl',
     57       ],
     58     }],
     59     ['toolkit_views==1', {
     60       'dependencies': [
     61        '<(src_dir)/ui/views/views.gyp:views',
     62       ],
     63     }],
     64   ],
     65 }
     66