| 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( | 8 gypi_values = exec_script( |
| 9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
| 10 [ rebase_path("../chrome_renderer.gypi") ], | 10 [ rebase_path("../chrome_renderer.gypi") ], |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 deps = [ | 32 deps = [ |
| 33 "//base/allocator", | 33 "//base/allocator", |
| 34 "//chrome/common", | 34 "//chrome/common", |
| 35 "//chrome/common/net", | 35 "//chrome/common/net", |
| 36 "//chrome:resources", | 36 "//chrome:resources", |
| 37 "//chrome:strings", | 37 "//chrome:strings", |
| 38 "//components/autofill/content/renderer", | 38 "//components/autofill/content/renderer", |
| 39 "//components/cdm/renderer", | 39 "//components/cdm/renderer", |
| 40 "//components/data_reduction_proxy/common", | 40 "//components/data_reduction_proxy/common", |
| 41 "//components/password_manager/content/renderer", | 41 "//components/password_manager/content/renderer", |
| 42 "//components/pdf/renderer", | |
| 43 "//components/plugins/renderer", | |
| 44 "//components/startup_metric_utils", | 42 "//components/startup_metric_utils", |
| 45 "//components/translate/content/renderer", | 43 "//components/translate/content/renderer", |
| 46 "//components/translate/core/common", | 44 "//components/translate/core/common", |
| 47 "//components/translate/core/language_detection", | 45 "//components/translate/core/language_detection", |
| 48 "//components/visitedlink/renderer", | 46 "//components/visitedlink/renderer", |
| 49 "//components/web_cache/renderer", | 47 "//components/web_cache/renderer", |
| 50 "//content/app/resources", | 48 "//content/app/resources", |
| 51 "//content/app/strings", | 49 "//content/app/strings", |
| 52 "//content/public/renderer", | 50 "//content/public/renderer", |
| 53 "//extensions:extensions_resources", | |
| 54 "//media/cast:net", | 51 "//media/cast:net", |
| 55 "//media/cast:sender", | 52 "//media/cast:sender", |
| 56 "//media/cast/logging/proto", | 53 "//media/cast/logging/proto", |
| 57 "//net", | 54 "//net", |
| 58 "//skia", | 55 "//skia", |
| 59 "//storage/common", | 56 "//storage/common", |
| 60 "//third_party/WebKit/public:blink", | 57 "//third_party/WebKit/public:blink", |
| 61 "//third_party/WebKit/public:resources", | 58 "//third_party/WebKit/public:resources", |
| 62 "//third_party/icu", | 59 "//third_party/icu", |
| 63 "//third_party/npapi", | 60 "//third_party/npapi", |
| 64 "//third_party/re2", | 61 "//third_party/re2", |
| 65 "//third_party/widevine/cdm:version_h", | 62 "//third_party/widevine/cdm:version_h", |
| 66 "//ui/surface", | 63 "//ui/surface", |
| 67 "//v8:v8", | 64 "//v8:v8", |
| 68 ] | 65 ] |
| 69 | 66 |
| 70 if (enable_nacl) { | 67 if (enable_nacl) { |
| 71 deps += [ | 68 deps += [ |
| 72 #'../components/nacl.gyp:nacl', TODO(GYP) | 69 #'../components/nacl.gyp:nacl', TODO(GYP) |
| 73 #'../components/nacl.gyp:nacl_renderer', TODO(GYP) | 70 #'../components/nacl.gyp:nacl_renderer', TODO(GYP) |
| 74 ] | 71 ] |
| 75 } | 72 } |
| 76 | 73 |
| 77 if (enable_plugins) { | 74 if (enable_plugins) { |
| 78 sources += rebase_path(gypi_values.chrome_renderer_plugin_sources, | 75 sources += rebase_path(gypi_values.chrome_renderer_plugin_sources, |
| 79 ".", "..") | 76 ".", "..") |
| 80 deps += [ | 77 deps += [ |
| 78 "//components/pdf/renderer", |
| 79 "//components/plugins/renderer", |
| 81 "//ppapi:ppapi_host", | 80 "//ppapi:ppapi_host", |
| 82 "//ppapi:ppapi_ipc", | 81 "//ppapi:ppapi_ipc", |
| 83 "//ppapi:ppapi_proxy", | 82 "//ppapi:ppapi_proxy", |
| 84 "//ppapi:ppapi_shared", | 83 "//ppapi:ppapi_shared", |
| 85 ] | 84 ] |
| 86 } | 85 } |
| 87 | 86 |
| 88 if (safe_browsing_mode == 1) { | 87 if (safe_browsing_mode == 1) { |
| 89 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, | 88 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, |
| 90 ".", "..") | 89 ".", "..") |
| 91 sources += rebase_path( | 90 sources += rebase_path( |
| 92 gypi_values.chrome_renderer_basic_safe_browsing_sources, | 91 gypi_values.chrome_renderer_basic_safe_browsing_sources, |
| 93 ".", "..") | 92 ".", "..") |
| 94 defines += [ "FULL_SAFE_BROWSING" ] | 93 defines += [ "FULL_SAFE_BROWSING" ] |
| 95 deps += [ | 94 deps += [ |
| 96 "//chrome/common/safe_browsing:proto", | 95 "//chrome/common/safe_browsing:proto", |
| 97 "//third_party/smhasher:murmurhash3", | 96 "//third_party/smhasher:murmurhash3", |
| 98 ] | 97 ] |
| 99 } | 98 } |
| 100 if (safe_browsing_mode == 2) { | 99 if (safe_browsing_mode == 2) { |
| 101 sources += rebase_path( | 100 sources += rebase_path( |
| 102 gypi_values.chrome_renderer_basic_safe_browsing_sources, | 101 gypi_values.chrome_renderer_basic_safe_browsing_sources, |
| 103 ".", "..") | 102 ".", "..") |
| 104 defines += [ "MOBILE_SAFE_BROWSING" ] | 103 defines += [ "MOBILE_SAFE_BROWSING" ] |
| 105 } | 104 } |
| 106 | 105 |
| 107 if (enable_extensions) { | 106 if (enable_extensions) { |
| 108 sources += rebase_path(gypi_values.chrome_renderer_extensions_sources, | 107 sources += rebase_path(gypi_values.chrome_renderer_extensions_sources, |
| 109 ".", "..") | 108 ".", "..") |
| 110 deps += [ "//extensions/renderer" ] | 109 deps += [ |
| 110 "//extensions:extensions_resources", |
| 111 "//extensions/renderer", |
| 112 ] |
| 111 } | 113 } |
| 112 if (enable_webrtc) { | 114 if (enable_webrtc) { |
| 113 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, | 115 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, |
| 114 ".", "..") | 116 ".", "..") |
| 115 } | 117 } |
| 116 if (enable_extensions && enable_webrtc) { | 118 if (enable_extensions && enable_webrtc) { |
| 117 sources += rebase_path( | 119 sources += rebase_path( |
| 118 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") | 120 gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") |
| 119 } | 121 } |
| 120 if (enable_spellcheck) { | 122 if (enable_spellcheck) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 ] | 193 ] |
| 192 } | 194 } |
| 193 | 195 |
| 194 if (enable_webrtc) { | 196 if (enable_webrtc) { |
| 195 sources += [ | 197 sources += [ |
| 196 "media/mock_webrtc_logging_message_filter.cc", | 198 "media/mock_webrtc_logging_message_filter.cc", |
| 197 "media/mock_webrtc_logging_message_filter.h", | 199 "media/mock_webrtc_logging_message_filter.h", |
| 198 ] | 200 ] |
| 199 } | 201 } |
| 200 } | 202 } |
| OLD | NEW |