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("//chrome/common/features.gni") |
6 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
7 | 8 |
8 grit("resources") { | 9 grit("resources") { |
9 source = "resources/renderer_resources.grd" | 10 source = "resources/renderer_resources.grd" |
| 11 defines = chrome_grit_defines |
10 use_qualified_include = true | 12 use_qualified_include = true |
11 output_dir = "$root_gen_dir/chrome" | 13 output_dir = "$root_gen_dir/chrome" |
12 output_name = "renderer_resources" | 14 output_name = "renderer_resources" |
13 outputs = [ | 15 outputs = [ |
14 "grit/renderer_resources.h", | 16 "grit/renderer_resources.h", |
15 "renderer_resources_100_percent.pak", | 17 "renderer_resources_100_percent.pak", |
16 "renderer_resources_200_percent.pak", | 18 "renderer_resources_200_percent.pak", |
17 "renderer_resources_300_percent.pak", | 19 "renderer_resources_300_percent.pak", |
18 ] | 20 ] |
19 } | 21 } |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 ] | 387 ] |
386 } | 388 } |
387 | 389 |
388 if (is_android) { | 390 if (is_android) { |
389 sources -= [ | 391 sources -= [ |
390 "safe_browsing/mock_feature_extractor_clock.cc", | 392 "safe_browsing/mock_feature_extractor_clock.cc", |
391 "safe_browsing/mock_feature_extractor_clock.h", | 393 "safe_browsing/mock_feature_extractor_clock.h", |
392 ] | 394 ] |
393 } | 395 } |
394 } | 396 } |
OLD | NEW |