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/search_engines | 8 # GN version: //components/search_engines |
9 'target_name': 'search_engines', | 9 'target_name': 'search_engines', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'search_engines/template_url_parser.h', | 61 'search_engines/template_url_parser.h', |
62 'search_engines/template_url_prepopulate_data.cc', | 62 'search_engines/template_url_prepopulate_data.cc', |
63 'search_engines/template_url_prepopulate_data.h', | 63 'search_engines/template_url_prepopulate_data.h', |
64 'search_engines/template_url_service.cc', | 64 'search_engines/template_url_service.cc', |
65 'search_engines/template_url_service.h', | 65 'search_engines/template_url_service.h', |
66 'search_engines/template_url_service_client.h', | 66 'search_engines/template_url_service_client.h', |
67 'search_engines/template_url_service_observer.h', | 67 'search_engines/template_url_service_observer.h', |
68 'search_engines/util.cc', | 68 'search_engines/util.cc', |
69 'search_engines/util.h', | 69 'search_engines/util.h', |
70 ], | 70 ], |
| 71 'conditions': [ |
| 72 ['configuration_policy==0', { |
| 73 'dependencies!': [ |
| 74 'policy' |
| 75 ], |
| 76 'sources!': [ |
| 77 'search_engines/default_search_policy_handler.cc', |
| 78 'search_engines/default_search_policy_handler.h', |
| 79 ], |
| 80 }], |
| 81 ], |
71 }, | 82 }, |
72 { | 83 { |
73 'target_name': 'search_engines_test_support', | 84 'target_name': 'search_engines_test_support', |
74 'type': 'static_library', | 85 'type': 'static_library', |
75 'dependencies': [ | 86 'dependencies': [ |
76 '../testing/gtest.gyp:gtest', | 87 '../testing/gtest.gyp:gtest', |
77 'search_engines', | 88 'search_engines', |
78 ], | 89 ], |
79 'include_dirs': [ | 90 'include_dirs': [ |
80 '..', | 91 '..', |
81 ], | 92 ], |
82 'sources': [ | 93 'sources': [ |
83 'search_engines/default_search_pref_test_util.cc', | 94 'search_engines/default_search_pref_test_util.cc', |
84 'search_engines/default_search_pref_test_util.h', | 95 'search_engines/default_search_pref_test_util.h', |
85 ], | 96 ], |
86 }, | 97 }, |
87 ], | 98 ], |
88 } | 99 } |
OLD | NEW |