| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/ntp_tiles | 8 # GN version: //components/ntp_tiles |
| 9 'target_name': 'ntp_tiles', | 9 'target_name': 'ntp_tiles', |
| 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 '../content/content.gyp:content_browser', |
| 17 'history_core_browser', |
| 18 'pref_registry', |
| 19 'safe_json', |
| 20 'search_engines', |
| 21 'suggestions', |
| 22 'variations', |
| 16 ], | 23 ], |
| 17 'sources': [ | 24 'sources': [ |
| 25 'ntp_tiles/most_visited_sites.cc', |
| 26 'ntp_tiles/most_visited_sites.h', |
| 27 'ntp_tiles/popular_sites.cc', |
| 28 'ntp_tiles/popular_sites.h', |
| 18 'ntp_tiles/pref_names.h', | 29 'ntp_tiles/pref_names.h', |
| 19 'ntp_tiles/pref_names.cc', | 30 'ntp_tiles/pref_names.cc', |
| 20 'ntp_tiles/switches.h', | 31 'ntp_tiles/switches.h', |
| 21 'ntp_tiles/switches.cc', | 32 'ntp_tiles/switches.cc', |
| 22 ], | 33 ], |
| 23 }, | 34 }, |
| 24 ], | 35 ], |
| 36 |
| 37 'conditions': [ |
| 38 ['OS == "android"', { |
| 39 'targets': [ |
| 40 { |
| 41 # GN: //components/ntp_tiles:most_visited_sites_enums_java |
| 42 'target_name': 'most_visited_sites_enums_java', |
| 43 'type': 'none', |
| 44 'variables': { |
| 45 'source_file': 'ntp_tiles/most_visited_sites.cc', |
| 46 }, |
| 47 'includes': [ |
| 48 '../build/android/java_cpp_enum.gypi' |
| 49 ], |
| 50 }, |
| 51 ], |
| 52 }], |
| 53 ], |
| 25 } | 54 } |
| OLD | NEW |