| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/flags_ui | |
| 9 'target_name': 'flags_ui', | |
| 10 'type': 'static_library', | |
| 11 'include_dirs': [ | |
| 12 '..', | |
| 13 ], | |
| 14 'dependencies': [ | |
| 15 '../base/base.gyp:base', | |
| 16 '../components/components_strings.gyp:components_strings', | |
| 17 '../components/prefs/prefs.gyp:prefs', | |
| 18 '../ui/base/ui_base.gyp:ui_base', | |
| 19 'flags_ui_switches', | |
| 20 'pref_registry', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 # Note: sources list duplicated in GN build. | |
| 24 'flags_ui/feature_entry.cc', | |
| 25 'flags_ui/feature_entry.h', | |
| 26 'flags_ui/feature_entry_macros.h', | |
| 27 'flags_ui/flags_state.cc', | |
| 28 'flags_ui/flags_state.h', | |
| 29 'flags_ui/flags_storage.h', | |
| 30 'flags_ui/flags_ui_constants.cc', | |
| 31 'flags_ui/flags_ui_constants.h', | |
| 32 'flags_ui/flags_ui_pref_names.cc', | |
| 33 'flags_ui/flags_ui_pref_names.h', | |
| 34 'flags_ui/pref_service_flags_storage.cc', | |
| 35 'flags_ui/pref_service_flags_storage.h', | |
| 36 ], | |
| 37 }, | |
| 38 { | |
| 39 # GN version: //components/flags_ui:switches | |
| 40 # This is a separate target so that the dependencies of | |
| 41 # //chrome/common can be kept minimal. | |
| 42 'target_name': 'flags_ui_switches', | |
| 43 'type': 'static_library', | |
| 44 'include_dirs': [ | |
| 45 '..', | |
| 46 ], | |
| 47 'sources': [ | |
| 48 # Note: sources list duplicated in GN build. | |
| 49 'flags_ui/flags_ui_switches.cc', | |
| 50 'flags_ui/flags_ui_switches.h', | |
| 51 ], | |
| 52 }, | |
| 53 ], | |
| 54 'conditions': [ | |
| 55 ['OS=="win" and target_arch=="ia32"', { | |
| 56 'targets': [ | |
| 57 { | |
| 58 # The flags_ui_switches_win64 target here allows us to use base for | |
| 59 # Win64 targets (the normal build is 32 bits). | |
| 60 'target_name': 'flags_ui_switches_win64', | |
| 61 'type': 'static_library', | |
| 62 'include_dirs': [ | |
| 63 '..', | |
| 64 ], | |
| 65 'sources': [ | |
| 66 # Note: sources list duplicated in GN build. | |
| 67 'flags_ui/flags_ui_switches.cc', | |
| 68 'flags_ui/flags_ui_switches.h', | |
| 69 ], | |
| 70 'configurations': { | |
| 71 'Common_Base': { | |
| 72 'msvs_target_platform': 'x64', | |
| 73 }, | |
| 74 }, | |
| 75 }, | |
| 76 ], | |
| 77 }], | |
| 78 ], | |
| 79 } | |
| OLD | NEW |