OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/infobars/core | 8 # GN version: //components/infobars/core |
9 'target_name': 'infobars_core', | 9 'target_name': 'infobars_core', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', | 12 '..', |
13 ], | 13 ], |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
16 '../skia/skia.gyp:skia', | 16 '../skia/skia.gyp:skia', |
17 '../ui/base/ui_base.gyp:ui_base', | 17 '../ui/base/ui_base.gyp:ui_base', |
18 '../ui/gfx/gfx.gyp:gfx', | 18 '../ui/gfx/gfx.gyp:gfx', |
19 '../ui/strings/ui_strings.gyp:ui_strings', | 19 '../ui/strings/ui_strings.gyp:ui_strings', |
20 ], | 20 ], |
21 'export_dependent_settings': [ | 21 'export_dependent_settings': [ |
22 '../skia/skia.gyp:skia', | 22 '../skia/skia.gyp:skia', |
23 ], | 23 ], |
| 24 'conditions': [ |
| 25 ['component=="shared_library"', { |
| 26 'sources': [ |
| 27 'infobars/core/infobar_constants.cc', |
| 28 ], |
| 29 }], |
| 30 ], |
24 'sources': [ | 31 'sources': [ |
25 # Note: sources duplicated in GN build. | 32 # Note: sources duplicated in GN build. |
26 'infobars/core/confirm_infobar_delegate.cc', | 33 'infobars/core/confirm_infobar_delegate.cc', |
27 'infobars/core/confirm_infobar_delegate.h', | 34 'infobars/core/confirm_infobar_delegate.h', |
28 'infobars/core/infobar.cc', | 35 'infobars/core/infobar.cc', |
29 'infobars/core/infobar.h', | 36 'infobars/core/infobar.h', |
30 'infobars/core/infobar_android.cc', | 37 'infobars/core/infobar_android.cc', |
31 'infobars/core/infobar_container.cc', | 38 'infobars/core/infobar_container.cc', |
32 'infobars/core/infobar_container.h', | 39 'infobars/core/infobar_container.h', |
33 'infobars/core/infobar_delegate.cc', | 40 'infobars/core/infobar_delegate.cc', |
(...skipping 15 matching lines...) Expand all Loading... |
49 '../base/base.gyp:base', | 56 '../base/base.gyp:base', |
50 '../skia/skia.gyp:skia', | 57 '../skia/skia.gyp:skia', |
51 ], | 58 ], |
52 'sources': [ | 59 'sources': [ |
53 # Note: sources list duplicated in GN build. | 60 # Note: sources list duplicated in GN build. |
54 'infobars/test/infobar_test.cc', | 61 'infobars/test/infobar_test.cc', |
55 ], | 62 ], |
56 }, | 63 }, |
57 ], | 64 ], |
58 } | 65 } |
OLD | NEW |