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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_renderer.gypi") ], | 9 [ rebase_path("../chrome_renderer.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "//ppapi/shared_impl", | 96 "//ppapi/shared_impl", |
97 ] | 97 ] |
98 } | 98 } |
99 | 99 |
100 if (safe_browsing_mode != 0) { | 100 if (safe_browsing_mode != 0) { |
101 sources += | 101 sources += |
102 rebase_path(gypi_values.chrome_renderer_basic_safe_browsing_sources, | 102 rebase_path(gypi_values.chrome_renderer_basic_safe_browsing_sources, |
103 ".", | 103 ".", |
104 "..") | 104 "..") |
105 if (safe_browsing_mode == 1) { | 105 if (safe_browsing_mode == 1) { |
106 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, | 106 sources += |
107 ".", | 107 rebase_path(gypi_values.chrome_renderer_full_safe_browsing_sources, |
108 "..") | 108 ".", |
| 109 "..") |
109 deps += [ | 110 deps += [ |
110 "//chrome/common/safe_browsing:proto", | 111 "//chrome/common/safe_browsing:proto", |
111 "//third_party/smhasher:murmurhash3", | 112 "//third_party/smhasher:murmurhash3", |
112 ] | 113 ] |
113 } | 114 } |
114 } | 115 } |
115 | 116 |
116 if (enable_extensions) { | 117 if (enable_extensions) { |
117 sources += | 118 sources += |
118 rebase_path(gypi_values.chrome_renderer_extensions_sources, ".", "..") | 119 rebase_path(gypi_values.chrome_renderer_extensions_sources, ".", "..") |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 ] | 217 ] |
217 } | 218 } |
218 | 219 |
219 if (is_android) { | 220 if (is_android) { |
220 sources -= [ | 221 sources -= [ |
221 "safe_browsing/mock_feature_extractor_clock.cc", | 222 "safe_browsing/mock_feature_extractor_clock.cc", |
222 "safe_browsing/mock_feature_extractor_clock.h", | 223 "safe_browsing/mock_feature_extractor_clock.h", |
223 ] | 224 ] |
224 } | 225 } |
225 } | 226 } |
OLD | NEW |