Hi,
I was trying to generate the build files in the following way but it was leading to an error.
gn args out/Debug
Arguments:
is_debug = true # Enable debugging features.
# Set true to enable experimental Skia backend.
pdf_use_skia = false
# Set true to enable experimental Skia backend (paths only).
pdf_use_skia_paths = false
pdf_enable_xfa = false # Set false to remove XFA support (implies JS support).
pdf_enable_v8 = false # Set false to remove Javascript support.
pdf_is_standalone = true # Set for a non-embedded build.
is_component_build = false # Disable component build (Though it should work)
Error:
ERROR at //build/config/mac/mac_sdk.gni:92:19: Script returned non-zero exit code.
_mac_sdk_result = exec_script(script_name, sdk_info_args, "scope")
^----------
Current dir: /Users/vibhavgupta/coding/repo/pdfium/out/Debug/
Command: python /Users/vibhavgupta/coding/repo/pdfium/build/config/apple/sdk_info.py macosx
Returned 1.
stderr:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Would this error mean that I would need to install Xcode on mac to do the build? Please if you could let me know.
Thanks & Regards,
Vibhav Gupta