• Mirko Bonadei's avatar
    Fix openh264 build config error. · 1f2ed082
    Mirko Bonadei authored
    Before this CL, the following GN args were causing an error [1] when
    building WebRTC.
    
    is_debug = false
    target_cpu = "arm64"
    target_os = "android"
    rtc_use_h264=true
    
    [1] -
    
    ERROR at //third_party/openh264/BUILD.gn:38:5: Undefined identifier.
        defines += [ "ANDROID_NDK" ]
        ^------
    See //modules/video_coding/BUILD.gn:325:7: which caused the file to be included.
          "//third_party/openh264:encoder",
    
    Bug: None
    Change-Id: Ia27d995500364306edc555132dba3dbfdf632daa
    Reviewed-on: https://chromium-review.googlesource.com/c/1286409Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
    Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#600872}
    1f2ed082
BUILD.gn 5.35 KB