summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/candidate_window.gyp
blob: e2f3ced7a0af9b486b247edee5c919b33099c843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'candidate_window',
      'type': 'executable',
      'dependencies': [
        '../../../../base/base.gyp:base',
        '../../../../build/linux/system.gyp:gtk',
        '../../../../build/linux/system.gyp:x11',
        '../../../../chrome/chrome.gyp:common_constants',
        '../../../../skia/skia.gyp:skia',
        '../../../../views/views.gyp:views',
      ],
      'sources': [
        'candidate_window.cc',
        # For loading libcros.
        '../cros/cros_library_loader.cc',
      ],
      'conditions': [
        ['system_libcros==0', {
          'dependencies': [
            '../../../../third_party/cros/cros_api.gyp:cros_api',
          ],
          'include_dirs': [
            '../../../../third_party/',
          ],
        }],
        ['system_libcros==1', {
          'link_settings': {
            'libraries': [
              '-lcrosapi',
            ],
          },
        }],
      ],
    },
  ],
}