| 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/suggestions | 8 # GN version: //components/suggestions |
| 9 'target_name': 'suggestions', | 9 'target_name': 'suggestions', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 'suggestions/suggestions_store.cc', | 36 'suggestions/suggestions_store.cc', |
| 37 'suggestions/suggestions_store.h', | 37 'suggestions/suggestions_store.h', |
| 38 'suggestions/suggestions_utils.cc', | 38 'suggestions/suggestions_utils.cc', |
| 39 'suggestions/suggestions_utils.h', | 39 'suggestions/suggestions_utils.h', |
| 40 ], | 40 ], |
| 41 'variables': { | 41 'variables': { |
| 42 'proto_in_dir': 'suggestions/proto', | 42 'proto_in_dir': 'suggestions/proto', |
| 43 'proto_out_dir': 'components/suggestions/proto', | 43 'proto_out_dir': 'components/suggestions/proto', |
| 44 }, | 44 }, |
| 45 'includes': [ '../build/protoc.gypi' ], | 45 'includes': [ '../build/protoc.gypi' ], |
| 46 'conditions': [ |
| 47 ['OS == "ios"', { |
| 48 'sources': [ |
| 49 'suggestions/image_encoder_ios.h', |
| 50 'suggestions/image_encoder_ios.mm', |
| 51 ] |
| 52 }, { # 'OS != "ios"' |
| 53 'sources': [ |
| 54 'suggestions/image_encoder.cc', |
| 55 'suggestions/image_encoder.h', |
| 56 ] |
| 57 } |
| 58 ]] |
| 46 }, | 59 }, |
| 47 ], | 60 ], |
| 48 } | 61 } |
| OLD | NEW |