OLD | NEW |
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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 group("service") { | 8 group("service") { |
9 if (is_component_build) { | 9 if (is_component_build) { |
10 public_deps = [ | 10 public_deps = [ |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 if (is_mac) { | 154 if (is_mac) { |
155 # Required by gles2_cmd_decoder.cc on Mac. | 155 # Required by gles2_cmd_decoder.cc on Mac. |
156 libs = [ | 156 libs = [ |
157 "IOSurface.framework", | 157 "IOSurface.framework", |
158 "OpenGL.framework", | 158 "OpenGL.framework", |
159 ] | 159 ] |
160 } | 160 } |
161 | 161 |
162 if (is_android && !is_debug) { | 162 if (is_android && !is_debug) { |
163 # On Android optimize more since this component can be a bottleneck. | 163 # On Android optimize more since this component can be a bottleneck. |
164 configs -= [ "//build/config/compiler:optimize" ] | 164 configs -= [ "//build/config/compiler:default_optimization" ] |
165 configs += [ "//build/config/compiler:optimize_max" ] | 165 configs += [ "//build/config/compiler:optimize_max" ] |
166 } | 166 } |
167 } | 167 } |
168 | 168 |
169 proto_library("disk_cache_proto") { | 169 proto_library("disk_cache_proto") { |
170 sources = [ | 170 sources = [ |
171 "disk_cache_proto.proto", | 171 "disk_cache_proto.proto", |
172 ] | 172 ] |
173 } | 173 } |
OLD | NEW |