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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2546723003: New gn target video_frame_api. (Closed)
Patch Set: Created 4 years 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 | « no previous file | webrtc/api/video/video_rotation.h » ('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 (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 deps = [ 361 deps = [
362 "../base:rtc_base_approved", 362 "../base:rtc_base_approved",
363 ] 363 ]
364 } 364 }
365 365
366 rtc_source_set("transport_api") { 366 rtc_source_set("transport_api") {
367 sources = [ 367 sources = [
368 "call/transport.h", 368 "call/transport.h",
369 ] 369 ]
370 } 370 }
371
372 rtc_source_set("video_frame_api") {
373 sources = [
374 "video/video_rotation.h",
375 ]
376
377 deps = [
378 "../base:rtc_base_approved",
379 ]
380
381 # TODO(nisse): This logic is duplicated in multiple places.
382 # Define in a single place.
383 if (rtc_build_libyuv) {
384 deps += [ "$rtc_libyuv_dir" ]
kjellander_webrtc 2016/12/02 10:09:00 I tried gathering it in one place at some point (c
385 public_deps = [
386 "$rtc_libyuv_dir",
387 ]
388 } else {
389 # Need to add a directory normally exported by libyuv.
390 include_dirs = [ "$rtc_libyuv_dir/include" ]
391 }
392 }
393
371 if (rtc_include_tests) { 394 if (rtc_include_tests) {
372 config("peerconnection_unittests_config") { 395 config("peerconnection_unittests_config") {
373 # The warnings below are enabled by default. Since GN orders compiler flags 396 # The warnings below are enabled by default. Since GN orders compiler flags
374 # for a target before flags from configs, the only way to disable such 397 # for a target before flags from configs, the only way to disable such
375 # warnings is by having them in a separate config, loaded from the target. 398 # warnings is by having them in a separate config, loaded from the target.
376 # TODO(kjellander): Make the code compile without disabling these flags. 399 # TODO(kjellander): Make the code compile without disabling these flags.
377 # See https://bugs.webrtc.org/3307. 400 # See https://bugs.webrtc.org/3307.
378 if (is_clang && is_win) { 401 if (is_clang && is_win) {
379 cflags = [ 402 cflags = [
380 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267 403 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 522
500 public_deps = [ 523 public_deps = [
501 ":audio_mixer_api", 524 ":audio_mixer_api",
502 ] 525 ]
503 526
504 deps = [ 527 deps = [
505 "//testing/gmock", 528 "//testing/gmock",
506 ] 529 ]
507 } 530 }
508 } 531 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/video/video_rotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698