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

Issue 2009503002: CMake: control static/shared the normal CMake way. (Closed)

Created:
4 years, 7 months ago by mtklein_C
Modified:
4 years, 7 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

CMake: control static/shared the normal CMake way. This flips the default build mode to create a static libskia. To create a shared libskia, pass -DBUILD_SHARED_LIBS=1 when running cmake. BUG=skia:5341 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2009503002 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Committed: https://skia.googlesource.com/skia/+/7dd44673e0d8f803f293ded4bc4f7d6a55d460dd

Patch Set 1 #

Patch Set 2 : both, lpthread #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -9 lines) Patch
M cmake/CMakeLists.txt View 1 2 chunks +11 lines, -7 lines 3 comments Download
M cmake/cmake_build View 1 1 chunk +11 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009503002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009503002/1
4 years, 7 months ago (2016-05-24 12:29:57 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot/builds/1686)
4 years, 7 months ago (2016-05-24 12:39:00 UTC) #5
mtklein_C
4 years, 7 months ago (2016-05-24 14:37:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009503002/20001
4 years, 7 months ago (2016-05-24 14:37:28 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 7 months ago (2016-05-24 14:37:29 UTC) #10
hal.canary
Will this break fiddle? https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt File cmake/CMakeLists.txt (right): https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt#newcode303 cmake/CMakeLists.txt:303: # skia_link_arguments.txt Should this change ...
4 years, 7 months ago (2016-05-24 14:44:51 UTC) #12
mtklein
I don't know. Where's the fiddle try bot?
4 years, 7 months ago (2016-05-24 14:47:14 UTC) #14
jcgregorio
On 2016/05/24 at 14:47:14, mtklein wrote: > I don't know. Where's the fiddle try bot? ...
4 years, 7 months ago (2016-05-24 15:09:03 UTC) #15
hal.canary
https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt File cmake/CMakeLists.txt (right): https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt#newcode303 cmake/CMakeLists.txt:303: # skia_link_arguments.txt On 2016/05/24 14:44:51, Hal Canary wrote: > ...
4 years, 7 months ago (2016-05-24 15:26:48 UTC) #16
hal.canary
https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt File cmake/CMakeLists.txt (right): https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt#newcode303 cmake/CMakeLists.txt:303: # skia_link_arguments.txt On 2016/05/24 14:44:51, Hal Canary wrote: > ...
4 years, 7 months ago (2016-05-24 15:26:49 UTC) #17
hal.canary
https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt File cmake/CMakeLists.txt (right): https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt#newcode303 cmake/CMakeLists.txt:303: # skia_link_arguments.txt This seems to work, even if it ...
4 years, 7 months ago (2016-05-24 15:44:45 UTC) #18
mtklein
On 2016/05/24 15:44:45, Hal Canary wrote: > https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt > File cmake/CMakeLists.txt (right): > > https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt#newcode303 ...
4 years, 7 months ago (2016-05-24 16:01:37 UTC) #19
hal.canary
On 2016/05/24 16:01:37, mtklein wrote: > On 2016/05/24 15:44:45, Hal Canary wrote: > > https://codereview.chromium.org/2009503002/diff/20001/cmake/CMakeLists.txt ...
4 years, 7 months ago (2016-05-24 16:22:59 UTC) #20
hal.canary
Add this: # skia_link_arguments.txt set (link_arguments ${CMAKE_BINARY_DIR}/skia_link_arguments.txt) if (BUILD_SHARED_LIBS) file (WRITE ${link_arguments} "-L${CMAKE_BINARY_DIR}\n") file (APPEND ...
4 years, 7 months ago (2016-05-24 16:23:50 UTC) #21
mtklein
I think I'd like to factor myself out of caring about fiddle. Please take a ...
4 years, 7 months ago (2016-05-24 16:28:39 UTC) #22
mtklein
I have deleted PS 3.
4 years, 7 months ago (2016-05-24 16:39:26 UTC) #24
hal.canary
lgtm
4 years, 7 months ago (2016-05-24 16:41:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009503002/20001
4 years, 7 months ago (2016-05-24 16:43:11 UTC) #27
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 16:44:08 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/7dd44673e0d8f803f293ded4bc4f7d6a55d460dd

Powered by Google App Engine
This is Rietveld 408576698