summaryrefslogtreecommitdiffstats
path: root/components/security_state.gypi
blob: d1376b44b98c41e71624ec337507975367c5a160 (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
# Copyright 2015 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.

{
  'targets': [
    {
      'target_name': 'security_state',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../net/net.gyp:net',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'security_state/security_state_model.cc',
        'security_state/security_state_model.h',
        'security_state/security_state_model_client.h',
        'security_state/switches.cc',
        'security_state/switches.h',
      ]
    },
  ],
  'conditions' : [
    ['OS=="android"', {
      'targets': [
        {
          # GN: //components/security_state:security_state_enums_java
          'target_name': 'security_state_enums_java',
          'type': 'none',
          'variables': {
            'source_file': 'security_state/security_state_model.h',
          },
          'includes': [ '../build/android/java_cpp_enum.gypi' ],
        },
      ],
     },
   ],
  ],
}