Hi David,
I have trying to build the cdm with chorme given at the link
https://github.com/fraunhoferfokus/open-content-decryption-module/blob/2357_ppapi_chromium/docs/build_notes_chromium.md on ubuntu 14.04
when i follow the procedure given at
https://github.com/fraunhoferfokus/open-content-decryption-module (
$ ln -s $HOME/opencdm/src $CHROMIUM_ROOT/src/media/cdm/ppapi/external_open_cdm
- add include into the
$CHROMIUM_ROOT/src/media/media.gyp
file to contain this:
'includes': [
'media_cdm.gypi',
'./cdm/ppapi/external_open_cdm/browser/media_open_cdm.gypi'
]
- apply changes by generating the project files
$ cd $CHROMIUM_ROOT/src
$ build/gyp_chromium
)
Build is failing for me . i am trying to build on ubuntu (14.04)side
when i run
build/gyp_chromium
Updating projects from gyp files...
gyp: /home/cdm_test/chrome/src/v8/src/d8.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/third_party/webrtc/tools/tools.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/native_client/build/untrusted.gypi not found (cwd: /home/cdm_test/chrome/src) while reading includes of /home/cdm_test/chrome/src/build/common_untrusted.gypi while reading includes of /home/cdm_test/chrome/src/mojo/mojo_nacl_untrusted.gyp
gyp: Error importing pymod_do_mainmodule (grit_info): No module named grit_info
gyp: /home/cdm_test/chrome/src/third_party/libaddressinput/src/cpp/libaddressinput.gypi not found (cwd: /home/cdm_test/chrome/src) while reading includes of /home/cdm_test/chrome/src/third_party/libaddressinput/libaddressinput.gyp
gyp: /home/cdm_test/chrome/src/native_client/build/untrusted.gypi not found (cwd: /home/cdm_test/chrome/src) while reading includes of /home/cdm_test/chrome/src/build/common_untrusted.gypi while reading includes of /home/cdm_test/chrome/src/remoting/remoting_key_tester.gypi while reading includes of /home/cdm_test/chrome/src/remoting/remoting.gyp
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found
gyp: Call to 'pkg-config --libs-only-l nss | sed -e "s/-lssl3//"' returned exit status 0 while in /home/cdm_test/chrome/src/net/third_party/nss/ssl.gyp.
gyp: /home/cdm_test/chrome/src/third_party/libjpeg_turbo/libjpeg.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/v8/tools/gyp/v8.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/third_party/pdfium/samples/samples.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/third_party/ffmpeg/ffmpeg.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/third_party/WebKit/public/all.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: /home/cdm_test/chrome/src/third_party/skia/gyp/core.gypi not found (cwd: /home/cdm_test/chrome/src) while reading includes of /home/cdm_test/chrome/src/skia/skia_library.gypi while reading includes of /home/cdm_test/chrome/src/skia/skia.gyp
/bin/sh: 1: cups-config: not found
gyp: Call to 'cups-config --api-version' returned exit status 127 while in /home/cdm_test/chrome/src/printing/printing.gyp.
Package libpulse was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
gyp: Call to 'pkg-config --cflags libpulse' returned exit status 1 while in /home/cdm_test/chrome/src/media/media.gyp.
gyp: /home/cdm_test/chrome/src/third_party/angle/build/common_defines.gypi not found (cwd: /home/cdm_test/chrome/src) while reading includes of /home/cdm_test/chrome/src/gpu/gpu.gyp
gyp: Error importing pymod_do_mainmodule (grit_info): No module named grit_info
gyp: /home/cdm_test/chrome/src/third_party/icu/icu.gyp not found (cwd: /home/cdm_test/chrome/src)
gyp: Error importing pymod_do_mainmodule (grit_info): No module named grit_info
gyp: Error importing pymod_do_mainmodule (grit_info): No module named grit_info
gyp: Error importing pymod_do_mainmodule (grit_info): No module named grit_info
Kindly help me to build the chrome + OCDM.
I am stuck.
Thanks Pujari