| 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("//chrome/common/features.gni") |
| 7 import("//extensions/features/features.gni") |
| 7 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
| 8 | 9 |
| 9 grit("resources") { | 10 grit("resources") { |
| 10 source = "resources/renderer_resources.grd" | 11 source = "resources/renderer_resources.grd" |
| 11 defines = chrome_grit_defines | 12 defines = chrome_grit_defines |
| 12 use_qualified_include = true | 13 use_qualified_include = true |
| 13 output_dir = "$root_gen_dir/chrome" | 14 output_dir = "$root_gen_dir/chrome" |
| 14 output_name = "renderer_resources" | 15 output_name = "renderer_resources" |
| 15 outputs = [ | 16 outputs = [ |
| 16 "grit/renderer_resources.h", | 17 "grit/renderer_resources.h", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 "//components/subresource_filter/content/renderer", | 109 "//components/subresource_filter/content/renderer", |
| 109 "//components/translate/content/renderer", | 110 "//components/translate/content/renderer", |
| 110 "//components/translate/core/common", | 111 "//components/translate/core/common", |
| 111 "//components/translate/core/language_detection", | 112 "//components/translate/core/language_detection", |
| 112 "//components/visitedlink/renderer", | 113 "//components/visitedlink/renderer", |
| 113 "//components/web_cache/renderer", | 114 "//components/web_cache/renderer", |
| 114 "//content/app/resources", | 115 "//content/app/resources", |
| 115 "//content/app/strings", | 116 "//content/app/strings", |
| 116 "//content/public/common", | 117 "//content/public/common", |
| 117 "//content/public/renderer", | 118 "//content/public/renderer", |
| 119 "//extensions/features", |
| 118 "//media", | 120 "//media", |
| 119 "//media/capture", | 121 "//media/capture", |
| 120 "//net", | 122 "//net", |
| 121 "//ppapi/features", | 123 "//ppapi/features", |
| 122 "//printing/features", | 124 "//printing/features", |
| 123 "//skia", | 125 "//skia", |
| 124 "//storage/common", | 126 "//storage/common", |
| 125 "//third_party/WebKit/public:blink", | 127 "//third_party/WebKit/public:blink", |
| 126 "//third_party/WebKit/public:image_resources", | 128 "//third_party/WebKit/public:image_resources", |
| 127 "//third_party/WebKit/public:resources", | 129 "//third_party/WebKit/public:resources", |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 "chrome_mock_render_thread.h", | 365 "chrome_mock_render_thread.h", |
| 364 "safe_browsing/mock_feature_extractor_clock.cc", | 366 "safe_browsing/mock_feature_extractor_clock.cc", |
| 365 "safe_browsing/mock_feature_extractor_clock.h", | 367 "safe_browsing/mock_feature_extractor_clock.h", |
| 366 "safe_browsing/test_utils.cc", | 368 "safe_browsing/test_utils.cc", |
| 367 "safe_browsing/test_utils.h", | 369 "safe_browsing/test_utils.h", |
| 368 ] | 370 ] |
| 369 | 371 |
| 370 deps = [ | 372 deps = [ |
| 371 ":renderer", | 373 ":renderer", |
| 372 "//content/test:test_support", | 374 "//content/test:test_support", |
| 375 "//extensions/features", |
| 373 "//testing/gmock", | 376 "//testing/gmock", |
| 374 "//testing/gtest", | 377 "//testing/gtest", |
| 375 ] | 378 ] |
| 376 | 379 |
| 377 if (enable_print_preview) { | 380 if (enable_print_preview) { |
| 378 deps += [ "//chrome/service" ] | 381 deps += [ "//chrome/service" ] |
| 379 } | 382 } |
| 380 | 383 |
| 381 if (enable_webrtc) { | 384 if (enable_webrtc) { |
| 382 sources += [ | 385 sources += [ |
| 383 "media/mock_webrtc_logging_message_filter.cc", | 386 "media/mock_webrtc_logging_message_filter.cc", |
| 384 "media/mock_webrtc_logging_message_filter.h", | 387 "media/mock_webrtc_logging_message_filter.h", |
| 385 ] | 388 ] |
| 386 } | 389 } |
| 387 | 390 |
| 388 if (is_android) { | 391 if (is_android) { |
| 389 sources -= [ | 392 sources -= [ |
| 390 "safe_browsing/mock_feature_extractor_clock.cc", | 393 "safe_browsing/mock_feature_extractor_clock.cc", |
| 391 "safe_browsing/mock_feature_extractor_clock.h", | 394 "safe_browsing/mock_feature_extractor_clock.h", |
| 392 ] | 395 ] |
| 393 } | 396 } |
| 394 } | 397 } |
| OLD | NEW |