[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 8 | # GN version: //components/infobars/core |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 9 | 'target_name': 'infobars_core', |
| 10 | 'type': 'static_library', |
| 11 | 'include_dirs': [ |
| 12 | '..', |
| 13 | ], |
| 14 | 'dependencies': [ |
| 15 | '../base/base.gyp:base', |
| 16 | '../skia/skia.gyp:skia', |
brettw | 81d760e | 2014-11-25 20:30:10 | [diff] [blame] | 17 | '../ui/base/ui_base.gyp:ui_base', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 18 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | f9b2160 | 2014-05-22 00:53:12 | [diff] [blame] | 19 | '../ui/strings/ui_strings.gyp:ui_strings', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 20 | ], |
droger | 1931738 | 2014-10-13 18:37:51 | [diff] [blame] | 21 | 'export_dependent_settings': [ |
| 22 | '../skia/skia.gyp:skia', |
| 23 | ], |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 24 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 25 | # Note: sources duplicated in GN build. |
[email protected] | f9b2160 | 2014-05-22 00:53:12 | [diff] [blame] | 26 | 'infobars/core/confirm_infobar_delegate.cc', |
| 27 | 'infobars/core/confirm_infobar_delegate.h', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 28 | 'infobars/core/infobar.cc', |
| 29 | 'infobars/core/infobar.h', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 30 | 'infobars/core/infobar_container.cc', |
| 31 | 'infobars/core/infobar_container.h', |
| 32 | 'infobars/core/infobar_delegate.cc', |
| 33 | 'infobars/core/infobar_delegate.h', |
| 34 | 'infobars/core/infobar_manager.cc', |
| 35 | 'infobars/core/infobar_manager.h', |
| 36 | 'infobars/core/infobars_switches.cc', |
| 37 | 'infobars/core/infobars_switches.h', |
sdefresne | b49f551 | 2014-12-30 00:21:47 | [diff] [blame] | 38 | 'infobars/core/simple_alert_infobar_delegate.cc', |
| 39 | 'infobars/core/simple_alert_infobar_delegate.h', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 40 | ], |
estade | 3feb83f | 2015-09-01 23:00:49 | [diff] [blame] | 41 | 'conditions': [ |
| 42 | ['OS != "ios" and OS != "android"', { |
| 43 | 'dependencies': [ |
| 44 | '../ui/gfx/gfx.gyp:gfx_vector_icons', |
| 45 | '../ui/native_theme/native_theme.gyp:native_theme', |
| 46 | ], |
| 47 | }], |
| 48 | ], |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 49 | }, |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 50 | ], |
dfalcantara | 7e34408 | 2016-01-21 21:39:00 | [diff] [blame] | 51 | 'conditions': [ |
| 52 | ['OS == "android"', { |
| 53 | 'targets': [ |
| 54 | { |
| 55 | 'target_name': 'infobar_delegate_java', |
| 56 | 'type': 'none', |
| 57 | 'variables': { |
| 58 | 'source_file': 'infobars/core/infobar_delegate.h', |
| 59 | }, |
| 60 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 61 | }, |
| 62 | ], |
| 63 | }], |
| 64 | ], |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 65 | } |