Skip to content

Commit

Permalink
Move UpdateManifest test from unit_tests into extensions_unittests.
Browse files Browse the repository at this point in the history
This test does not have any dependency on chrome/ anymore.

BUG=None
TEST=extensions_unittests --gtest_filter=ExtensionUpdateManifestTest.*
R=rdevlin.cronin@chromium.org
TBR=thestig@chromium.org # for chrome

Review URL: https://codereview.chromium.org/1234013002

Cr-Commit-Position: refs/heads/master@{#338788}
  • Loading branch information
tfarina authored and Commit bot committed Jul 15, 2015
1 parent ae5f674 commit 937f942
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion chrome/chrome_common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
'<(DEPTH)/skia/skia.gyp:skia_library',
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
'<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
'<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
'<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
Expand Down
1 change: 0 additions & 1 deletion chrome/chrome_tests_unit.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,6 @@
'common/extensions/permissions/permissions_data_unittest.cc',
'common/extensions/permissions/settings_override_permission_unittest.cc',
'common/extensions/sync_type_unittest.cc',
'common/extensions/update_manifest_unittest.cc',
'common/extensions/value_counter_unittest.cc',
'renderer/extensions/extension_localization_peer_unittest.cc',
'renderer/extensions/renderer_permissions_policy_delegate_unittest.cc',
Expand Down
1 change: 0 additions & 1 deletion chrome/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static_library("common") {
"//net",
"//skia",
"//third_party/icu",
"//third_party/libxml",
"//third_party/zlib:zip",
"//ui/resources:resources",
"//url",
Expand Down
1 change: 0 additions & 1 deletion chrome/common/extensions/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include_rules = [
"+device/usb", # For UsbDevicePermission
"+extensions/grit",
"+extensions/strings/grit",
"+libxml",
"+ppapi/c", # For various types.
"+skia",
]
Expand Down
1 change: 1 addition & 0 deletions extensions/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ test("extensions_unittests") {
"//testing/gmock",
"//testing/gtest",
"//third_party/leveldatabase",
"//third_party/libxml",
"//third_party/mojo/src/mojo/edk/js",
"//third_party/mojo/src/mojo/edk/system",
"//third_party/mojo/src/mojo/public/cpp/bindings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/memory/scoped_vector.h"
#include "extensions/common/update_manifest.h"

#include "libxml/globals.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
1 change: 1 addition & 0 deletions extensions/extensions_tests.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
'../third_party/libxml/libxml.gyp:libxml',
'../third_party/mojo/mojo_edk.gyp:mojo_js_lib',
'../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
'../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
Expand Down
1 change: 1 addition & 0 deletions extensions/extensions_tests.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
'common/url_pattern_set_unittest.cc',
'common/url_pattern_unittest.cc',
'common/user_script_unittest.cc',
'common/update_manifest_unittest.cc',
'renderer/activity_log_converter_strategy_unittest.cc',
'renderer/api/mojo_private/mojo_private_unittest.cc',
'renderer/api/serial/data_receiver_unittest.cc',
Expand Down

0 comments on commit 937f942

Please sign in to comment.