diff options
author | Colin Cross <ccross@android.com> | 2012-06-15 13:56:18 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-06-15 17:08:48 -0700 |
commit | bea455c8e4a230cc5aedc9df33e1ba97c64cec5f (patch) | |
tree | df728643d29e66431b4d768887c55ce5bbf09e93 /media/libstagefright/include | |
parent | fea3699c6921f50f404b6285d588894cee63d85f (diff) | |
download | frameworks_av-bea455c8e4a230cc5aedc9df33e1ba97c64cec5f.zip frameworks_av-bea455c8e4a230cc5aedc9df33e1ba97c64cec5f.tar.gz frameworks_av-bea455c8e4a230cc5aedc9df33e1ba97c64cec5f.tar.bz2 |
libstagefright: dynamically load libstagefright_chromium_http
dlopen libstagefright_chromium_http to allow it to be on the platform
side of the pdk without getting overwritten during a pdk fusion build.
Change-Id: I391e81d98beab165c3313bc8a71bb370ebb8584d
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/chromium_http_stub.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media/libstagefright/include/chromium_http_stub.h b/media/libstagefright/include/chromium_http_stub.h new file mode 100644 index 0000000..869d4ac --- /dev/null +++ b/media/libstagefright/include/chromium_http_stub.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef CHROMIUM_HTTP_STUB_H_ +#define CHROMIUM_HTTP_STUB_H_ + +#include <include/HTTPBase.h> +#include <media/stagefright/DataSource.h> + +namespace android { +extern "C" { +HTTPBase *createChromiumHTTPDataSource(uint32_t flags); +DataSource *createDataUriSource(const char *uri); +} +} + +#endif |