MpdBuilder should be able to write to File instance

Change interface of MpdBuilder so that it can write to a File instance
directly.

Change-Id: I4007deed4d0246a7c75fbc7c5aca3ece374c1224
Add hook to DEPS for pulling clang

Change-Id: I43e637467f3efd31e12b75f0a08cc05ad5a4965e
Remove "testing" from gtest/gmock include header

This is to remove dependency on Chromium directory layouts, to make it
easier for integration.

Change-Id: If23512c9e4a70462d70ff965e59339a33541746c
Use relative path for libxml and protobuf

This is to remove dependency on Chromium directory layouts, to make it
easier for integration.

Change-Id: Idcdf31a517e50a9a689794a665b3e5e7c05e6c1f
KeySource changes to support media decryption.

Renamed EncryptionKeySource and WidevineEncryptionKeySource to KeySource and
WidevineKeySource respectively.

Replaced Initialize method with FetchKeys.

Added unit tests.

content_id parameter is now binary. Specified in command line with hex string.

Change-Id: I8010ca62d036cefb3a7c105e0eefee25bbf06d61
Added Widevine and fixed key decryption.

Change-Id: Ia29ce678c0e64e886cdd92bbfda727768356fd21
Fix for decryption unit test break.

Change-Id: I4da3956f25fae2738fac9d0e3a8e8f597836d3a3
Fix for build break on build server.

Change-Id: I6aefaeb06198b3df26f96d9f14e5411b62145d3c
WVM parser and demuxer.
Change-Id: Id54f285afd617b00b7bdd077dc37898b0562a8f4
Unit test for WVM clear input.
Change-Id: I7261e927238682ac73bb564366c5e7a731b439d7
Build break fixes for issues found using clang.

Change-Id: Id9e74f03ec27b25cdac22c43394ecc0ec9007d19
Add namespace edash_packager to packager codes

For mpd codes, rename dash_packager to edash_packager; for media codes,
add namespace edash_packager.

Change-Id: I1120e6110c734cd02bdbe15f1cf7abddcdfdd7ea
Implemented AES-CBC with Ciphertext Stealing for WVM decryption.

Change-Id: I4a1ba4247bb6f055905663568699b06d7c18a968
Some misc cleanups

Put everything inside edash_packager namespace.

Change-Id: Iade763d5d3c99a4cca28975a40465459ff2ad86c
Replace u?int(8|16|32|64) with u?int(8|16|32|64)_t

u?int(8|16|32|64) are DEPRECATED per base/basictypes.h.

The change was made using the below commands with some adjustments for
pretty formatting:
> find {media,app,mpd} -name '*.proto' -prune -o -type f -exec sed -r -i
's/\b(u?int[0-9]+)\b/\1_t/g' {} \;
> git clang-format

Change-Id: I99d2e5e0fbbdbc5d7b9eb121b4622de780413f53
Clean up include files for int8_t,...int64_t

Use <stdint.h> rather than "base/basictypes.h".

This is a follow up to previous CL.

Also get rid of ku?intxx(min|max) and use std::numeric_limits as per
base/basictypes.h, it is DEPRECATED too.

The change was made using the below commands with some adjustments like
include order etc:
> find {media,app,mpd} -type f -exec sed -r -i
  's/"base\/basictypes.h"/<stdint.h>/' {} \;
> find {media,app,mpd} -type f -exec sed -r -i
  's/k(u?int[0-9]+)(min|max)/std::numeric_limits<\1_t>::\2\(\)/g' {} \;

Change-Id: I6347723989c3d66e64ffcc54123b5c182b8c71b7
Clean up include files for third_party libs

Change-Id: Ie1b48d3c22d646a58472d759963f98614a444cce
WVM media parsing - integration with Decryption.

Change-Id: I05352480ce03927dbf4f8a212bb81217260c65af
Move source code into packager directory

Make it easier to be included and integrated into other code.

Change-Id: I609881688cc20f8fac676cbd91fde4753af32ee5
Modify include headers to have "packager" in the path

This is a follow up to previous CL.

Generated using command:
find {media,app,mpd} -type f -exec sed -r -i 's/#include "(.*)"/#include
"packager\/\1"/' {} \;

common.gypi and mpd.gyp are also modified to take the path change into
consideration.

Change-Id: I1fb102b4eb73ae5fde5f4ab303a12cec09b05c33