| 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("//extensions/features/features.gni") | 6 import("//extensions/features/features.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 8 |
| 8 assert(enable_extensions) | 9 assert(enable_extensions) |
| 9 | 10 |
| 10 source_set("renderer") { | 11 source_set("renderer") { |
| 11 sources = [ | 12 sources = [ |
| 12 "activity_log_converter_strategy.cc", | 13 "activity_log_converter_strategy.cc", |
| 13 "activity_log_converter_strategy.h", | 14 "activity_log_converter_strategy.h", |
| 14 "api/automation/automation_api_helper.cc", | 15 "api/automation/automation_api_helper.cc", |
| 15 "api/automation/automation_api_helper.h", | 16 "api/automation/automation_api_helper.h", |
| 16 "api/display_source/display_source_session.cc", | 17 "api/display_source/display_source_session.cc", |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 227 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 227 "//build/config/compiler:no_size_t_to_int_warning", | 228 "//build/config/compiler:no_size_t_to_int_warning", |
| 228 ] | 229 ] |
| 229 | 230 |
| 230 deps = [ | 231 deps = [ |
| 231 "//chrome:resources", | 232 "//chrome:resources", |
| 232 "//components/guest_view/renderer", | 233 "//components/guest_view/renderer", |
| 233 "//content:resources", | 234 "//content:resources", |
| 234 "//extensions:extensions_resources", | 235 "//extensions:extensions_resources", |
| 235 "//extensions/common/api", | 236 "//extensions/common/api", |
| 237 "//extensions/renderer:mojo", |
| 236 "//gin", | 238 "//gin", |
| 237 "//mojo/edk/js", | 239 "//mojo/edk/js", |
| 238 "//mojo/public/js", | 240 "//mojo/public/js", |
| 239 "//skia", | 241 "//skia", |
| 240 "//third_party/WebKit/public:blink", | 242 "//third_party/WebKit/public:blink", |
| 241 "//third_party/cld", | 243 "//third_party/cld", |
| 242 ] | 244 ] |
| 243 | 245 |
| 244 if (proprietary_codecs && enable_wifi_display) { | 246 if (proprietary_codecs && enable_wifi_display) { |
| 245 sources += [ | 247 sources += [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 271 "api/display_source/wifi_display/wifi_display_video_encoder_vea.cc", | 273 "api/display_source/wifi_display/wifi_display_video_encoder_vea.cc", |
| 272 ] | 274 ] |
| 273 | 275 |
| 274 deps += [ | 276 deps += [ |
| 275 "//third_party/openh264:encoder", | 277 "//third_party/openh264:encoder", |
| 276 "//third_party/wds:libwds", | 278 "//third_party/wds:libwds", |
| 277 ] | 279 ] |
| 278 } | 280 } |
| 279 } | 281 } |
| 280 | 282 |
| 283 mojom("mojo") { |
| 284 sources = [ |
| 285 "mojo/frame_observer.mojom", |
| 286 ] |
| 287 } |
| 288 |
| 281 source_set("unit_tests") { | 289 source_set("unit_tests") { |
| 282 testonly = true | 290 testonly = true |
| 283 sources = [ | 291 sources = [ |
| 284 "activity_log_converter_strategy_unittest.cc", | 292 "activity_log_converter_strategy_unittest.cc", |
| 285 "api/mojo_private/mojo_private_unittest.cc", | 293 "api/mojo_private/mojo_private_unittest.cc", |
| 286 "api_binding_test.cc", | 294 "api_binding_test.cc", |
| 287 "api_binding_test.h", | 295 "api_binding_test.h", |
| 288 "api_binding_test_util.cc", | 296 "api_binding_test_util.cc", |
| 289 "api_binding_test_util.h", | 297 "api_binding_test_util.h", |
| 290 "api_binding_unittest.cc", | 298 "api_binding_unittest.cc", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 "//ui/base", | 346 "//ui/base", |
| 339 ] | 347 ] |
| 340 | 348 |
| 341 if (enable_wifi_display && proprietary_codecs) { | 349 if (enable_wifi_display && proprietary_codecs) { |
| 342 sources += [ | 350 sources += [ |
| 343 "api/display_source/wifi_display/wifi_display_elementary_stream_descriptor
_unittest.cc", | 351 "api/display_source/wifi_display/wifi_display_elementary_stream_descriptor
_unittest.cc", |
| 344 "api/display_source/wifi_display/wifi_display_media_packetizer_unittest.cc
", | 352 "api/display_source/wifi_display/wifi_display_media_packetizer_unittest.cc
", |
| 345 ] | 353 ] |
| 346 } | 354 } |
| 347 } | 355 } |
| OLD | NEW |