| 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 12 matching lines...) Expand all  Loading... | 
| 23   defines = [] | 23   defines = [] | 
| 24 | 24 | 
| 25   deps = [ | 25   deps = [ | 
| 26     "//base/allocator", | 26     "//base/allocator", | 
| 27     "//chrome/common", | 27     "//chrome/common", | 
| 28     "//chrome/common/net", | 28     "//chrome/common/net", | 
| 29     "//chrome:resources", | 29     "//chrome:resources", | 
| 30     "//chrome:strings", | 30     "//chrome:strings", | 
| 31     "//components/autofill/content/renderer", | 31     "//components/autofill/content/renderer", | 
| 32     "//components/data_reduction_proxy/common", | 32     "//components/data_reduction_proxy/common", | 
|  | 33     "//components/plugins/renderer", | 
|  | 34     "//components/startup_metric_utils", | 
| 33     "//components/translate/core/common", | 35     "//components/translate/core/common", | 
| 34     "//components/translate/core/language_detection", | 36     "//components/translate/core/language_detection", | 
| 35     "//components/visitedlink/renderer", | 37     "//components/visitedlink/renderer", | 
| 36     "//content/public/renderer", | 38     "//content/public/renderer", | 
|  | 39     "//extensions:extensions_resources", | 
| 37     "//media/cast/logging/proto", | 40     "//media/cast/logging/proto", | 
| 38     "//third_party/re2", | 41     "//third_party/re2", | 
| 39     "//net", | 42     "//net", | 
| 40     "//skia", | 43     "//skia", | 
| 41     "//third_party/WebKit/public:blink", | 44     "//third_party/WebKit/public:blink", | 
| 42     "//third_party/icu", | 45     "//third_party/icu", | 
| 43     "//third_party/npapi", | 46     "//third_party/npapi", | 
| 44     "//third_party/widevine/cdm:version_h", | 47     "//third_party/widevine/cdm:version_h", | 
| 45     "//ui/surface", | 48     "//ui/surface", | 
| 46     "//v8:v8", | 49     "//v8:v8", | 
| 47     "//webkit/child", | 50     "//webkit/child", | 
| 48     "//webkit/common", | 51     "//webkit/common", | 
| 49     "//webkit:resources", | 52     "//webkit:resources", | 
| 50     #"../components/components.gyp:cdm_renderer",  TODO(GYP) | 53     #"../components/components.gyp:cdm_renderer",  TODO(GYP) | 
| 51     #"../components/components.gyp:startup_metric_utils",  TODO(GYP) |  | 
| 52     #"../components/components.gyp:plugins_renderer",  TODO(GYP) |  | 
| 53     #"../extensions/extensions.gyp:extensions_renderer",  TODO(GYP) | 54     #"../extensions/extensions.gyp:extensions_renderer",  TODO(GYP) | 
| 54     #"../extensions/extensions_resources.gyp:extensions_resources",  TODO(GYP) |  | 
| 55     #"../media/cast/cast.gyp:cast_sender",  TODO(GYP) | 55     #"../media/cast/cast.gyp:cast_sender",  TODO(GYP) | 
| 56     #"../media/cast/cast.gyp:cast_transport",  TODO(GYP) | 56     #"../media/cast/cast.gyp:cast_transport",  TODO(GYP) | 
| 57   ] | 57   ] | 
| 58 | 58 | 
| 59   if (enable_nacl) { | 59   if (enable_nacl) { | 
| 60     deps += [ | 60     deps += [ | 
| 61       #'../components/nacl.gyp:nacl',  TODO(GYP) | 61       #'../components/nacl.gyp:nacl',  TODO(GYP) | 
| 62       #'../components/nacl.gyp:nacl_renderer',  TODO(GYP) | 62       #'../components/nacl.gyp:nacl_renderer',  TODO(GYP) | 
| 63     ] | 63     ] | 
| 64   } | 64   } | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 101     sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, | 101     sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, | 
| 102                            ".", "..") | 102                            ".", "..") | 
| 103   } | 103   } | 
| 104   if (enable_extensions && enable_webrtc) { | 104   if (enable_extensions && enable_webrtc) { | 
| 105     sources += rebase_path( | 105     sources += rebase_path( | 
| 106         gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") | 106         gypi_values.chrome_renderer_webrtc_extensions_sources, ".", "..") | 
| 107   } | 107   } | 
| 108   if (enable_spellcheck) { | 108   if (enable_spellcheck) { | 
| 109     sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources, | 109     sources += rebase_path(gypi_values.chrome_renderer_spellchecker_sources, | 
| 110                            ".", "..") | 110                            ".", "..") | 
| 111     # TODO(GYP) When hunspell is done, the extra defines can be removed. | 111     deps += [ "//third_party/hunspell" ] | 
| 112     #deps += [ "//third_party/hunspell" ] |  | 
| 113     defines += [ "HUNSPELL_STATIC", "HUNSPELL_CHROME_CLIENT", "OPENOFFICEORG" ] |  | 
| 114 |  | 
| 115   } | 112   } | 
| 116 | 113 | 
| 117   if (enable_printing > 0) { | 114   if (printing_mode > 0) { | 
| 118     deps += [ | 115     deps += [ "//printing" ] | 
| 119       #"//printing",   TODO(GYP) | 116     if (printing_mode == 1) { | 
| 120     ] |  | 
| 121     if (enable_printing == 1) { |  | 
| 122       sources += rebase_path(gypi_values.chrome_renderer_printing_sources, | 117       sources += rebase_path(gypi_values.chrome_renderer_printing_sources, | 
| 123                              ".", "..") | 118                              ".", "..") | 
| 124     } | 119     } | 
| 125   } | 120   } | 
| 126 | 121 | 
| 127   if (is_mac) { | 122   if (is_mac) { | 
| 128     deps += [ "//third_party/mach_override" ] | 123     deps += [ "//third_party/mach_override" ] | 
| 129   } | 124   } | 
| 130   if (is_win) { | 125   if (is_win) { | 
| 131     deps += [ | 126     deps += [ | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 149   #     ['win_pdf_metafile_for_printing==1', { | 144   #     ['win_pdf_metafile_for_printing==1', { | 
| 150   #       'sources': [ | 145   #       'sources': [ | 
| 151   #         'renderer/printing/print_web_view_helper_pdf_win.cc', | 146   #         'renderer/printing/print_web_view_helper_pdf_win.cc', | 
| 152   #       ], | 147   #       ], | 
| 153   #     }, { | 148   #     }, { | 
| 154   #       'sources': [ | 149   #       'sources': [ | 
| 155   #         'renderer/printing/print_web_view_helper_win.cc', | 150   #         'renderer/printing/print_web_view_helper_win.cc', | 
| 156   #       ], | 151   #       ], | 
| 157   #     }], | 152   #     }], | 
| 158 } | 153 } | 
| OLD | NEW | 
|---|