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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# 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': [
{
# GN version: //components/flags_ui
'target_name': 'flags_ui',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'../base/base.gyp:base',
'../components/components_strings.gyp:components_strings',
'../components/prefs/prefs.gyp:prefs',
'../ui/base/ui_base.gyp:ui_base',
'flags_ui_switches',
'pref_registry',
],
'sources': [
# Note: sources list duplicated in GN build.
'flags_ui/feature_entry.cc',
'flags_ui/feature_entry.h',
'flags_ui/feature_entry_macros.h',
'flags_ui/flags_state.cc',
'flags_ui/flags_state.h',
'flags_ui/flags_storage.h',
'flags_ui/flags_ui_constants.cc',
'flags_ui/flags_ui_constants.h',
'flags_ui/flags_ui_pref_names.cc',
'flags_ui/flags_ui_pref_names.h',
'flags_ui/pref_service_flags_storage.cc',
'flags_ui/pref_service_flags_storage.h',
],
},
{
# GN version: //components/flags_ui:switches
# This is a separate target so that the dependencies of
# //chrome/common can be kept minimal.
'target_name': 'flags_ui_switches',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'flags_ui/flags_ui_switches.cc',
'flags_ui/flags_ui_switches.h',
],
},
],
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
# The flags_ui_switches_win64 target here allows us to use base for
# Win64 targets (the normal build is 32 bits).
'target_name': 'flags_ui_switches_win64',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'flags_ui/flags_ui_switches.cc',
'flags_ui/flags_ui_switches.h',
],
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
},
],
}],
],
}
|