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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 643253002: [Android] Keep -O2 gfx optimizations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | ui/gfx/geometry/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 sources -= [ "screen_android.cc" ] 283 sources -= [ "screen_android.cc" ]
284 } else { 284 } else {
285 sources -= [ "path.cc" ] 285 sources -= [ "path.cc" ]
286 } 286 }
287 287
288 # TODO(GYP) re-enable when base_java exists. 288 # TODO(GYP) re-enable when base_java exists.
289 #if (!is_android_webview_build) { 289 #if (!is_android_webview_build) {
290 # deps += [ "//base:base_java" ] 290 # deps += [ "//base:base_java" ]
291 #} 291 #}
292 292
293 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
294 if (!is_debug) { 293 if (!is_debug) {
295 configs -= [ "//build/config/compiler:optimize" ] 294 configs -= [ "//build/config/compiler:optimize" ]
296 configs += [ "//build/config/compiler:optimize_max" ] 295 configs += [ "//build/config/compiler:optimize_max" ]
297 } 296 }
298 297
299 deps += [ ":gfx_jni_headers" ] 298 deps += [ ":gfx_jni_headers" ]
300 libs = [ 299 libs = [
301 "android", 300 "android",
302 "jnigraphics", 301 "jnigraphics",
303 ] 302 ]
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 if (is_android) { 562 if (is_android) {
564 generate_jni("gfx_jni_headers") { 563 generate_jni("gfx_jni_headers") {
565 sources = [ 564 sources = [
566 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 565 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
567 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 566 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
568 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 567 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
569 ] 568 ]
570 jni_package = "gfx" 569 jni_package = "gfx"
571 } 570 }
572 } 571 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/geometry/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698