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/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 2219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2230 | 2230 |
2231 if (use_x11) { | 2231 if (use_x11) { |
2232 sources += [ | 2232 sources += [ |
2233 "chrome_browser_main_extra_parts_x11.cc", | 2233 "chrome_browser_main_extra_parts_x11.cc", |
2234 "chrome_browser_main_extra_parts_x11.h", | 2234 "chrome_browser_main_extra_parts_x11.h", |
2235 "password_manager/password_store_x.cc", | 2235 "password_manager/password_store_x.cc", |
2236 "password_manager/password_store_x.h", | 2236 "password_manager/password_store_x.h", |
2237 ] | 2237 ] |
2238 } | 2238 } |
2239 if (use_aura && !use_ozone && is_desktop_linux) { | 2239 if (use_aura && !use_ozone && is_desktop_linux) { |
2240 deps += [ "//chrome/browser/ui/libgtk2ui" ] | 2240 if (use_gtk3) { |
2241 allow_circular_includes_from += [ "//chrome/browser/ui/libgtk2ui" ] | 2241 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ] |
| 2242 } else { |
| 2243 deps += [ "//chrome/browser/ui/libgtkui:libgtk2ui" ] |
| 2244 } |
2242 } | 2245 } |
2243 if (is_posix && !is_mac) { | 2246 if (is_posix && !is_mac) { |
2244 sources += [ | 2247 sources += [ |
2245 "//chrome/app/chrome_crash_reporter_client.cc", | 2248 "//chrome/app/chrome_crash_reporter_client.cc", |
2246 "//chrome/app/chrome_crash_reporter_client.h", | 2249 "//chrome/app/chrome_crash_reporter_client.h", |
2247 ] | 2250 ] |
2248 deps += [ | 2251 deps += [ |
2249 "//components/crash/content/app", | 2252 "//components/crash/content/app", |
2250 "//components/crash/content/browser", | 2253 "//components/crash/content/browser", |
2251 "//components/version_info:generate_version_info", | 2254 "//components/version_info:generate_version_info", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 } | 2360 } |
2358 if (enable_themes) { | 2361 if (enable_themes) { |
2359 sources += [ | 2362 sources += [ |
2360 "sync/glue/theme_data_type_controller.cc", | 2363 "sync/glue/theme_data_type_controller.cc", |
2361 "sync/glue/theme_data_type_controller.h", | 2364 "sync/glue/theme_data_type_controller.h", |
2362 "themes/browser_theme_pack.cc", | 2365 "themes/browser_theme_pack.cc", |
2363 "themes/browser_theme_pack.h", | 2366 "themes/browser_theme_pack.h", |
2364 "themes/custom_theme_supplier.cc", | 2367 "themes/custom_theme_supplier.cc", |
2365 "themes/custom_theme_supplier.h", | 2368 "themes/custom_theme_supplier.h", |
2366 "themes/theme_properties.cc", | 2369 "themes/theme_properties.cc", |
2367 "themes/theme_properties.h", | |
2368 "themes/theme_service.cc", | 2370 "themes/theme_service.cc", |
2369 "themes/theme_service.h", | 2371 "themes/theme_service.h", |
2370 "themes/theme_service_factory.cc", | 2372 "themes/theme_service_factory.cc", |
2371 "themes/theme_service_factory.h", | 2373 "themes/theme_service_factory.h", |
2372 "themes/theme_service_mac.mm", | 2374 "themes/theme_service_mac.mm", |
2373 "themes/theme_syncable_service.cc", | 2375 "themes/theme_syncable_service.cc", |
2374 "themes/theme_syncable_service.h", | 2376 "themes/theme_syncable_service.h", |
2375 ] | 2377 ] |
| 2378 deps += [ ":theme_properties" ] |
2376 } | 2379 } |
2377 | 2380 |
2378 if (enable_basic_printing || enable_print_preview) { | 2381 if (enable_basic_printing || enable_print_preview) { |
2379 # Some form of printing support. | 2382 # Some form of printing support. |
2380 sources += [ | 2383 sources += [ |
2381 "printing/print_job.cc", | 2384 "printing/print_job.cc", |
2382 "printing/print_job.h", | 2385 "printing/print_job.h", |
2383 "printing/print_job_manager.cc", | 2386 "printing/print_job_manager.cc", |
2384 "printing/print_job_manager.h", | 2387 "printing/print_job_manager.h", |
2385 "printing/print_job_worker.cc", | 2388 "printing/print_job_worker.cc", |
(...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3956 deps = [ | 3959 deps = [ |
3957 "//base", | 3960 "//base", |
3958 "//chrome/common:constants", | 3961 "//chrome/common:constants", |
3959 ] | 3962 ] |
3960 if (enable_configuration_policy) { | 3963 if (enable_configuration_policy) { |
3961 deps += [ "//chrome/browser/policy:path_parser" ] | 3964 deps += [ "//chrome/browser/policy:path_parser" ] |
3962 } | 3965 } |
3963 } | 3966 } |
3964 } | 3967 } |
3965 | 3968 |
| 3969 source_set("theme_properties") { |
| 3970 sources = [ |
| 3971 "themes/theme_properties.h", |
| 3972 ] |
| 3973 } |
| 3974 |
3966 proto_library("resource_prefetch_predictor_proto") { | 3975 proto_library("resource_prefetch_predictor_proto") { |
3967 sources = [ | 3976 sources = [ |
3968 "predictors/resource_prefetch_predictor.proto", | 3977 "predictors/resource_prefetch_predictor.proto", |
3969 ] | 3978 ] |
3970 } | 3979 } |
3971 | 3980 |
3972 grit("resources") { | 3981 grit("resources") { |
3973 source = "browser_resources.grd" | 3982 source = "browser_resources.grd" |
3974 use_qualified_include = true | 3983 use_qualified_include = true |
3975 | 3984 |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4329 # linking all of the test support. | 4338 # linking all of the test support. |
4330 static_library("pepper_cdm_test_constants") { | 4339 static_library("pepper_cdm_test_constants") { |
4331 testonly = true | 4340 testonly = true |
4332 visibility = [ "//chrome/*" ] | 4341 visibility = [ "//chrome/*" ] |
4333 sources = [ | 4342 sources = [ |
4334 "media/pepper_cdm_test_constants.cc", | 4343 "media/pepper_cdm_test_constants.cc", |
4335 "media/pepper_cdm_test_constants.h", | 4344 "media/pepper_cdm_test_constants.h", |
4336 ] | 4345 ] |
4337 } | 4346 } |
4338 } | 4347 } |
OLD | NEW |