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

Side by Side Diff: BUILD.gn

Issue 1446453004: Adding third_party/openh264 build files for encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved BUILD.gn deps to 'both_gn_and_gyp', added corresponding change to gn_migration.gypi Created 5 years, 1 month 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 | build/all.gyp » ('j') | build/common.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 ] 542 ]
543 } else if (!is_android && !is_ios) { 543 } else if (!is_android && !is_ios) {
544 deps += [ 544 deps += [
545 "//breakpad:symupload($host_toolchain)", 545 "//breakpad:symupload($host_toolchain)",
546 "//media/cast:cast_unittests", 546 "//media/cast:cast_unittests",
547 ] 547 ]
548 } 548 }
549 if (is_chromecast) { 549 if (is_chromecast) {
550 deps += [ "//chromecast:cast_shell" ] 550 deps += [ "//chromecast:cast_shell" ]
551 } 551 }
552
553 if (use_openh264) {
554 deps += [
555 "//third_party/openh264:openh264_common",
556 "//third_party/openh264:openh264_processing",
557 "//third_party/openh264:openh264_encoder",
558 "//third_party/openh264:openh264_decoder",
559 ]
560 }
552 } 561 }
553 562
554 group("gn_only") { 563 group("gn_only") {
555 testonly = true 564 testonly = true
556 565
557 deps = [] 566 deps = []
558 567
559 if (!is_ios && !is_chromecast) { 568 if (!is_ios && !is_chromecast) {
560 deps += [ "//mandoline:all" ] 569 deps += [ "//mandoline:all" ]
561 } 570 }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 if (target_cpu == "x86") { 812 if (target_cpu == "x86") {
804 deps += [ 813 deps += [
805 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009 814 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009
806 ] 815 ]
807 } 816 }
808 } else { 817 } else {
809 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 818 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
810 } 819 }
811 } 820 }
812 } 821 }
OLDNEW
« no previous file with comments | « no previous file | build/all.gyp » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698