Skip to content

Commit

Permalink
Revert PPAPI change due to Linux compile failures.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64751 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
brettw@chromium.org committed Nov 2, 2010
1 parent 27c6115 commit 572b77f
Show file tree
Hide file tree
Showing 85 changed files with 226 additions and 221 deletions.
3 changes: 3 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ deps = {
"/trunk/deps/third_party/libvpx/lib@" +
Var("libvpx_revision"),

"src/third_party/ppapi":
(Var("googlecode_url") % "ppapi") + "/trunk@304",

"src/third_party/libjingle/source":
(Var("googlecode_url") % "libjingle") + "/trunk@" +
Var("libjingle_revision"),
Expand Down
2 changes: 1 addition & 1 deletion build/all.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
'../jingle/jingle.gyp:*',
'../media/media.gyp:*',
'../net/net.gyp:*',
'../ppapi/ppapi.gyp:*',
'../printing/printing.gyp:*',
'../sdch/sdch.gyp:*',
'../skia/skia.gyp:*',
Expand All @@ -41,6 +40,7 @@
'../third_party/mesa/mesa.gyp:*',
'../third_party/modp_b64/modp_b64.gyp:*',
'../third_party/npapi/npapi.gyp:*',
'../third_party/ppapi/ppapi.gyp:*',
'../third_party/ots/ots.gyp:*',
'../third_party/sqlite/sqlite.gyp:*',
'../third_party/WebKit/WebKit/chromium/WebKit.gyp:*',
Expand Down
2 changes: 1 addition & 1 deletion chrome/chrome.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,6 @@
'../ipc/ipc.gyp:*',
'../media/media.gyp:*',
'../net/net.gyp:*',
'../ppapi/ppapi.gyp:*',
'../printing/printing.gyp:*',
'../sdch/sdch.gyp:*',
'../skia/skia.gyp:*',
Expand All @@ -1639,6 +1638,7 @@
'../third_party/lzma_sdk/lzma_sdk.gyp:*',
'../third_party/modp_b64/modp_b64.gyp:*',
'../third_party/npapi/npapi.gyp:*',
'../third_party/ppapi/ppapi.gyp:*',
'../third_party/sqlite/sqlite.gyp:*',
'../third_party/zlib/zlib.gyp:*',
'../webkit/support/webkit_support.gyp:*',
Expand Down
2 changes: 1 addition & 1 deletion chrome/chrome_tests.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
# run time dependencies
'chrome_mesa',
'default_plugin/default_plugin.gyp:default_plugin',
'../ppapi/ppapi.gyp:ppapi_tests',
'../third_party/ppapi/ppapi.gyp:ppapi_tests',
'../webkit/support/webkit_support.gyp:copy_npapi_layout_test_plugin',
],
'include_dirs': [
Expand Down
1 change: 0 additions & 1 deletion chrome/renderer/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include_rules = [
"+media/ffmpeg",
"+media/filters",
"+media/video",
"+ppapi/c",
"+sandbox/src",
"+skia/include",
"+webkit/extensions",
Expand Down
2 changes: 1 addition & 1 deletion chrome/renderer/pepper_plugin_delegate_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "chrome/renderer/render_view.h"
#include "chrome/renderer/webplugin_delegate_proxy.h"
#include "grit/locale_settings.h"
#include "ppapi/c/dev/pp_video_dev.h"
#include "third_party/ppapi/c/dev/pp_video_dev.h"
#include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h"
#include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPluginContainer.h"
Expand Down
2 changes: 1 addition & 1 deletion chrome/renderer/pepper_plugin_delegate_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "base/basictypes.h"
#include "base/id_map.h"
#include "base/weak_ptr.h"
#include "ppapi/c/pp_errors.h"
#include "third_party/ppapi/c/pp_errors.h"
#include "webkit/glue/plugins/pepper_plugin_delegate.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"

Expand Down
1 change: 1 addition & 0 deletions chrome/test/ui/ppapi_uitest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class PPAPITest : public UITest {
void RunTest(const std::string& test_case) {
FilePath test_path;
PathService::Get(base::DIR_SOURCE_ROOT, &test_path);
test_path = test_path.Append(FILE_PATH_LITERAL("third_party"));
test_path = test_path.Append(FILE_PATH_LITERAL("ppapi"));
test_path = test_path.Append(FILE_PATH_LITERAL("tests"));
test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html"));
Expand Down
8 changes: 4 additions & 4 deletions gpu/demos/demos.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'type': 'static_library',
'dependencies': [
'gpu_demo_framework',
'../../ppapi/ppapi.gyp:ppapi_cpp',
'../../ppapi/ppapi.gyp:ppapi_cpp_objects'
'../../third_party/ppapi/ppapi.gyp:ppapi_cpp',
'../../third_party/ppapi/ppapi.gyp:ppapi_cpp_objects'
],
'include_dirs': [
'../..',
'../../ppapi',
'../../third_party/ppapi',
'../../third_party/gles2_book/Common/Include',
],
'sources': [
Expand All @@ -148,7 +148,7 @@
'include_dirs': [
'../../third_party',
'../../third_party/gles2_book/Common/Include',
'../../ppapi',
'../../third_party/ppapi',
'../..'
],
'run_as': {
Expand Down
5 changes: 5 additions & 0 deletions ppapi/codereview.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file is used by gcl to get repository specific information.
CODE_REVIEW_SERVER: codereview.chromium.org
CC_LIST: chromium-reviews@chromium.org
VIEW_VC: http://code.google.com/p/ppapi/source/detail?r=

5 changes: 1 addition & 4 deletions ppapi/ppapi.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
'type': 'none',
'all_dependent_settings': {
'include_dirs': [
# HOLEY (*#@$@ing #&$^@*&$^. ChromeOS depends on having
# "third_party" in the include path which the old version of this
# project did. This is a temporary hack to keep the build going.
'../third_party',
'..',
],
},
'sources': [
Expand Down
1 change: 0 additions & 1 deletion remoting/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include_rules = [
"+media/base",
"+net",
"+jingle",
"+ppapi",
"+talk",
"+third_party/npapi"
"+third_party/protobuf2",
Expand Down
6 changes: 3 additions & 3 deletions remoting/client/plugin/chromoting_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
#include "base/message_loop.h"
#include "base/string_util.h"
#include "base/thread.h"
#include "ppapi/c/pp_input_event.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/rect.h"
#include "remoting/client/client_config.h"
#include "remoting/client/client_util.h"
#include "remoting/client/chromoting_client.h"
Expand All @@ -23,6 +20,9 @@
#include "remoting/client/plugin/pepper_input_handler.h"
#include "remoting/client/plugin/pepper_view.h"
#include "remoting/jingle_glue/jingle_thread.h"
#include "third_party/ppapi/c/pp_input_event.h"
#include "third_party/ppapi/cpp/completion_callback.h"
#include "third_party/ppapi/cpp/rect.h"

namespace remoting {

Expand Down
10 changes: 5 additions & 5 deletions remoting/client/plugin/chromoting_instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

#include "base/gtest_prod_util.h"
#include "base/scoped_ptr.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_rect.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/var.h"
#include "remoting/client/client_context.h"
#include "remoting/client/host_connection.h"
#include "remoting/client/plugin/chromoting_scriptable_object.h"
#include "third_party/ppapi/c/pp_instance.h"
#include "third_party/ppapi/c/pp_rect.h"
#include "third_party/ppapi/c/pp_resource.h"
#include "third_party/ppapi/cpp/instance.h"
#include "third_party/ppapi/cpp/var.h"

class MessageLoop;
struct PP_InputEvent;
Expand Down
3 changes: 2 additions & 1 deletion remoting/client/plugin/chromoting_scriptable_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

#include "remoting/client/plugin/chromoting_scriptable_object.h"

#include "ppapi/cpp/var.h"
#include "remoting/client/client_config.h"
#include "remoting/client/plugin/chromoting_instance.h"

#include "third_party/ppapi/cpp/var.h"

using pp::Var;

namespace remoting {
Expand Down
4 changes: 2 additions & 2 deletions remoting/client/plugin/chromoting_scriptable_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#include <string>
#include <vector>

#include "ppapi/cpp/dev/scriptable_object_deprecated.h"
#include "ppapi/cpp/var.h"
#include "third_party/ppapi/cpp/dev/scriptable_object_deprecated.h"
#include "third_party/ppapi/cpp/var.h"

namespace remoting {

Expand Down
12 changes: 6 additions & 6 deletions remoting/client/plugin/pepper_entrypoints.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#include "remoting/client/plugin/pepper_entrypoints.h"

#include "base/message_loop.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/ppb_instance.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "remoting/client/plugin/chromoting_instance.h"
#include "third_party/ppapi/c/pp_errors.h"
#include "third_party/ppapi/c/pp_instance.h"
#include "third_party/ppapi/c/pp_module.h"
#include "third_party/ppapi/c/ppb_instance.h"
#include "third_party/ppapi/cpp/instance.h"
#include "third_party/ppapi/cpp/module.h"

static pp::Module* g_module_singleton = NULL;

Expand Down
4 changes: 2 additions & 2 deletions remoting/client/plugin/pepper_entrypoints.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_ENTRYPOINTS_
#define REMOTING_CLIENT_PLUGIN_PEPPER_ENTRYPOINTS_

#include "ppapi/c/pp_module.h"
#include "ppapi/c/ppb.h"
#include "third_party/ppapi/c/pp_module.h"
#include "third_party/ppapi/c/ppb.h"

namespace remoting {

Expand Down
2 changes: 1 addition & 1 deletion remoting/client/plugin/pepper_input_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "remoting/client/plugin/pepper_input_handler.h"

#include "ppapi/c/pp_input_event.h"
#include "third_party/ppapi/c/pp_input_event.h"

namespace remoting {

Expand Down
4 changes: 2 additions & 2 deletions remoting/client/plugin/pepper_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "remoting/client/plugin/pepper_util.h"

#include "base/task.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/cpp/module.h"
#include "third_party/ppapi/c/pp_completion_callback.h"
#include "third_party/ppapi/cpp/module.h"

namespace remoting {

Expand Down
2 changes: 1 addition & 1 deletion remoting/client/plugin/pepper_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "base/basictypes.h"

#include "ppapi/cpp/completion_callback.h"
#include "third_party/ppapi/cpp/completion_callback.h"

class Task;

Expand Down
8 changes: 4 additions & 4 deletions remoting/client/plugin/pepper_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#include "remoting/client/plugin/pepper_view.h"

#include "base/message_loop.h"
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/point.h"
#include "ppapi/cpp/size.h"
#include "remoting/base/tracer.h"
#include "remoting/client/client_context.h"
#include "remoting/client/plugin/chromoting_instance.h"
#include "remoting/client/plugin/pepper_util.h"
#include "third_party/ppapi/cpp/graphics_2d.h"
#include "third_party/ppapi/cpp/image_data.h"
#include "third_party/ppapi/cpp/point.h"
#include "third_party/ppapi/cpp/size.h"

namespace remoting {

Expand Down
2 changes: 1 addition & 1 deletion remoting/client/plugin/pepper_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "media/base/video_frame.h"
#include "ppapi/cpp/graphics_2d.h"
#include "remoting/client/chromoting_view.h"
#include "remoting/client/frame_consumer.h"
#include "remoting/client/rectangle_update_decoder.h"
#include "third_party/ppapi/cpp/graphics_2d.h"

namespace remoting {

Expand Down
2 changes: 1 addition & 1 deletion remoting/remoting.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
'chromoting_base',
'chromoting_client',
'chromoting_jingle_glue',
'../ppapi/ppapi.gyp:ppapi_cpp_objects',
'../third_party/ppapi/ppapi.gyp:ppapi_cpp_objects',
],
'sources': [
'client/plugin/chromoting_instance.cc',
Expand Down
2 changes: 1 addition & 1 deletion webkit/glue/plugins/DEPS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include_rules = [
"+ppapi",
"+printing",
"+third_party/ppapi/c",
]
4 changes: 2 additions & 2 deletions webkit/glue/plugins/pepper_audio.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "webkit/glue/plugins/pepper_audio.h"

#include "base/logging.h"
#include "ppapi/c/dev/ppb_audio_dev.h"
#include "ppapi/c/dev/ppb_audio_trusted_dev.h"
#include "third_party/ppapi/c/dev/ppb_audio_dev.h"
#include "third_party/ppapi/c/dev/ppb_audio_trusted_dev.h"

namespace pepper {

Expand Down
6 changes: 3 additions & 3 deletions webkit/glue/plugins/pepper_audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include "base/shared_memory.h"
#include "base/simple_thread.h"
#include "base/sync_socket.h"
#include "ppapi/c/dev/ppb_audio_dev.h"
#include "ppapi/c/dev/ppb_audio_config_dev.h"
#include "ppapi/c/dev/ppb_audio_trusted_dev.h"
#include "third_party/ppapi/c/dev/ppb_audio_dev.h"
#include "third_party/ppapi/c/dev/ppb_audio_config_dev.h"
#include "third_party/ppapi/c/dev/ppb_audio_trusted_dev.h"
#include "webkit/glue/plugins/pepper_plugin_delegate.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
#include "webkit/glue/plugins/pepper_plugin_module.h"
Expand Down
8 changes: 4 additions & 4 deletions webkit/glue/plugins/pepper_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "ppapi/c/dev/ppb_buffer_dev.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
#include "third_party/ppapi/c/dev/ppb_buffer_dev.h"
#include "third_party/ppapi/c/pp_instance.h"
#include "third_party/ppapi/c/pp_module.h"
#include "third_party/ppapi/c/pp_resource.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
#include "webkit/glue/plugins/pepper_plugin_module.h"

Expand Down
2 changes: 1 addition & 1 deletion webkit/glue/plugins/pepper_char_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <stdlib.h>

#include "base/i18n/icu_string_conversions.h"
#include "ppapi/c/dev/ppb_char_set_dev.h"
#include "third_party/ppapi/c/dev/ppb_char_set_dev.h"
#include "unicode/ucnv.h"
#include "unicode/ucnv_cb.h"
#include "unicode/ucnv_err.h"
Expand Down
8 changes: 4 additions & 4 deletions webkit/glue/plugins/pepper_cursor_control.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

#include "base/logging.h"
#include "base/ref_counted.h"
#include "ppapi/c/dev/pp_cursor_type_dev.h"
#include "ppapi/c/dev/ppb_cursor_control_dev.h"
#include "ppapi/c/pp_point.h"
#include "ppapi/c/pp_resource.h"
#include "third_party/ppapi/c/dev/pp_cursor_type_dev.h"
#include "third_party/ppapi/c/dev/ppb_cursor_control_dev.h"
#include "third_party/ppapi/c/pp_point.h"
#include "third_party/ppapi/c/pp_resource.h"
#include "webkit/glue/plugins/pepper_image_data.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
#include "webkit/glue/plugins/pepper_resource.h"
Expand Down
6 changes: 3 additions & 3 deletions webkit/glue/plugins/pepper_directory_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#include "webkit/glue/plugins/pepper_directory_reader.h"

#include "base/logging.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/dev/ppb_directory_reader_dev.h"
#include "ppapi/c/pp_errors.h"
#include "third_party/ppapi/c/pp_completion_callback.h"
#include "third_party/ppapi/c/dev/ppb_directory_reader_dev.h"
#include "third_party/ppapi/c/pp_errors.h"
#include "webkit/glue/plugins/pepper_file_ref.h"
#include "webkit/glue/plugins/pepper_resource_tracker.h"

Expand Down
2 changes: 1 addition & 1 deletion webkit/glue/plugins/pepper_error_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "webkit/glue/plugins/pepper_error_util.h"

#include "ppapi/c/pp_errors.h"
#include "third_party/ppapi/c/pp_errors.h"

namespace pepper {

Expand Down
2 changes: 1 addition & 1 deletion webkit/glue/plugins/pepper_event_conversion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "base/utf_string_conversion_utils.h"
#include "ppapi/c/pp_input_event.h"
#include "third_party/ppapi/c/pp_input_event.h"
#include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"

using WebKit::WebInputEvent;
Expand Down
Loading

0 comments on commit 572b77f

Please sign in to comment.