Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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_snippets | 8 # GN version: //components/ntp_snippets |
| 9 'target_name': 'ntp_snippets', | 9 'target_name': 'ntp_snippets', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 'ntp_snippets/proto/ntp_snippets.proto', | 55 'ntp_snippets/proto/ntp_snippets.proto', |
| 56 'ntp_snippets/switches.cc', | 56 'ntp_snippets/switches.cc', |
| 57 'ntp_snippets/switches.h', | 57 'ntp_snippets/switches.h', |
| 58 ], | 58 ], |
| 59 'variables': { | 59 'variables': { |
| 60 'proto_in_dir': 'ntp_snippets/proto', | 60 'proto_in_dir': 'ntp_snippets/proto', |
| 61 'proto_out_dir': 'components/ntp_snippets/proto', | 61 'proto_out_dir': 'components/ntp_snippets/proto', |
| 62 }, | 62 }, |
| 63 'includes': [ '../build/protoc.gypi' ], | 63 'includes': [ '../build/protoc.gypi' ], |
| 64 }, | 64 }, |
| 65 { | |
| 66 # GN: //components/ntp_snippets/offline_pages:offline_page_suggestions | |
| 67 'target_name': 'ntp_snippets_offline_page_suggestions', | |
| 68 'type': 'static_library', | |
| 69 'include_dirs': [ | |
| 70 '..', | |
| 71 '../..', | |
|
Marc Treib
2016/07/14 12:16:53
Is this required?
Philipp Keck
2016/07/14 13:46:02
I don't know. It's inspired by this: https://codes
Marc Treib
2016/07/14 16:13:16
I'm pretty sure gyp is still supported everywhere,
Bernhard Bauer
2016/07/14 18:47:43
On Android there aren't any bits that still build
Philipp Keck
2016/07/15 09:08:41
I'm not an expert on GYP build files. The reason w
Philipp Keck
2016/07/15 09:08:41
Acknowledged.
Bernhard Bauer
2016/07/18 11:09:32
Yup. offline_pages_background_offliner is kind of
Philipp Keck
2016/07/18 12:55:03
Done.
| |
| 72 ], | |
| 73 'dependencies': [ | |
| 74 '../base/base.gyp:base', | |
| 75 'keyed_service_core', | |
| 76 'ntp_snippets', | |
| 77 'offline_pages', | |
| 78 ], | |
| 79 'sources': [ | |
| 80 'ntp_snippets/offline_pages/offline_page_suggestions_provider.cc', | |
| 81 'ntp_snippets/offline_pages/offline_page_suggestions_provider.h', | |
| 82 ], | |
| 83 }, | |
| 65 ], | 84 ], |
| 66 } | 85 } |
| OLD | NEW |