| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//content/browser/browser.gni") | 8 import("//content/browser/browser.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 # containing the generated code so it should be sufficient to just depend | 79 # containing the generated code so it should be sufficient to just depend |
| 80 # on the grit rule. But maybe some of these will need to be added? | 80 # on the grit rule. But maybe some of these will need to be added? |
| 81 # | 81 # |
| 82 # Need this annoying rebase_path call to match what happened with the | 82 # Need this annoying rebase_path call to match what happened with the |
| 83 # sources. | 83 # sources. |
| 84 sources -= rebase_path( | 84 sources -= rebase_path( |
| 85 [ | 85 [ |
| 86 "$root_gen_dir/blink/grit/devtools_resources.h", | 86 "$root_gen_dir/blink/grit/devtools_resources.h", |
| 87 "$root_gen_dir/blink/grit/devtools_resources_map.cc", | 87 "$root_gen_dir/blink/grit/devtools_resources_map.cc", |
| 88 "$root_gen_dir/blink/grit/devtools_resources_map.h", | 88 "$root_gen_dir/blink/grit/devtools_resources_map.h", |
| 89 "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol
_dispatcher.cc", |
| 90 "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol
_dispatcher.h", |
| 89 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", | 91 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", |
| 90 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", | 92 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", |
| 91 "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol
_dispatcher.cc", | |
| 92 "$root_gen_dir/content/browser/devtools/protocol/devtools_protocol
_dispatcher.h", | |
| 93 ], | 93 ], |
| 94 ".") | 94 ".") |
| 95 | 95 |
| 96 # Non-iOS deps. | 96 # Non-iOS deps. |
| 97 deps += [ | 97 deps += [ |
| 98 "//cc", | 98 "//cc", |
| 99 "//cc/surfaces", | 99 "//cc/surfaces", |
| 100 "//content/app/resources", | 100 "//content/app/resources", |
| 101 "//content/app/strings", | 101 "//content/app/strings", |
| 102 "//content/browser/devtools:resources", | 102 "//content/browser/devtools:resources", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 127 } | 127 } |
| 128 | 128 |
| 129 if (is_win) { | 129 if (is_win) { |
| 130 sources += [ | 130 sources += [ |
| 131 "power_profiler/power_data_provider_ia_win.cc", | 131 "power_profiler/power_data_provider_ia_win.cc", |
| 132 "power_profiler/power_data_provider_ia_win.h", | 132 "power_profiler/power_data_provider_ia_win.h", |
| 133 ] | 133 ] |
| 134 deps += [ "//third_party/power_gadget" ] | 134 deps += [ "//third_party/power_gadget" ] |
| 135 } else { | 135 } else { |
| 136 sources += [ | 136 sources += [ |
| 137 "power_profiler/power_data_provider_dummy.cc", | |
| 138 "file_descriptor_info_impl.cc", | 137 "file_descriptor_info_impl.cc", |
| 139 "file_descriptor_info_impl.h", | 138 "file_descriptor_info_impl.h", |
| 139 "power_profiler/power_data_provider_dummy.cc", |
| 140 ] | 140 ] |
| 141 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] | 141 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] |
| 142 } | 142 } |
| 143 | 143 |
| 144 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) { | 144 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) { |
| 145 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] | 145 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ] |
| 146 } | 146 } |
| 147 | 147 |
| 148 if (enable_basic_printing || enable_print_preview) { | 148 if (enable_basic_printing || enable_print_preview) { |
| 149 deps += [ "//printing" ] | 149 deps += [ "//printing" ] |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 } | 434 } |
| 435 | 435 |
| 436 if (is_linux && use_openssl) { | 436 if (is_linux && use_openssl) { |
| 437 deps += [ "//third_party/boringssl" ] | 437 deps += [ "//third_party/boringssl" ] |
| 438 } | 438 } |
| 439 | 439 |
| 440 if (enable_media_mojo_renderer) { | 440 if (enable_media_mojo_renderer) { |
| 441 deps += [ "//media/mojo/services:renderer_service" ] | 441 deps += [ "//media/mojo/services:renderer_service" ] |
| 442 } | 442 } |
| 443 } | 443 } |
| OLD | NEW |