Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2715563002: Moving SwiftShader from component to bundled library (Closed)
Patch Set: Fixed some comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 "component_updater/recovery_improved_component_installer.cc", 249 "component_updater/recovery_improved_component_installer.cc",
250 "component_updater/recovery_improved_component_installer.h", 250 "component_updater/recovery_improved_component_installer.h",
251 "component_updater/sth_set_component_installer.cc", 251 "component_updater/sth_set_component_installer.cc",
252 "component_updater/sth_set_component_installer.h", 252 "component_updater/sth_set_component_installer.h",
253 "component_updater/subresource_filter_component_installer.cc", 253 "component_updater/subresource_filter_component_installer.cc",
254 "component_updater/subresource_filter_component_installer.h", 254 "component_updater/subresource_filter_component_installer.h",
255 "component_updater/supervised_user_whitelist_installer.cc", 255 "component_updater/supervised_user_whitelist_installer.cc",
256 "component_updater/supervised_user_whitelist_installer.h", 256 "component_updater/supervised_user_whitelist_installer.h",
257 "component_updater/sw_reporter_installer_win.cc", 257 "component_updater/sw_reporter_installer_win.cc",
258 "component_updater/sw_reporter_installer_win.h", 258 "component_updater/sw_reporter_installer_win.h",
259 "component_updater/swiftshader_component_installer.cc",
260 "component_updater/swiftshader_component_installer.h",
261 "conflicts/module_database_win.cc", 259 "conflicts/module_database_win.cc",
262 "conflicts/module_database_win.h", 260 "conflicts/module_database_win.h",
263 "conflicts/module_event_sink_impl_win.cc", 261 "conflicts/module_event_sink_impl_win.cc",
264 "conflicts/module_event_sink_impl_win.h", 262 "conflicts/module_event_sink_impl_win.h",
265 "conflicts/module_info_util_win.cc", 263 "conflicts/module_info_util_win.cc",
266 "conflicts/module_info_util_win.h", 264 "conflicts/module_info_util_win.h",
267 "content_settings/chrome_content_settings_utils.cc", 265 "content_settings/chrome_content_settings_utils.cc",
268 "content_settings/chrome_content_settings_utils.h", 266 "content_settings/chrome_content_settings_utils.h",
269 "content_settings/cookie_settings_factory.cc", 267 "content_settings/cookie_settings_factory.cc",
270 "content_settings/cookie_settings_factory.h", 268 "content_settings/cookie_settings_factory.h",
(...skipping 3328 matching lines...) Expand 10 before | Expand all | Expand 10 after
3599 } 3597 }
3600 3598
3601 if (is_linux || is_win || is_mac) { 3599 if (is_linux || is_win || is_mac) {
3602 sources += [ 3600 sources += [
3603 "payments/chrome_payment_request_delegate.cc", 3601 "payments/chrome_payment_request_delegate.cc",
3604 "payments/chrome_payment_request_delegate.h", 3602 "payments/chrome_payment_request_delegate.h",
3605 "payments/payment_request_factory.cc", 3603 "payments/payment_request_factory.cc",
3606 "payments/payment_request_factory.h", 3604 "payments/payment_request_factory.h",
3607 ] 3605 ]
3608 deps += [ "//components/payments:payment_request_impl" ] 3606 deps += [ "//components/payments:payment_request_impl" ]
3607
3608 if (target_cpu == "x86" || target_cpu == "x64") {
3609 deps += [ "//third_party/swiftshader" ]
grt (UTC plus 2) 2017/02/23 15:33:38 is it //chrome/browser that depends on SS, or some
sugoi 2017/02/23 15:36:34 Oh yeah, it should be content/browser, not chrome/
3610 }
3609 } 3611 }
3610 3612
3611 if (is_linux || is_win) { 3613 if (is_linux || is_win) {
3612 sources += [ 3614 sources += [
3613 "renderer_context_menu/spelling_options_submenu_observer.cc", 3615 "renderer_context_menu/spelling_options_submenu_observer.cc",
3614 "renderer_context_menu/spelling_options_submenu_observer.h", 3616 "renderer_context_menu/spelling_options_submenu_observer.h",
3615 "webshare/share_service_impl.cc", 3617 "webshare/share_service_impl.cc",
3616 "webshare/share_service_impl.h", 3618 "webshare/share_service_impl.h",
3617 ] 3619 ]
3618 } 3620 }
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
4529 "media/pepper_cdm_test_constants.cc", 4531 "media/pepper_cdm_test_constants.cc",
4530 "media/pepper_cdm_test_constants.h", 4532 "media/pepper_cdm_test_constants.h",
4531 ] 4533 ]
4532 } 4534 }
4533 } 4535 }
4534 4536
4535 service_manifest("preferences_manifest") { 4537 service_manifest("preferences_manifest") {
4536 name = "preferences" 4538 name = "preferences"
4537 source = "prefs/preferences_manifest.json" 4539 source = "prefs/preferences_manifest.json"
4538 } 4540 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698