| OLD | NEW | 
|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 import("//extensions/features/features.gni") | 5 # Currently, GuestViews are only used by extensions, so we have this | 
| 6 | 6 # assert to prevent the accidental building of GuestViews on mobile | 
| 7 assert(enable_extensions) | 7 # platforms. If you're now using GuestViews on mobile, go ahead and | 
|  | 8 # remove this assert. | 
|  | 9 assert(!is_android && !is_ios) | 
| 8 | 10 | 
| 9 static_library("browser") { | 11 static_library("browser") { | 
| 10   output_name = "guest_view_browser" | 12   output_name = "guest_view_browser" | 
| 11   sources = [ | 13   sources = [ | 
| 12     "//components/guest_view/browser/guest_view.h", | 14     "//components/guest_view/browser/guest_view.h", | 
| 13     "//components/guest_view/browser/guest_view_base.cc", | 15     "//components/guest_view/browser/guest_view_base.cc", | 
| 14     "//components/guest_view/browser/guest_view_base.h", | 16     "//components/guest_view/browser/guest_view_base.h", | 
| 15     "//components/guest_view/browser/guest_view_event.cc", | 17     "//components/guest_view/browser/guest_view_event.cc", | 
| 16     "//components/guest_view/browser/guest_view_event.h", | 18     "//components/guest_view/browser/guest_view_event.h", | 
| 17     "//components/guest_view/browser/guest_view_manager.cc", | 19     "//components/guest_view/browser/guest_view_manager.cc", | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 52 source_set("unit_tests") { | 54 source_set("unit_tests") { | 
| 53   testonly = true | 55   testonly = true | 
| 54   sources = [ | 56   sources = [ | 
| 55     "guest_view_manager_unittest.cc", | 57     "guest_view_manager_unittest.cc", | 
| 56   ] | 58   ] | 
| 57   deps = [ | 59   deps = [ | 
| 58     ":test_support", | 60     ":test_support", | 
| 59     "//testing/gtest", | 61     "//testing/gtest", | 
| 60   ] | 62   ] | 
| 61 } | 63 } | 
| OLD | NEW | 
|---|