Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: remoting/client/BUILD.gn

Issue 1806963002: Reduce APK size by disabling WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change macro name, use separate config Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//remoting/remoting_srcs.gni") 5 import("//remoting/remoting_srcs.gni")
6 6
7 source_set("client") { 7 source_set("client") {
8 # Disabled the source filters because there are _mac files that need to 8 # Disabled the source filters because there are _mac files that need to
9 # be compiled on all platforms. 9 # be compiled on all platforms.
10 set_sources_assignment_filter([]) 10 set_sources_assignment_filter([])
11 sources = rebase_path(remoting_srcs_gypi_values.remoting_client_sources, 11 sources = rebase_path(remoting_srcs_gypi_values.remoting_client_sources,
12 ".", 12 ".",
13 "//remoting") 13 "//remoting")
14 set_sources_assignment_filter(sources_assignment_filter) 14 set_sources_assignment_filter(sources_assignment_filter)
15 15
16 configs += [ 16 configs += [
17 "//build/config/compiler:wexit_time_destructors", 17 "//build/config/compiler:wexit_time_destructors",
18 "//remoting:version", 18 "//remoting:version",
19 "//remoting:webrtc",
19 ] 20 ]
20 21
21 deps = [ 22 deps = [
22 "//remoting/base", 23 "//remoting/base",
23 "//remoting/codec", 24 "//remoting/codec",
24 "//remoting/protocol", 25 "//remoting/protocol",
25 "//third_party/libyuv", 26 "//third_party/libyuv",
26 "//third_party/webrtc/modules/desktop_capture:primitives", 27 "//third_party/webrtc/modules/desktop_capture:primitives",
27 ] 28 ]
28 29
(...skipping 22 matching lines...) Expand all
51 "empty_cursor_filter_unittest.cc", 52 "empty_cursor_filter_unittest.cc",
52 "key_event_mapper_unittest.cc", 53 "key_event_mapper_unittest.cc",
53 "normalizing_input_filter_cros_unittest.cc", 54 "normalizing_input_filter_cros_unittest.cc",
54 "normalizing_input_filter_mac_unittest.cc", 55 "normalizing_input_filter_mac_unittest.cc",
55 "server_log_entry_client_unittest.cc", 56 "server_log_entry_client_unittest.cc",
56 "software_video_renderer_unittest.cc", 57 "software_video_renderer_unittest.cc",
57 "touch_input_scaler_unittest.cc", 58 "touch_input_scaler_unittest.cc",
58 ] 59 ]
59 set_sources_assignment_filter(sources_assignment_filter) 60 set_sources_assignment_filter(sources_assignment_filter)
60 61
61 configs += [ "//remoting:version" ] 62 configs += [
63 "//remoting:version",
64 "//remoting:webrtc",
65 ]
62 66
63 deps = [ 67 deps = [
64 ":client", 68 ":client",
65 "//remoting/proto", 69 "//remoting/proto",
66 "//testing/gmock", 70 "//testing/gmock",
67 "//testing/gtest", 71 "//testing/gtest",
68 "//third_party/webrtc", 72 "//third_party/webrtc",
69 ] 73 ]
70 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698